I hereby claim:
- I am chrismatheson on github.
- I am chrismatheson (https://keybase.io/chrismatheson) on keybase.
- I have a public key ASA2q1K-TzmPJXB0t6TgkpwWv8K1eoytVWQVIPGRYXPZpAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** "TypeDef" lib */ | |
function Obj<T>(a: T): T { | |
return undefined; | |
} | |
function Str(): string { | |
return undefined; | |
} | |
function Optional<T>(a: T) { |
<html> | |
<head> | |
<link rel="import" href="/path/to/imports/site-header.html"> | |
<style type="test/less"> | |
@base: #f938ab; | |
@import "theme.less"; | |
form { | |
background-color: @base; | |
} |
I hereby claim:
To claim this, I am signing this object:
Verifying I am +chrismatheson on my passcard. https://onename.com/chrismatheson |
var ben, chris, dan, eddie; | |
ben = [blue, green, yellow, purple, red]; | |
chris = [blue, green, black, white, indigo]; | |
dan = [orange, violet, brown, pink, turquoise]; | |
eddie = [pink, green, sand, grey, crap]; | |
desired results |
function findCurrentScript() { | |
var results = $('script').map(function (i, elm) { | |
var src = $(elm).attr('src') || ''; | |
return /iv-widget\.js/.test(src) ? src : undefined; | |
}).get(); | |
switch (results.length) { | |
case 0: |
function version(prefix) { | |
'use strict'; | |
var stream = require('stream').Transform({objectMode: true}), | |
path = require('path'); | |
stream._transform = function(chunk, enc, next) { | |
if (chunk.isNull()) { | |
this.push(chunk); | |
return next(); |
gulp.task('deploy-staging', ['timestamp', 'build'], function(){ | |
'use strict'; | |
var build_sha = process.env.build_sha || '', | |
blobService = azure.createBlobService(), | |
container = 'staging', | |
stagingCssNames = {}, | |
stagingCssLocations = _.map(build.css, function(css){ | |
stagingCssNames[css] = 'static/' + build_sha + css; | |
return 'dist/static/' + css; |
function azureUpload(opts) { | |
var blobService = azure.createBlobService(), | |
containerName = opts.container; | |
console.log('setting container: ' + containerName); | |
blobService.createContainerIfNotExists(containerName, {publicAccessLevel : 'blob'}, function(error){ | |
}); | |
//create a writeable stream |