A Pen by Jesper Birkestrøm on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bootstrapState = { | |
current: null, | |
last: null | |
}; | |
_.extend(bootstrapState, Backbone.Events); | |
(function () { | |
var last; | |
function findState() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* TODO: Optimize the MQ's logic to produce one statement. | |
*/ | |
@mixin breakpoint($point, $media: all) { | |
@if index($point, "xs") != null { | |
@media only #{$media} and (max-width: #{$screen-xs-max}) { | |
@content; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function debug($list) { | |
$result: #{"[ "}; | |
@each $item in $list { | |
@if length($item) > 1 { | |
$result: $result#{debug($item)}; | |
} | |
@else { | |
$result: $result#{$item}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function () { | |
function Gomo(options, callback) { | |
if (typeof options === 'function') { | |
callback = options; | |
options = {}; | |
} | |
var duration = options.duration || 500; | |
var easing = this.easing[options.easing || 'easeInOut']; | |
var start = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# This program is designed to GPG sign a .dsc and .changes file pair | |
# in the form needed for a legal Debian upload. It is based in part | |
# on dpkg-buildpackage. It takes one argument: the name of the | |
# .changes file. | |
# Debian GNU/Linux debsign. Copyright (C) 1999 Julian Gilbey. | |
# Modifications to work with GPG by Joseph Carter and Julian Gilbey | |
# Modifications for OS X command-line utils (C) 2013 Mikhail Gusarov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script will mount /Users in the boot2docker VM using NFS (instead of the | |
# default vboxsf). It's probably not a good idea to run it while there are | |
# Docker containers running in boot2docker. | |
# | |
# Usage: sudo ./boot2docker-use-nfs.sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Asana wide | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://app.asana.com/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fix Asana broken links | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Fixing Asana again | |
// @author Jesper Birkestrøm | |
// @match https://app.asana.com/* | |
// @grant none | |
// ==/UserScript== |
OlderNewer