using dependency injection on #titanium #alloy #TiDev

I've seen a few articles saying that using Ti.App.fireEvent everywhere is not a good practice. The solution is to use the $.trigger widget method instead. That's OK. Global events are evil! I think that the real question is not if global events are good or evil. For me…

What the f*** is wrong with tek people ( the 10 sins )

So I said that I was going to write about tek people and so I will. By tek people I mean everyone that works with computer software. From System Administrators, Software Engineers, Software Architects to CTOs! The truth about us is (the 10 sins) We have a false sensation of…

#nodejs grunt-http-server@1.0.0

New version of grunt-http-server released to NPM with the following changes: Fix default server extension ( ext attribute ) Set major version number 1.0.0 npm install grunt-http-server Oscar.…

unsafely powering off a #raspberrypi

It has been one year since I started administrating my portable network, where the following raspberries have main roles. stargate is Access Point, DNS, DHCP, VPN, Iptables theark is media center, samba share and download manager source is GIT server, Jenkins and node.js test server What happens is that…

#titanium #appcelerator testing with ti.mocha

I've recently start working with titanium building native mobile applications. Titanium provides you a javascript framework that is wired to native code and more important to native UI controls, trying this way to reduce the UI lag that you normally see on mobile browser application built using angular, ember, vanilla…

#nodejs ghost init.d service with forever.js

This post is a continuation of the last post where the migration from Blogger to Ghost was described. After getting the ghost files on the hosting Linux machine you can run ghost by typing: node index.js This will run node on the port 2368. The next step is to…

From blogger to #nodejs ghost @tryghost

It took a few hours (~4) but I've manage to migrate this blog from Blogger to a ghost instance hosted on digital cloud. The content migration was a little tricky and took 3 steps: Create Wordpress instance on digitalcloud and import the blogger content. Installed Ghost plugin in wordpress and…

#javascript #nodejs grunt-http-server v0.0.5 released

Before I go on an one week holidays I've updated the 'grunt-http-server' NPM package to version 0.0.5. This new version allow dynamic configuration of the server port specified by a function. grunt.initConfig({ 'http-server': { 'dev': { // the server root directory root: , port: 8282, // port: function() { return 8282; } host: "127…

#nodejs opensubtitles-client / subtitler v1.1.4 #npm release #javascript

This weekend opensutitles-client and subtitler command line utility were updated to version 1.1.4. This release included the following features:Fix bug on file hash computationReduce the size of the NPM packageAdded code examples to the repositoryAs usual, everyone is invited to use, suggest, fork and contribute…

#javascript Require.js vs CommonJS / AMD modules and #angularjs

I recently replied to the following twitter conversation about require.js vs browserify.@cowboy i'm using amd to create reusable code beetwen server and client and i like it. My main problem is integrating with angular, etc— Oscar Brito (@aetheon) March 15, 2014@aetheon @cowboy look up the angular di…