View coffelint.js
1 2 3 4 5 6 7 8 9 10
/**
* CoffeeScript Compiler v1.9.1
* http://coffeescript.org
*
* Copyright 2011, Jeremy Ashkenas
* Released under the MIT License
*/
(function(root) {
var CoffeeScript = function() {
function require(path){ return require[path]; }
View coffee-script.js
1 2 3 4 5 6 7 8 9 10
/**
* CoffeeScript Compiler v1.9.1
* http://coffeescript.org
*
* Copyright 2011, Jeremy Ashkenas
* Released under the MIT License
*/
(function(root) {
var CoffeeScript = function() {
function require(e) {
View compile.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
 
set -e
 
cd /tmp
git clone https://github.com/josh/thttpd.git
cd thttpd/
git checkout c56fe037846dd060f0c289fd471cf0df226fbc4b
 
./configure
View git-audit-log
1 2 3 4 5 6 7 8
#!/bin/bash
#/ Usage: git audit-log <seek_offset>
set -e
 
[ -z "$GIT_DIR" ] && GIT_DIR=$(git rev-parse --git-dir)
audit_log="$GIT_DIR/audit_log"
# TODO: Acquire FLOCK
dd if=$audit_log bs=1 skip=$1 2>/dev/null
View analytics.diff
1 2 3 4 5 6 7 8 9 10
diff --git analytics.js analytics.js
index ea010f4..b4a045d 100644
--- a/analytics.js
+++ b/analytics.js
@@ -1001,14 +1001,6 @@
return a.hid = a.hid || hd()
};
var ad, bd = function(a, b, c) {
- if (!ad) {
- var d;
View gist:c2bb5b9548bc30d4a9df
1 2 3 4 5 6 7 8 9 10
public async IObservable<int> takeStream(IObservable<int> enum, int count)
{
int i = 0;
foreach (int x in enum)
{
Task<int> task = somethingAsync(x);
int y = await task;
yield y;
View observable-from-stream.js
1 2 3 4 5 6 7 8 9 10
// ES7 Observables + WHATWG Streams
//
// https://github.com/jhusain/asyncgenerator
// https://github.com/whatwg/streams
//
// Continuation from file:
// https://github.com/jhusain/asyncgenerator/blob/master/src/observable.js
 
Observable.fromStream = function(readable) {
return new Observable(function(generator) {
View anim.es6
1 2 3 4 5 6 7 8 9
async function chainAnimationsAsync(elem, animations) {
var ret = null;
try {
for (var anim in animations) {
ret = await anim(elem);
}
} catch(e) { /* ignore and keep going */ }
return ret;
}
Something went wrong with that request. Please try again.