Tech Blog Using technology to help your business


Getting Ionic framework running on Ubuntu

Very frustrating when it appears that Ionic setup is as simple as to get a helloworld running. But I received all kinds of errors when following those simple instructions. Primarily, there were Cordova dependencies that were missing and are not installed if you only follow Ionic instructions.

So here they are. After installing cordova and ionic

sudo npm install -g cordova

sudo npm install -g ionic

Install ADT

Unzip to somewhere that makes sense for you on your home dir

Add paths

edit your .bashrc and add this to the bottom

export PATH=$PATH:/[path to adt]/adt-bundle/sdk/platform-tools:/[path to adt]/adt-bundle/sdk/tools

Save your .bashrc then run

source ~/.bashrc

Then install ant

sudo apt-get install ant

Then create a AVD

android create avd -n <name> -t <targetID>

you can list targets to see what you have available

android list targets

Now that everything else is installed and an AVD is created, you can continue with the Ionic instructions.

$ cd myApp
$ ionic platform android
$ ionic emulate android
$ ionic run android <-- still getting an error on this one


Tagged as: , , No Comments

Google Chrome Voice Search Extension Memory Leak

Screenshot from 2013-12-11 16:57:26This was observed on Ubuntu 12.04 where just opening Chrome without going to any pages would see memory start to get eaten up. The cpu usage would go way up as well. The culprit was the Google Voice Search Hotword Extension. If you go to upper right three horizontal bars -> Tools -> Extensions and disable that extension, everything is solved.

Filed under: linux, ubuntu No Comments

Design In NYC Wayfinding


Interesting design principles such as matching icon element widths and corner radii with fonts. Lots of thought went into creating this design system.

Filed under: design No Comments


Some interesting paintings for inspiration. metzalli

Filed under: Uncategorized No Comments

Get Electricity Usage Analytics Like The Utility Companies

Ever wanted to track how much electricity a device at home is using over time? Here is a nice DIY for doing just that. It does require a bit of soldering but not much.

Filed under: Uncategorized No Comments

Bitbucket brightens my day from the github pricing gloom

I've been using github for a while now and honestly, it rocks. It really beats the heck out of the dinosaur, svn. However, the pricing for private repos on github is just something I had a hard time justifying. I have been running my own svn server for quite a while and it does not create additional cost to me. Plus, I can have unlimited number of private repos and of course because I can, I do. So in order to switch to github and shutdown my svn server, I would have to pay $50/month since I have more than 20 projects.

Alas, I have found what I'm looking for. Bitbucket. It is also git, although you can use mercurial too, but I just prefer git. It has all the niceties of github like integrated issue tracking, ease of collaboration, and of course all the good stuff of git. But the pricing is very different. They take the route that if you don't have many contributors to a project, then it is too small charge. So they allow you to have private repos for free up to 5 users. After that, you need to start paying. That makes a lot more sense to me since after that, you are definitely running a legitimate business and should pull your weight. Before that, they are considered play projects or incubator projects. Oh, and you can have unlimited number of free private projects.

Time to say goodbye to my svn server.

Filed under: cloud No Comments

Laravel, another php framework to explore

Laravel is a framework in the same class as Codeigniter. However, at first glance it implements a couple of annoying missing features I've waited a longtime for CI to add but have yet to do it: full unit-testing and ORM. For ORM, there have been many third party addons/sparks that would add the functionality but not from base install. Unit testing is a much bigger problem in CI. There is no good way to integrate php-unit or simpletest to test your code. So we are left trying to unit test with the joke implementation of unit testing library from CI.

I'm hoping Laravel will prove to be as amazing as what people have been raving about in the blogsphere. Can't wait to give it a shot.


Future of web components using X-Tags

This is something I have to start using instead of JQuery widgets. Seems to be better encapsulated for cleaning end usage.

Filed under: web UI No Comments

Solving httpd MaxClients and mod_status stuck

Solving httpd MaxClients and mod_status stuck.

This article really demystifies how php sessions should and should not be used. Especially if you are using a lot of AJAX within a page and they all use session, being efficient with closing sessions immediately after you're done is a must.

Filed under: apache, php No Comments

Kelli Anderson Designs


Came across this via a TED talk. I especially like the paper folding project she made as a holiday card.

Filed under: design No Comments
Plugin from the creators of Brindes :: More at Plulz Wordpress Plugins