Skip to content

Instantly share code, notes, and snippets.

View cjstewart88's full-sized avatar

Cody Stewart cjstewart88

View GitHub Profile
@cjstewart88
cjstewart88 / .sass-lint.yaml
Created September 5, 2016 13:43
CallRail's Sass Lint Config
options:
formatter: stylish
files:
include: 'src/scss/**/*.s+(a|c)ss'
rules:
# Extends
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 2
@cjstewart88
cjstewart88 / gist:3943364
Created October 24, 2012 02:28
Social Coding Reference

Social Coding Reference

Use Cases

  1. New employee joins the company and is told to learn Ruby on Rails. Senior developer says, "Hey man, check out these references appname.com/myusername/ror."
  2. New grad attending a user group looking for advice on specializing in frontend development. A seasoned pro tells the newbie to take a look at his appname.com profile, because he happens to be a frontend specialist.
  3. Always have a quick go to place for the best references about the stuff you care about.

How It Works

  1. Create an account and tag yourself with the languages you enjoy or use daily.
  2. Add your favorite guides/references, these will require one of your tags.
@cjstewart88
cjstewart88 / gist:3943363
Created October 24, 2012 02:28
social coding reference

social coding reference

Use Cases

  1. New employee joins the company and is told to learn Ruby on Rails. Senior developer says, "Hey man, check out these references appname.com/myusername/ror."
  2. New grad attending a user group looking for advice on specializing in frontend development. A seasoned pro tells the newbie to take a look at his appname.com profile, because he happens to be a frontend specialist.
  3. Always have a quick go to place for the best references about the stuff you care about.

How It Works

  1. Create an account and tag yourself with the languages you enjoy or use daily.
  2. Add your favorite guides/references, these will require one of your tags.
Add your gw2 username to the comments.
1 Red Hot Chili Peppers Slane Castle 98.88.125.226 2011-08-06 04:30:08.551568 2011-08-06 04:30:08.551568 just
2 Band of Horses 98.88.125.226 2011-08-06 04:32:39.952915 2011-08-06 04:32:39.952915 similar
3 Bob Marley 98.88.125.226 2011-08-06 04:32:52.01826 2011-08-06 04:32:52.01826 similar
4 Dave Matthews 98.88.125.226 2011-08-06 04:50:15.250253 2011-08-06 04:50:15.250253 just
5 Dave Matthews 98.88.125.226 2011-08-06 04:50:24.302708 2011-08-06 04:50:24.302708 similar
6 Aerosmith 24.108.192.108 2011-08-06 06:50:02.806309 2011-08-06 06:50:02.806309 just
7 dubstep 24.108.192.108 2011-08-06 06:50:27.415116 2011-08-06 06:50:27.415116 just
8 wilco 94.13.19.95 2011-08-06 09:46:47.011951 2011-08-06 09:46:47.011951 similar
9 wilco 94.13.19.95 2011-08-06 09:47:01.265368 2011-08-06 09:47:01.265368 similar
10 Dave Matthews 98.88.129.142 2011-08-06 11:25:24.088559 2011-08-06 11:25:24.088559 just
@cjstewart88
cjstewart88 / gist:1226492
Created September 19, 2011 13:28
Client
(function() {
var socket = io.connect(null);
var realm = document.getElementById("realm");
var realm_context = realm.getContext('2d');
var clients = {};
var myClientId = 0;
socket.on('connect', function () {
@cjstewart88
cjstewart88 / gist:1226475
Created September 19, 2011 13:22
server
var express = require('express');
var io = require('socket.io');
var redis = require("redis");
var url = require("url");
var server = express.createServer();
var port = process.env.PORT || 3000;
server.configure(function() {
server.set('view engine', 'html');