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 ...
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 ...
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 ...
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 ...
Event handling with custom components in Vue.js
If you've been working with Vue.js lately and developing custom components to build your apps you might come across how to communicate from child component to parent. There are couple of scenarios here. Immediate parent child components If you want i ...
One reason why you should refactor your code often
Once upon a time, a consultant made a visit to a development project. The consultant looked at some of the code that had been written; there was a class hierarchy at the center of the system. As he wandered through the hierarchy, the consultant saw t ...
Using Response.Redirect in try…catch block
Use overload Response.Redirect(String url, bool endResponse) if using in try catch block.
REST Web Services calls with C#
It's really easy to call REST based web services from C#.Net. Let's see how to do it. We'll be calling Yahoo Web Services as an example here. Make REST Calls With C# The .NET Framework provides classes for performing HTTP requests. This HOWTO descr ...