Working Remotely

September 28, 2017

As a developer, I am lucky that I get to work from home as needed. But I have never been 100% remote; Lately, I have been reading a lot about working remotely, remote first companies, Digital Nomad lifestyle etc. This is compilation of various resources that I have found useful so far: The Ultimate Guide to Working Remotely – I haven’t gone through whole guide yet but so far it has been very informative. ... Read more

Upgrading to PHP 7.0 on Ubuntu 14

September 22, 2017

I upgraded PHP to version 7.0 on Ubuntu box. Running php -v on shell would show it as version 7.0. But Apache was still using PHP 5.6. I tried various methods to update settings for Apache but nothing worked until I issued following commands: <br /> sudo a2dismod php5.6<br /> sudo a2enmod php7.0<br /> sudo service apache2 restart<br /> Source: PHP 7.0 (and 5.6) on Ubuntu | LornaJane

Digital Gold by Nathaniel Popper

September 20, 2017

Just finished reading Digital Gold by Nathaniel Popper (Affiliate Link). The book is about Bitcoin and how it started. I have been hearing about Bitcoins and Cryptocurrencies since 2011. It seemed like it was not real money. It was only recently with surge in Bitcoin value that I got interested in it. I was still skeptical of Bitcoin and the whole idea behind it. But after reading this book, I am coming around. ... Read more

Setting Up Laravel on MacOS

August 19, 2017

After 3 years, I am using Laravel again at work. Laravel has extensive documentation but sometimes it can be a bit verbose. Here are command to get you started as soon as possible. This assumes pretty much fresh install of MacOS. Install Homebrew Check the official site for latest command /usr/bin/ruby -e "$(curl -fsSL" Install PHP 7.1 brew install homebrew/php/php7 Install MariaDB brew install mariadb Set MariaDB to start as service at the end of installation. ... Read more

The E-Myth Revisited by Michael E. Gerber

August 18, 2017

One of my goal with this new blog is to organize my thoughts and knowledge. The E-Myth Revisited by Michael Gerber is a recent book I listened. So I will start with it. My biggest takeaway from this book was that most people start business to create a job for themselves. For example, a person who enjoys baking may start a cake shop. The problem with this approach is that one is working in the business, not on it. ... Read more


August 17, 2017

Without understanding, I had enabled HSTS on with option includeSubDomains. I had a subdomain that was used as “Custom Domain” to SmugMug site. After enabling HSTS, these subdomains started to throw NET::ERR_CERT_COMMON_NAME_INVALID. The fix is of course simple, don’t use includeSubDomains. But that opens up your top level domain to man in middle attacks. For now, I decided to follow the best practices and leave includeSubDomains enabled. And decided to not use custom domain for my SmugMug site. ... Read more


August 16, 2017

Summary I am a Software Engineer with over 10 years of professional experience. I am based in Dallas Texas. I use mostly PHP, Laravel, and Golang Keyword Languages: PHP, Golang, Java, Javascript, SQL, PL/SQL, HTML, CSS, Shell Scripts. Databases: MySQL, Oracle, MS SQL Server. Frameworks: Laravel, Zend Framework, CodeIgniter, Magento. Version Control: Git, Subversion (SVN), Harvest. System Administration: Unix (AIX), Linux (CentOS, Ubuntu). Servers: Apache, Nginx. Methodologies: Test Driven Development (TDD), Agile/Scrum Development. ... Read more


August 16, 2017

Hi, Thank you for visiting my blog. I mostly blog about programming related topics. I absolutely enjoy photography & videography and sometimes blog about them too. My favorite programming language is PHP. Yes it is not cool but I am really productive in it. I have been playing with Golang, Java, and Javascript. But nothing beats PHP for me. Laravel and Lumen are my new favorite frameworks. I live in Dallas with my wife, our son, and our dog. ... Read more

Error: xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory is a command line tools instance

March 19, 2017

I have been playing with Cordova lately and was getting this error when building iOS version: Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory is a command line tools instance Even full install of Xcode didn’t fix this error. The solution was to run following command to use full Xcode instead of command line tools version that I had installed earlier: sudo xcode-select --switch /Applications/

© 2017 Amer Khalid