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
for (i=0; i < (totalDigits-n.length); i++) | |
{ | |
pd += '0'; | |
} |
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
$ git clone https://github.com/[your github username]/heroku-buildpack-nodejs.git |
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 onload () { | |
$('.typekit-badge').attr({src: '/img/typekit_colophon.svg'}); | |
console.log($('.typekit-badge').attr('src')); | |
} | |
try{Typekit.load({active: onload});}catch(e){} |
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
class Animal | |
constructor: (@name) -> | |
move: (meters) -> | |
alert @name + " moved #{meters}m." | |
class Snake extends Animal | |
move: -> | |
alert "Slithering..." | |
super 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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
watch: { | |
scripts: { | |
files: '<config:coffee.compile.files>', | |
tasks: 'coffee' | |
} | |
}, |
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
tell application "/Applications/Google Chrome.app" | |
make new window | |
activate | |
end tell |
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
/* topdoc | |
name: Button | |
description: A simple button | |
modifiers: | |
:active: Active state | |
:disabled: Disabled state | |
markup: | |
<a class="topcoat-button">Button</a> | |
<a class="topcoat-button is-active">Button</a> | |
<a class="topcoat-button is-disabled">Button</a> |
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
authors: | |
garthdb: | |
display_name: Garth Braithwaite | |
gravatar: b5cf6e112eeee572d722743dea924487 | |
email: [email protected] | |
web: http://www.garthdb.com/ | |
twitter: garthdb | |
github: garthdb | |
bio: 'Engineer at Adobe working on <a href="http://www.topcoat.io">Topcoat</a>.' | |
test: |
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
body { | |
font 14px/1.5 Helvetica, arial, sans-serif; | |
#logo { | |
border-radius: 5px | |
} | |
} | |
#content | |
content 'colons are for newbs' | |
totes: true |
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
tell application "Google Chrome" | |
activate | |
set theUrl to "http://tycho.usno.navy.mil/cgi-bin/timer.pl" | |
if (count every window) = 0 then | |
make new window | |
end if | |
set found to false | |
set theTabIndex to -1 |