This file contains hidden or 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
# `construct()` comes from: | |
# https://github.com/elliottcable/Paws.js/blob/84c75de3ec6f829501bfdc9d0d6e472b31ed7d9a/Source/utilities.coffee#L39-L47 | |
Label: class Label extends Thing | |
constructor: (string) -> | |
it = construct this | |
super.apply(it) | |
it.alien = new String string | |
it.alien.native = this |
This file contains hidden or 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 mongoose = require('mongoose'), | |
Schema = mongoose.Schema; | |
var userSchema = mongoose.Schema({ | |
name : String, | |
surname : String, | |
}); | |
var User = mongoose.model('User', userSchema); |
This file contains hidden or 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
#!/bin/bash | |
OTP=$1 | |
owner=$2 | |
repo=$3 | |
user=CHANGEME | |
curl -H "X-GitHub-OTP: $OTP" -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @irc.json |
This file contains hidden or 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
browserify = require 'browserify' | |
coffeeify = require 'coffeeify' | |
glob = require 'glob' | |
fs = require 'fs' | |
task 'compile:client', "bundle JavaScript through Browserify", (options) -> | |
bundle = browserify() | |
#watch: options.watch # FIXME: Lost in 1.0 -> 2.0 | |
#cache: true # FIXME: Lost in 1.0 -> 2.0 | |
#exports: ['equire', 'process'] # FIXME: Lost in 1.0 -> 2.0 | |
bundle.transform coffeeify |
This file contains hidden or 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
[12:28am] elliottcable: To describe what I'm doing: To anonymize my identity away from my private “savings” address, from which I'm drawing funds, | |
[12:28am] elliottcable: I'm preforming a “shared send.” This uses a third-party anonymizing service that forwards the money through hundreds of transactions, that “mix” the money with other peoples', making it virtually impossible to trace the transaction back through the public block-chain. | |
[12:28am] elliottcable: (Basically, it's socially-acceptable money laundering. Standard practice.) | |
[12:29am] elliottcable: This is going to trickle money out onto a new address of my own I've generated for this purpose; once it's full, I'll be generating two transactions. One to the address you just signed for me, a private transaction to yourself. You will then be able to draw on that money (publically), or launder it back to your own anonymous savings account, as you please. | |
[12:30am] elliottcable: The second will go to a public gittip.com address, which I'll help you generat |
This file contains hidden or 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 git://github.com/joyent/node.git | |
cd node | |
(cd deps/v8/build && ln -s ../../../tools/gyp) | |
make -C deps/v8 native | |
cd ~/Code/myproj | |
node --prof ./something.js | |
~/Code/Source/node/deps/v8/tools/mac-tick-processor v8.log |
This file contains hidden or 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
wrapper = ($) -> | |
# ... reference the globally-available $, which will be shadowed inside this function by CoffeeScript | |
`wrapper($)` |
This file contains hidden or 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
> makepkg -si | |
==> Making package: namecoind 0.3.51.00-1 (Thu Apr 11 13:19:13 UTC 2013) | |
==> WARNING: Using a PKGBUILD without a package() function is deprecated. | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
==> Extracting sources... | |
==> Entering fakeroot environment... | |
==> Starting build()... | |
Cloning into 'namecoin'... |
This file contains hidden or 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
> CFLAGS="-O2 -Wall -march=native -I/usr/local/Cellar/curl/7.29.0" ./autogen.sh | |
readlink: illegal option -- f | |
usage: readlink [-n] [file ...] | |
usage: dirname path | |
Running autoreconf -if... | |
configure.ac:52: installing './compile' | |
configure.ac:17: installing './config.guess' | |
configure.ac:17: installing './config.sub' | |
configure.ac:22: installing './install-sh' | |
configure.ac:22: installing './missing' |
This file contains hidden or 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
whee = -> | |
foo: 123 | |
bar: 456 | |
{_:result, _:{foo}} = {_:whee()} | |
console.log foo | |
console.log result |