Tech Blog Using technology to help your business

28Feb/140

Getting Ionic framework running on Ubuntu

Very frustrating when it appears that Ionic setup is as simple as http://ionicframework.com/getting-started/ 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

http://developer.android.com/sdk/index.html#download

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
11Dec/130

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
1Jul/130

Design In NYC Wayfinding

DOT_blog_130619-4-copyhttp://new.pentagram.com/2013/06/new-work-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
29Apr/130

Metzalli

Some interesting paintings for inspiration. http://www.metzalli.com/paintings.html metzalli

Filed under: Uncategorized No Comments
15Apr/130

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.

http://www.element14.com/community/groups/raspberry-pi/blog/2013/04/05/raspiwatt-discover-power-consumption-using-a-kill-a-watt-pi?et_cid=22582622&et_rid=3848540&Linkid=http%3a%2f%2fwww.element14.com%2fcommunity%2fgroups%2fraspberry-pi%2fblog%2f2013%2f04%2f05%2fraspiwatt-discover-power-consumption-using-a-kill-a-watt-pi&CMP=EMC-22582622

Filed under: Uncategorized No Comments
20Jan/130

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
3Dec/120

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.

29Nov/120

Future of web components using X-Tags

https://air.mozilla.org/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
16Mar/120

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
12Mar/120

Kelli Anderson Designs

Kelli.:.Anderson.

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