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
require "formula" | |
class Globalplatform < Formula | |
homepage "http://sourceforge.net/p/globalplatform/wiki/Home/" | |
url "https://downloads.sourceforge.net/project/globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Library%206.0.0/globalplatform-6.0.0.tar.gz" | |
sha1 "5a08bec4cbcc8caffa7c646a35600712f468553c" | |
resource "gppcscconnectionplugin" do | |
url "https://downloads.sourceforge.net/project/globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Library%206.0.0/gppcscconnectionplugin-1.1.0.tar.gz" | |
sha1 "38eb3d739f1b75ba954f09a928a6e9db0178ea53" |
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 hook in "Scripts/git-hooks/$hook_name"*; do | |
if [ ! -z "$VERBOSE" ]; then | |
printf %s\\n ' - "'"$hook"'" ...' >&2 ;fi | |
# ... | |
done |
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
#!/usr/bin/python | |
# | |
# webreceipts job-id user title copies options pdf-file | |
# | |
import os | |
import shutil | |
import sys | |
from AppKit import * | |
from datetime import date |
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 raven = require('raven') | |
, Promise = require('bluebird') | |
, requestAsync = require('request-promise') | |
var redis = Promise.promisifyAll(require('redis').createClient()) | |
var languages = JSON.parse(require('fs').readFileSync(__dirname + '/languages.json')).languages | |
Promise.all(languages.map(function(language){ | |
return redis.setAsync('lang:'+language.tag+':name', language.name) |
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
return redis.smembersAsync('langs') | |
.then(function(languages){ | |
// I need to call `articleExists('foo', language)` for each member of `languages`. | |
// `articleExists` returns a promise; if it does, indeed, exist, then the promise resolves to | |
// the result I need (a name.) | |
// if the article does *not* exist, then the promise returned by `articleExists` is rejected, | |
// and I need to move on to the next element of `languages` | |
} |
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
{{#outer}} | |
123 456 | |
{{/outer}} |
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
; "Windows" key? What's that shit? | |
RCtrl::RWin | |
RWin::RCtrl | |
LCtrl::LWin | |
LWin::LCtrl | |
; vim-lover | |
Capslock::Esc |
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 set(x){return "(function(y){"+x+"=y})"} | |
var a = 123 | |
eval(set("a"))(456) | |
console.log(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
foo bar (widget dongle) | |
baz mud | |
wibble wobble | |
spaz | |
-- or -- | |
[foo bar (widget dongle); baz mud] wibble wobble; spaz |
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
Paws.js output | |
[devyn] Paws.rs - ~/Projects/ELLIOTTCABLE/Paws.js/Executables/paws.js test-branch.paws | |
Hello, world | |
Hello, world | |
Hello, world | |
Hello, world | |
~ Paws loves you. Bye! 💖 | |
Paws.rs output |