Routes are the entry points to a Laravel application. There are two route files available in Laravel 8 by default. These are web.php and api.php. If required one can create custom route file in Laravel easily. In this article I…
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 run migrations by schema name in Laravel
Migrations are like version control for your database, allowing your team to define and share the application’s database schema definition. Typically, migrations will use Schema facade to create and modify database tables and columns – Laravel Documentation In general, one…
How to Install Let’s Encrypt (Certbot) on Ubuntu 20.04
Certbot is a command line tool for managing Let’s Encrypt SSL certificates on Linux operating system. It may allow you to request install free SSL certificate on your website domain. It also performs the authorization and configure your web server…
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…
ec2-user, apache and WordPress user:group permissions on Amazon Linux 2
There is a very (in)famous permissions glitch or settings if you host your WordPress website on Amazon Linux instance. If you keep user:group permissions to default ec2-user:apache then you are able to login to sftp and download upload files just…
Searching array elements with regex in Mongodb collection
Mongodb works Javascript way. Every mongodb collection is a JSON object containing all kinds of Javascript objects such as boolean, arrays, objects and strings. In this example I am saving two different fields to my categories collection. searchableName – for…
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…