gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
I hereby claim:
- I am daniellmb on github.
- I am daniellamb (https://keybase.io/daniellamb) on keybase.
- I have a public key whose fingerprint is BA5A C5A0 1FFA 602E FF54 DC4C 98AF D67C 1302 1D2A
To claim this, I am signing this object:
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($) { | |
var result = $('#result'); | |
var base = $('#base'); | |
var list = $('#list'); | |
$('#calc').click(function() { | |
var baseVal = base.val(); | |
var px = list.val().split(','); | |
var html = []; | |
$.each(px, function(i, v) { | |
var px = parseInt(v); |
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
/* unobtrusively style deep-linking heading anchors */ | |
.anchor { | |
color: gray; | |
display: inline-block; | |
margin-left: -1rem; | |
opacity: 0; | |
padding-right: 0.1rem; | |
-webkit-transition: opacity cubic-bezier(0,1,.35,.96) 1s; | |
-moz-transition: opacity cubic-bezier(0,1,.35,.96) 1s; | |
-ms-transition: opacity cubic-bezier(0,1,.35,.96) 1s; |
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
window.onerror = function(message) { | |
top.location.href = 'http://stackoverflow.com/search?q=' + | |
encodeURIComponent(message + ' [js]'); | |
}; |
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
'wowConvertCamelcaseToHyphencaseInJustSeventyBytes'.replace(/([a-zA-Z])(?=[A-Z])/g, '$1-').toLowerCase(); |
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
# "File-fatal" errors - these errors stop further parsing of a single file | |
FILE_NOT_FOUND = -1 | |
FILE_DOES_NOT_PARSE = -2 | |
# Spacing | |
EXTRA_SPACE = 1 | |
MISSING_SPACE = 2 | |
EXTRA_LINE = 3 | |
MISSING_LINE = 4 | |
ILLEGAL_TAB = 5 |
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(['Modernizr'], function( Modernizr ) { | |
// native yield support. | |
Modernizr.addTest('yield', (function(){try{yield;}catch(e){}}())!==undefined); | |
}); |
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 inherit = (function () { | |
var proxy = function () {}; | |
return function (child, parent) { | |
proxy.prototype = parent.prototype; | |
child.prototype = new proxy(); | |
child._super = parent.prototype; | |
child.prototype.constructor = child; | |
} | |
}()); |