Quantcast
Channel: Tools & Tips – Code Theory
Browsing all 90 articles
Browse latest View live

Remote Mobile Web Application Debugging with Weinre

Weinre (WEb INspector REmote) – pronounced as ‘winery’ – is an excellent tool that reuses the code from the webkit web inspector to allow remote webpage debugging (basically what firebug or chrome dev...

View Article



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

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...

View Article

Remote Web App JavaScript Debugging with JSConsole.com

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...

View Article

Run CoffeeScript Node.js Apps on Heroku

If you’ve written your Node.js app in coffeescript entirely and at the time of deploying on Heroku wondering how heroku would execute your coffee code, then here’s the simple process that you need to...

View Article

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...

View Article


Strategies for Select Dropdown Lists Placeholder

HTML5 brings us the placeholder attribute using which we can set default text on an input field or a textarea that goes away when you focus in the field and then write something. What about...

View Article

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. So how do we go...

View Article

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...

View Article


MongoDB Pretty Print Result Objects in Mongo Interactive Shell

This is just a mongodb quick tip in regards to printing the result sets with proper formatting in the mongo interactive shell. Usually when you select documents in a collection using find() in the...

View Article


Using Node Version Manager (NVM) to Manage Multiple Node.js Versions

Node Version Manager (NVM) is a neat little bash script that allows you to manage multiple versions of Node.js on the same box. A version manager really helps to test our applications under different...

View Article

JavaScript Control Input Field Caret Position or Move to End in Textboxes and...

Long title, but then I felt like specifying parts of what I’ll be covering in this post. Anyway, so I’ll start by a not-so-common issue that some of us have encountered, which is, how to move the input...

View Article

List of Webkit CSS Properties for Mobiles

Just thought of making a list of -webkit (Chrome, Safari) css properties that mostly affects mobile user experience – iOS, Android, etc. -webkit-overflow-scrolling Ever wanted to mimic the native style...

View Article

Browser-Side Node.js Style Modules require() and exports with Browserify

Browserify is an excellent tool that lets you use CommonJS modules right in the browser by bundling them up into a single large file. If you are well acquainted with Node and it’s way of loading...

View Article


Serve Your JavaScript Files Bundled using Browserify with Node Enchilada

If you’re using Browserify to bundle assets in an Express or Connect application then you may want to consider using node-enchilada middleware to faciliate your bundling process. Installation Install...

View Article

Quick Tip: Node.js Open URL in User’s Preferred Application/Browser

Using the node-open module you can open files or URLs in the user’s preferred application. For example this piece code will open CSSDeck in the user’s default browser (for me it’s Google Chrome) - You...

View Article


Fast Automatic Browserify Bundling with Beefy

If you’re a browserify user, then beefy might help you bundle your JavaScript file automatically. It is a command line tool that runs a local node server which accepts a path to the JS file (with all...

View Article

Binary and Red Black Search Tree Implementation in JavaScript

I’m not going to dive deep into what Binary Search Tree is because this tutorial and Wikipedia does an excellent job at that. Instead I’ll mostly dicuss about a neat JS implementation that I came...

View Article


Simple and Lightweight JavaScript Table/Grid/List Sorter

This is more of a snippet extracted from one of my recent projects where I had to sort a list/grid of div’s. Yeah, I didn’t use tables for tabular data this time, but plain divs, although this snippet...

View Article

Quick Tip: Fixing Locale Warnings/Notices Issues on Linux Server (or Desktop)

Some locale issues (errors, warnings or notices) might bug you on a linux box (in my case Ubuntu) when executing various commands: $ schroot terminate called after throwing an instance of...

View Article

Export your Issues and Wikis from Github Repo and Import to Bitbucket...

I just migrated a private repository from github to bitbucket. In this process, moving the entire codebase is not enough especially when you have hundreds of issues and lots of wikis – you need to keep...

View Article
Browsing all 90 articles
Browse latest View live




Latest Images