Using Underscore.string for String Manipulations in JavaScript

Underscore.string is an excellent string manipulation library (or helper) for Javascript that can be used with or without the nifty Underscore.js library. It can be used client side in browsers or server side with Node.js.

Continue reading “Using Underscore.string for String Manipulations in JavaScript”

Using the Node.js Bcrypt Module to Hash and Safely Store Passwords

Using bcrypt is the proper way to store passwords in your database regardless of whatever language your backend is built in – PHP, Ruby, Python, Node.js, etc. Why ? Here’s the answer.

Continue reading “Using the Node.js Bcrypt Module to Hash and Safely Store Passwords”

Using CoffeeScript over JavaScript in your Node.js Application or Module

If you’ve wanted to code your next Node.js app in CoffeeScript then it ain’t that hard. Since coffeescript is just a little language that compiles down to javascript it is pretty much compatible with node.js. Let’s take a look at some of the ways in which you can execute your node.js script (written in coffeescript).

Continue reading “Using CoffeeScript over JavaScript in your Node.js Application or Module”

Remote Web App JavaScript Debugging with JSConsole.com

jsconsole web app/page debugging

I’ve written a few posts on remote debugging before, using edge inspect and weinre. They’re definitely very good at the problem they try to solve but today I came across a new Javascript-only remote debugging tool (mobiles, desktops, laptops, etc.) called JSConsole and am loving it! It’s pretty amazing for what it does and is trivial to setup.

Continue reading “Remote Web App JavaScript Debugging with JSConsole.com”

Using Adobe Edge Inspect for Cross-Device Web Page Debugging and Synchronized Browsing

Using Adobe Edge Inspect you can inspect your webpages (like you do in chrome dev tools) across various remote devices (mobiles, tablets, etc.). You basically connect multiple iOS or Android devices to your computer wirelessly (this happens via adobe’s servers). Then all you do is browser in your Chrome and those devices will stay in sync, i.e., open/refresh the webpage that you’re viewing in chrome. You can then fire up an inspecting tool (in your computer) to inspect html, css and do a lot more (like dev tools) in those devices. The inspection is done via weinre.
Continue reading “Using Adobe Edge Inspect for Cross-Device Web Page Debugging and Synchronized Browsing”