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
View gist:b7a468c7d2514087d609285041eb8344
### Keybase proof
I hereby claim:
* I am srobbin on github.
* I am srobbin (https://keybase.io/srobbin) on keybase.
* I have a public key ASDcyTCB8mdVL-Jl1rVpKa5zKsUbZiZc9OWhf7cUdPCupwo
To claim this, I am signing this object:
@srobbin
srobbin / million-dollar.yml
Created Nov 13, 2014
Million Dollar YAML
View million-dollar.yml
-
coords: "630,310,640,320"
href: "http://www.getpixel.net"
title: "getpixel.net, stock photography"
-
coords: "850,50,860,60"
href: "http://www.mynewbritain.com"
title: "MyNewBritain.com"
-
coords: "390,280,420,310"
View gist:6612855bdc53becae704
require 'mechanize'
require 'csv'
require 'net/http'
count = 1
site = "http://apps.fcc.gov"
last_id = 6018081653
agent = Mechanize.new
allowed_fields = [
'Proceeding Number:',
View gist:de25b66c72cef96eb9d1
/*
* Flower - jQuery plugin for pie menus
*
* Author: Aza Raskin
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
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 keybase.md

Keybase proof

I hereby claim:

  • I am srobbin on github.
  • I am srobbin (https://keybase.io/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:

@srobbin
srobbin / gist:6893837
Created Oct 8, 2013
A quick workaround for Backstretch on iOS7
View gist:6893837
if (navigator.userAgent.match(/(iPad|iPhone);.*CPU.*OS 7_\d/i)) {
$("body").css({
"background": "url(path/to/image.jpg) center center no-repeat",
"background-size": "cover"
});
} else {
$.backstretch("path/to/image.jpg");
}
@srobbin
srobbin / gist:5990740
Created Jul 13, 2013
Semantic markup for The Starter League
View gist:5990740
<html>
<head>
<title>The Starter League</title>
</head>
<body>
<header>
<nav>
<a href="#">FAQ</a>
<a href="#">Blog</a>
<a href="https://twitter.com/starterleague">@StarterLeague</a>
@srobbin
srobbin / styles.css
Created Apr 18, 2013
A simple CSS tooltip
View styles.css
section {
font-family: Helvetica, sans-serif;
width: 960px;
margin: 50px auto 0 auto;
}
.tooltip {
display: none;
position: absolute;
background: black;
@srobbin
srobbin / index.html
Created Mar 19, 2013
jQuery Plugin Workshop Dropdown menu
View index.html
<h2>Dropdown Menu</h2>
<div class="dropdown">
<a data-toggle="dropdown" href="#">Dropdown</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
You can’t perform that action at this time.