Skip to content

Instantly share code, notes, and snippets.

@jdeagle
jdeagle / gist:4003501
Created November 2, 2012 18:46 — forked from doctyper/gist:1644192
Just some animation SCSS mixins.
@mixin animation($animation, $animation-2: none, $animation-3: none) {
@each $prefix in webkit, moz, ms {
#{""}-#{$prefix}-animation: $animation, $animation-2, $animation-3;
}
}
@mixin animation-name($name) {
@include experimental(animation-name, $name);
}
@jdeagle
jdeagle / % Shortcut to Placeholder.tmSnippet
Created October 26, 2012 18:25 — forked from doctyper/% Shortcut to Placeholder.tmSnippet
Placeholder Shortcut for Sublime Text 2 / TextMate
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>@extend %$0;</string>
<key>name</key>
<string>% Shortcut to Placeholder</string>
<key>scope</key>
<string>source.scss</string>
@jdeagle
jdeagle / gist:3734855
Created September 16, 2012 23:47 — forked from doctyper/gist:3718320
Uninstall all NPM modules
npm list -g | awk '/@/ {print $2}' | grep '@' | awk -F@ '{print $1}' | xargs npm -g uninstall
@jdeagle
jdeagle / gist:3179261
Created July 25, 2012 23:07 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@jdeagle
jdeagle / LazySusan.as
Created July 16, 2012 23:13 — forked from rynbyjn/LazySusan.as
AS3 LazySusan/Carousel class for moving objects around a circle with pseudo 3D
package com.boyajian.ui
{
import com.greensock.TweenLite;
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;