Nowadays it is a must-have skill to use docker for your development. To start the development with docker here are some prerequisites: If you're on Windows you have WSL installed on your system. It will also be required for Docker. You have D ...
How To Develop Cloud-based Fullstack Application From Scratch?
So, from today we are going to start developing a personal finance system from the ground up where we can track our expenses, income, get an idea of where our money goes, have a birds-eye view of our financial status, and generate some statistical r ...
var vs const vs let in JavaScript
When programming in JavaScript, developers have three main options for declaring variables: var, let, and const. Each of these options has its own advantages and use cases, and understanding the differences between them is crucial to writing efficie ...
Awesome list of FREE tools Startups should be using
This is a curated list of free tools for everything from productivity to hosting to development tools to designing. These tools are all digital i.e., either app, online service, or downloadable software. Most of them are either free or have limited ...
How to undo the last git commit?
There are situations where you just committed a change in git and just after that realized you made a mistake in the last commit. If you haven’t pushed that code then the last local changes can be undone with this command.
Why database should be taught before programming in universities?
Learn Database before Coding Often students from the initial semester ask me how do we store our data in our programming projects? When students join university to learn about computer science and technology they are usually taught programming fi ...
Creating Git branch in detached HEAD State
Recently, I came across a situation where I checked out a git branch and it showed me this message related to detached HEAD state: You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can d ...
Missing Hibernate option in Windows 10/11 Power Options?
Is Hibernate option missing from the Power Options in the Control Panel like in the screenshot below? Here is a way to restore the missing Hibernate option back to the Power Options. How to fix it? Click the Cortana Search box on your t ...
Google Chrome: How to change the look & feel?
This is a quick post about how to change the look & feel of the Google Chrome browser. Just open a new tab and browse to: chrome://flags/#top-chrome-md There you will see different options. Each option has a different UI. The refresh option i ...
Mounting NFS Share on Windows 10 & 11 with Write Access
It is easy to mount a drive from Linux NFS share on Windows 10 & 11 machines. To do that make sure you have NFS Client (Services for NFS) installed from Programs and Features. Following is the command to mount the NFS drive. Note that this comman ...
Mark parent category menu active on single custom post view in WordPress
Recently I developed a theme for one of my clients and I had to highlight the menu item of the parent category in the main menu when one of its associated single custom posts was viewed. For that, I had to add an action in my functions.php file for n ...
Why we moved from OpenShift to Google Cloud
The good old days When OpenShift was in its version 1 it was great from the customer's point of view with a low budget. OpenShift v1 had free offers to deploy apps and add a custom domain to it. There was no SSL support but it could be handled via th ...
Codenvy and BitBucket Integration
OK, this post is a quick one about BitBucket integration. Let's go! In your Codenvy workspace go to Profile > Preferences > SSH > VCS and generate a key and give it the name bitbucket.org. This will generate a key for you. Copy this key by ...
Displaying Multiline Title in WordPress
In WordPress when the title is written it is usually displayed in a single line on front-end until it is too long to display in one line. But if you want to write the title in multiline and want to line break the title after a certain word how can yo ...
Different color for each menu item in WordPress
In a recent project, I got a requirement that each menu item should be highlighted in a different color when visited. The menu items and their required active colors were: Home - Green Portfolio - Blue Team - Yellow Contact - Red These colo ...
Rollover image – Change image on hover/mouse over
Often when designing websites static or dynamic, PHP or ASP.Net, Laravel or WordPress, you have to design in a way that if the user hovers an image it gets changed and an alternate image is displayed. This can be easily achieved via simple HTML event ...
Sharing data between Laravel and Angular
When building applications with Laravel and Angular you might come across a problem where you want to print data using AngularJS brackets {{}} but before it can be parsed by Angular, Laravel blade engine parses it and tries to replace the value if it ...
Laravel: Specified key was too long error on migration
When you install a new Laravel project with 'laravel new' and run the migration that comes with it you might get the following error: #php artisan migrate Migration table created successfully. SQLSTATE: Syntax error or access violation: 1071 Spe ...
How to start E-commerce business in Pakistan? Part-1
It is very impressive how Pakistan is progressing in the field of IT, telecom and broadband penetration. Pakistan’s e-commerce market is growing tremendously and presents great opportunities for everyone. Pakistan’s broadband penetration has grown to ...
Setup CodeIgniter Docker container for development
Docker Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated conta ...
Setup Laravel with Docker containers
Docker Docker has captured my attention lately and has been growing exponentially for last few years. Docker has revolutionized the virtualization space and has given DevOps engineers and developers a new set of tools that can ease their development ...
How to use wildcard domain with OpenShift hosting?
If you have a domain name and want to use OpenShift for hosting then using a wildcard domain name is a bit tricky with some domain registrars like GoDaddy. The reason is IP address of the app on OpenShift doesn't remain the same and to use the wildca ...
Visual Studio 2017 is coming in March
Microsoft has announced that Visual Studio 2017 will be available for download on Tuesday, March 7, 2017. Microsoft is also celebrating a launch event. You can join at 8:00 AM PST on March 7th and 8th for a two-day online event celebrating the launch ...
How To: Offline access to Vue.js documentation
If you are working with Vue.js Javascript framework to build your next generation web apps then you might be frequently visiting the Vue.js guide section (https://vuejs.org/v2/guide/) to see how certain things work in Vue.js. Most of the time you go ...