code on the rocks please


Build a RESTful API Using Node and Express 4

With the release of Express 4.0 just a few days ago, lots of our Node apps will have some changes in how they handle routing. With the changes in the Express Router, we have more flexibility in how we can…


Learn to Use the New Router in ExpressJS 4.0

With the new ExpressJS 4.0 just being released last week, there are many changes that have come with it. These changes will affect how we build Node and MEAN stack apps in the future. Since Express has a such a…

Bar Talk

A Simple Guide to Getting Started With Grunt

During our web development workflows, there are many tasks that we have to repeat. These are tasks things like minifying JavaScript and CSS files, unit testing, linting your files to check for errors, compiling CSS preprocessor files (LESS, SASS), and…

Bar Talk

Designing a RESTful web API

Everybody provides API’s these days. Some of the most popular ones are Facebook, Twitter, Github, Stripe and the list goes on. So you need to build an API for your website, maybe you need to provide data to a mobile app you’re working on, or maybe…

Bar Talk

The Complete Visual Guide to Sublime Text 3: Plugins Part 2

Less2Css  Official Resource If you don’t already know, Less is a JavaScript based CSS pre-processor. In short, it’s code that can be compiled into CSS. The code has added features like variables, functions, mixins, etc., and it follows a…

Bar Talk

The Complete Visual Guide to Sublime Text 3: Plugins Part 1

Third-Party Plugins We already have a good post that covers a ton of the awesome plugins that Sublime Text 3 has here. We’ll go over some of these again, some in more detail, and then some new ones that we…

Bar Talk

Redesigning Our Site: Goals and Improvements

This past week, Scotch went through a massive site upgrade where we designed the entire site from the ground up. Barely any of the code from the old theme was used and we wanted a fresh start. Overview Today, I…


How to Setup GitLab: A Self Hosted GitHub

Okay — GitLab isn’t really your own self-hosted GitHub. I don’t believe GitLab or GitHub share any relationship besides both being Git Management Software, but it’s the best way I find to describe in laymen terms what GitLab is….


Scraping the Web With Node.js

Before web based API’s became the prominent way of sharing data between services we had web scraping. Web scraping is a technique in data extraction where you pull information from websites. There are many ways this can be accomplished. It…

Bar Talk

Get Beautiful Syntax Highlighting For Your Website Code

For websites like ours, code blocks and pre tags are necessities. Making these code blocks look good and function well is a big part of having your tutorial or example understood and easily digestable by your users. We’ve been asked…

Bar Talk

The Complete Visual Guide to Sublime Text 3: Themes, Color Schemes, and Cool Features

Themes and Color Schemes So quickly to explain the difference between a theme and a color scheme: A theme will be everything from the color of your sidebar, tabs, and things like that. A color scheme references only to the…


AngularJS Routing Using UI-Router

AngularJS provides a great way to make single page applications. When creating single page applications, routing will be very important. We want our navigation to feel like a normal site and still not have our site refresh. We’ve already gone…

Bar Talk

ExpressJS 4.0: New Features and Upgrading from 3.0

ExpressJS is one of the most well known packages for Node.js. It is a web development framework that helps us create the great applications. It is also the E in the MEAN stack (MongoDB, ExpressJS, AngularJS, Node.js). Just a few…


How To Use ngShow and ngHide

Today we’ll be looking at how we can use Angular’s ngShow and ngHide directives to do exactly what the directives sound like they do, show and hide! What They Do ngShow and ngHide allow us to display or hide different…

Bar Talk

The Complete Visual Guide to Sublime Text 3: Getting Started and Keyboard Shortcuts

Intro Sublime Text 3 is a blast to develop with. We’ve gotten a ton of feeback since our last article that Chris shared. These posts are intended to be a sequel to that, with all your feedback collected, and some…