code on the rocks please

restful-api-node-express-4-router
Javascript

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…

using-the-express-4-router
Javascript

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…

simple-guide-getting-started-with-grunt
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…

webapi
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…

plugins2
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…

plugins1
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…

redesigning-our-site-goals-improvements
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…

gitlab
Tutorials

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

node-js-web-scraping-cheerio-request
Javascript

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…

syntax-highlighting-prismjs
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…

themes
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…

angular-routing-ui-router
Javascript

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…

node-express-upgrading-3-4
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…

angular-ngshow-nghide
Javascript

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…

getting-started-shortcuts
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…