Skip to content

Instantly share code, notes, and snippets.

Scott Robbin srobbin

Block or report user

Report or block srobbin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am srobbin on github.
  • I am srobbin ( on keybase.
  • I have a public key whose fingerprint is BE65 F562 65A2 A60D BEE3 C113 8897 358A 156F B0C0

To claim this, I am signing this object:

View gist:c853ae38065c271c107f
notes.factory('Notes', function($resource) {
return $resource('/notes/:id.json', {id: '@id'});
notes.factory('UserNotes', function($resource) {
return $resource('/user/:user_id/notes/:note_id.json', {user_id: '@user_id', note_id: '@note_id'});
UserNote.query({user_id: 3})
UserNote.get({user_id: 3, note_id: 1})
View gist:de25b66c72cef96eb9d1
* Flower - jQuery plugin for pie menus
* Author: Aza Raskin
* Dual licensed under the MIT and GPL licenses:
View gist:6612855bdc53becae704
require 'mechanize'
require 'csv'
require 'net/http'
count = 1
site = ""
last_id = 6018081653
agent =
allowed_fields = [
'Proceeding Number:',
srobbin / million-dollar.yml
Created Nov 13, 2014
Million Dollar YAML
View million-dollar.yml
coords: "630,310,640,320"
href: ""
title: ", stock photography"
coords: "850,50,860,60"
href: ""
title: ""
coords: "390,280,420,310"
View Setup Expression Engine (new install)
Performs the basic setup instructions for a new Expression Engine install
as outlined here:
One parameter: if you'd like to rename the system folder (recommended, but optional)
View gist:294957
var images = [ "/path/to/image1.jpg",
randNum = Math.floor( Math.random() * images.length );
$.backstretch( images[randNum] );
View gist:430515
<!-- Typical script include -->
<script src="/_scripts/file1.js"></script>
<script src="/_scripts/file2.js"></script>
<script src="/_scripts/file2.js"></script>
<!-- Using Minify, it becomes this -->
<!-- -->
<script src="/_min/b=_scripts&f=file1.js,file2.js,file.js"></script>
View gist:430563
<!-- Google-hosted jQuery -->
<script src=""></script>
View .htaccess
# Add to your .htaccess file
FileETag none
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/ico A2592000
ExpiresByType text/css A2592000
You can’t perform that action at this time.