-
How my tech opinions changed over time
Openness to Change in Web and Mobile Development Change is inevitable, and I acknowledge my own occasional stubbornness and resistance to new ideas. It’s important to be receptive to suggestions, to seek improvement, and to correct oneself when necessary. In this article, I want to explore how some of my previously steadfast opinions in the…
-
NPM not working after installing yarn – MacOS Sierra
I was getting the following error when trying to use NPM after installing yarn. To fix this need to reinstate npm with yarn. Following command will do the trick. yarn global add npm
-
Regular Expressions – validating the Email
How to validate an email address with following rules using regular expressions? There should one @ sign in the email address. The email should start with a letter and can include letters and numbers and underscore symbol _ . This constitutes the left hand side of the email from the @ sign. Right hand side…
-
Git Work Flow for Remote Teams
When your working with a remote team maintaining a good workflow is essential to ensure that projects are delivered properly and code base is managed without many conflicts. This is mostly from our own workflow where the team lead is based in one country and the team members are on a another country working remotely…
-
How to be a Freelance WordPress Developer
Hi there! :), your here and I hope your interested in earning money by doing freelance work. A little bit about me before we get started, I was a freelance developer for more than 3 years and I designed (some) and developed more than 40 websites. My customers were from different countries including Sri Lanka,…
-
PHP Tip : Access object properties dynamically
If you want to pass a string into a function and use that string as the property of an object to get the value of that property you can use the following syntax. The part that you need to note here is, the parameter is surrounded by two Curly brackets like,
-
Conflicts when syncing branch with master on bitbucket
If you get a conflict when syncing the branch with the master. First checkout the branch on your local machine and then run the following command to merge the changes from master. Then manually resolve the conflicts before committing and pushing again.
-
Vagrant on Windows 10 error when you run Vagrant up
I got Vagrant and Virtual Box running on my laptop running WIndows 10 without an issue. But when I tried to get a vagrant box up it started giving the following error, To fix this I followed these steps, Went to VirtualBox window and, Open VirtuaBox Go to File->Preferences->Network->Host-only Networks Create Manually a new adapater…
-
Laravel enable foundation validation
If your using Laravel and also using foundation for your front end development there is an easy way to add Foundation’s built in form validation (Abide) to a form. When opening the form tag use the following code,