Skip to content

Instantly share code, notes, and snippets.

Sean O seanodotcom

  • Just Outside Philly
Block or report user

Report or block seanodotcom

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
@seanodotcom
seanodotcom / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@seanodotcom
seanodotcom / sublimetext-glyphicon.snippet
Last active Dec 22, 2015
Sublime Text Snippet for quickly adding glyphicons (Bootstrap 3)
View sublimetext-glyphicon.snippet
<snippet>
<content><![CDATA[
<span class="glyphicon glyphicon-$1"></span> $2
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>glyph</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
View double-click shocker
// "shock" users when they double-click links
// by Sean-O.com
$('a').dblclick(function(){
var t = 40; // duration
$('p')
.animate({ marginLeft: '-=10' }, t)
.animate({ marginLeft: '+=10' }, t)
.animate({ marginLeft: '-=10' }, t)
.animate({ marginLeft: '+=10' }, t)
.animate({ marginLeft: '-=10' }, t)
You can’t perform that action at this time.