This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.find-cards form a.button').click -> | |
$this = $ this | |
$this.addClass('active').siblings().removeClass 'active' | |
$('.types').removeClass('personal business student').addClass($this.data('type')) | |
$('#type').val $this.data('slug') | |
false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------------------------------------------------------- | |
// Imports | |
@import compass/css3 | |
// ---------------------------------------------------------------------- | |
// Colors | |
$gray: #979c9e | |
$blue: #4f95bf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -type f -print | xargs file | grep text | cut -f1 -d: | while read i | |
do | |
flip -u $i | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
files = Dir['**/*.{htm,html,shtml,php,css,js}'] | |
images = Dir['**/*.{jpg,png,gif,bmp}'] | |
puts "#{images.size} images found & #{files.size} files found to search against" | |
content = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var System = require('sys'); | |
var WebSocket = require('../lib/websocket').WebSocket; | |
var Connection = require('../lib/connection').Connection; | |
var Connections = {}; | |
var | |
Client = Connection; | |
Client.prototype.onmessage = function(data) { | |
var data = JSON.parse(data); |