All pages in the Ubuntu category

Golang Hot Code Reloading

Developing golang code with automatic hot reloading on Ubuntu

Saturday Jan 10, 2015 — 3 minute read — 631 words

When developing server code in Go, it can be a bit of a pain to compile and restart the servers constantly. While some frameworks do this for you automatically, you may not be using such a framework. Then what? Thankfully, the solution is quite simple. It should only take a few minutes to get up and running with this, and all your future hacking on Golang powered servers will be a lot easier.

Read More

NodeJS Package Conflicts on Ubuntu 14.04

Fixing issues with installing Cordova command-line tools on Ubuntu

Wednesday Jul 16, 2014 — 1 minute read — 157 words

If you’re developing with Cordova/PhoneGap/Ionic apps on the Ubuntu platform, chances are you’re using the cordova-cli package. For a while now, the nodejs and nodejs-legacy packages have collided around a singe man file. Unfortunately, the simple file collision can break the entire package manager and make it difficult to update anything. Add dkpg --force-overwrite Flag The solution is very simple. Just add the dkpg --force-overwrite flag to your apt-get commands. So this: sudo apt-get install cordova-cli becomes: sudo apt-get -o Dpkg::Options::="--force-overwrite" install cordova-cli Of course, you probably don’t want to type that all the time.

Read More

Installing APC and Xdebug on Ubuntu 14.04 LTS (Trusty Tahr)

Get up and running with APC and Xdebug in the latest stable version of Ubuntu

Monday Jun 30, 2014 — 2 minute read — 323 words

Installing APC and/or Xdebug for PHP on Ubuntu 14.04 isn’t hard, but requires knowing a few small bits of information, particularly if you’re planning on using Xdebug with command-line PHP scripts. Install Xdebug If You Don’t Need Xdebug on CLI If you need Xdebug only through Apache, installing it is as simple as: sudo apt-get install php5-xdebug If you need Xdebug on the command-line (CLI) then it’s a bit more work, since it’s Xdebug on the command-line via the php5-xdebug package is disabled.

Read More