In this post I will show you an example of laravel carbon get yesterday date. With help of Carbon library in Laravel we can get yesterday date in desired format. With the help of this example one can easily get…
Category: Miscelleneous
How to Change Default iOS Simulator Device to run a React Native app
When testing a react native mobile application one would want to view and debug application in different screen sizes and devices. It is essential to test your application for rendering, look and feel, performance and responsiveness. For this developers use…
How to Remove .DS_Store files from a Git repository?
DS_Store files are automatically created by Mac OS X Finder in browsed directories. These files contain information about system configuration. If you upload them along with other files, the files can be misused to obtain information about your computer. For…
How to change search highlight or selection colour in Sublime Text 3
Sublime Text 3 is very popular and widely used code editor. I have been using it for a while now and am quite enjoying it. The good thing is this that it is free to use, except, having a buy…
Transfer files via ssh from your server to Dropbox
Server to Dropbox – Sometime it is tedious to download files from your server and then uploading to your dropbox via sync since it takes long time. In this post I will show you how you can quickly transfer files to…
Making new object property reactive in Vue.js
The link given below shows us the example of using mutations and actions and Vuex store https://www.telerik.com/blogs/so-what-actually-is-vue-set for simpler examples if you are not sure what they are. Problem: We have a “databases” array which is updated via mutation and…
How to prevent hotlinking on Nginx and Apache
Hotlinking is bad – It could be quite annoying and concerning when someone copies full link to a media source such as an image or video on your website and uses that link to embed an image or video on…
How to run URL from cronjob at specific time in Linux
Cron allows Linux users to run commands or scripts at a given date and time. Here I’m going to explain how to setup cron job in Linux in which you want to run URL at specific date-time. Each user has…
Traversing through Elements using jQuery
jQuery is a very powerful tool that provides various traversing methods to select the element randomly and sequentially. With jQuery selecting and finding an element becomes very easy. But at times, we may wish to improve the selection and when…
Get Started with Vi Editor
Vi editor is a command line text editor. It’s a single window with text input and output only. It is the most popular and classic text editor in the Linux and it is available in all Linux Distributions. There are…