Rockycode - rockycode.com - rockycode.com: all articles
General Information:
Latest News:
Connect NodeJS to Oracle--say what!? 30 Aug 2012 | 07:28 pm
I know what you're thinking--why would you want to use Oracle for your node backend when you have perfectly good options like mongo and the like. You know the old saying: "When in Rome, etc.". The bus...
BusterJs with RequireJs/Backbone 26 Jul 2012 | 04:42 am
BusterJs is a still-in-beta library that allows for testing your Javascript. It's got a wealth of cool features. The browser capturing is awesome for running your Javascript directly in the browsers y...
Pipe stdout to SocketIO 21 Jul 2012 | 03:32 am
When you run a shell script or some other process from NodeJs and want to get the output in a stream to a client, you can redirect or pipe the output from the process that originally outputs to stdout...
Run a Shell Script from NodeJs 21 Jul 2012 | 02:58 am
NodeJs can do many things. It can even run things that it can't do itself. For instance, I have a shell script that I don't want to rewrite in Javascript, so I want my Node app to run the shell script...
Setup Public/Private Key 20 Jul 2012 | 04:14 am
When you connect to a remote server, you're connecting over ssh or scp or a similar protocol. In each case, you may have to provide some authentication credentials to prove you are who you say you are...
Dynamically Require Optimized Modules in RequireJs 12 Jul 2012 | 10:36 pm
Often when building a single-page app, you'll want to optimize all your js into a single asset. RequireJs is a great mechanism for managing your js dependencies. It also comes with a great build tool ...
Using Mobile Profiles in Sencha Touch 2 6 Jul 2012 | 10:12 pm
The days of writing one version of an application are pretty much gone. Most likely you want to have your app run on a desktop and various mobile devices. Having said that, there are ways to make your...
Find and Kill a Process on a Port 20 Jun 2012 | 11:49 pm
Have you ever tried to start up a local dev server and attach it to a port only to find that the port says it's already in use. Here's a quick way to find those zombies and kill 'em good.
Cross-Domain RequireJs Text 8 Jun 2012 | 03:11 am
Through long-available browser quirks/features, javascript has been available for requests across disparate domains. But, other resources, such as text files (eg, handlebars templates) have had more r...
Serve a Directory 7 Jun 2012 | 04:14 am
Don't you hate developing a blasted simple webpage that does some asynchronous requests that gets you into cross-origin policy trouble. If you just read a `.html` file off the file system, this will b...