Namespacing in Javascript

Why bother with namespaces in javascript?
– You get cleaner and more clear code.

It is more clear what “object” or “task” the function and variables belongs to.
Avoids global function conflicts, my function named Calculate() might conflict with another function inside some js file that has been loaded before my js file.

This is one way of doing it, which I personally prefer:

Another way is this (enclose in sub braces)

Read even more about it here

jQuery plugin: Tablesorter 2.0

tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell. It has many useful features including:

Multi-column sorting

Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily

Support secondary “hidden” sorting (e.g., maintain alphabetical sort when sorting on other criteria)

Extensibility via widget system

Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+

Small code size

via jQuery plugin: Tablesorter 2.0.

Visual Studio SQL Server Data Tools

Microsoft SQL Server Data Tools …

…provides an integrated environment for database developers to carry out all their database design work for any SQL Server platform (both on and off premise) within Visual Studio. Database developers can use the SQL Server Object Explorer in VS to easily create or edit database objects and data, or execute queries.

Developers will also appreciate the familiar VS tools we bring to database development, specifically; code navigation, IntelliSense, language support that parallels what is available for C# and VB, platform-specific validation, debugging and declarative editing in the TSQL Editor, as well as a visual Table Designer for both database projects and online database instances.

via SQL Server Data Tools.

iMacros – avoiding repetitive form filling work to test a website form

Do you ever fill in a form with the same values again and again and sit and wait for the website to load so you can test the outcome?

Try this macro recorder addon for Chrome and Firefox:

iMacros for Chrome

iMacros for Firefox

works excellent, although the save buttons can be hard to hit sometimes.
You can easily edit the recording steps as well.