Skip to content

Instantly share code, notes, and snippets.

View iamapunkmonkey's full-sized avatar
🦥

Zach Breman iamapunkmonkey

🦥
View GitHub Profile
@jeremyckahn
jeremyckahn / stylie-data-format.json
Last active August 29, 2015 14:12
The JSON format for Stylie localStorage data.
{
"savedAnimations": {
"__transientAnimation": {
"actorModel": {
"transformPropertyCollection": [
{
"x": 50,
"y": 489,
"millisecond": 0,
"isCentered": true,
@chrisortman
chrisortman / ImportedFilePathResolver.cs
Created March 8, 2012 19:48
ASP.NET Optimization Minifiers
public class ImportedFilePathResolver : IPathResolver
{
private string currentFileDirectory;
private string currentFilePath;
/// <summary>
/// Initializes a new instance of the <see cref="ImportedFilePathResolver"/> class.
/// </summary>
/// <param name="currentFilePath">The path to the currently processed file.</param>
public ImportedFilePathResolver(string currentFilePath)
@davist11
davist11 / Fancy File Inputs.js
Created October 25, 2010 21:32
Fancy File Inputs
var SITE = SITE || {};
SITE.fileInputs = function() {
var $this = $(this),
$val = $this.val(),
valArray = $val.split('\\'),
newVal = valArray[valArray.length-1],
$button = $this.siblings('.button'),
$fakeFile = $this.siblings('.file-holder');
if(newVal !== '') {