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
$ babel-node examples/matttest.es6 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender1) sending: 0 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender2) sending: 0 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender1) sending: 1 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender2) sending: 1 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender1) sending: 2 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender2) sending: 2 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender1) sending: 3 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender2) sending: 3 | |
Wed Mar 11 2015 11:47:26 GMT-0700 (PDT): Network([unknown]).Process(sender1) sending: 4 |
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
type OnDataCallback func(InPort, func(string)) | |
type ReactiveComponent func(*Process, OnDataCallback) | |
func AdaptReactiveComponent(component ReactiveComponent) Component { | |
return func(proc *Process) { | |
var wg sync.WaitGroup | |
onData := func(port InPort, callback func(string)) { | |
wg.Add(1) |
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 git push | |
WARNING: You called a Git command named 'git', which does not exist. | |
Continuing under the assumption that you meant 'init' | |
in 0.1 seconds automatically... | |
Initialized empty Git repository in /Users/tlrobinson/whatever/push/.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
$ docker run --net=none -t -i jpetazzo/dind | |
/dev/mapper/control: open failed: Operation not permitted | |
Failure to communicate with kernel device-mapper driver. | |
Check that device-mapper is available in the kernel. | |
Command failed | |
mount: permission denied | |
Could not make a tmpfs mount. Did you use --privileged? |
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
rec -t raw -r 8000 -s -2 - | \ | |
./src/c2enc 1400 - - | \ | |
./src/c2dec 1400 - - | \ | |
play -t raw -r 8000 -s -2 - |
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
import <Foundation/CPObject.j> | |
@implementation AppController : CPObject | |
{ | |
CPTextField _field; | |
CPURLConnection _submitConnection; | |
CPURLConnection _loadConnection; | |
} | |
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
{ | |
"type" : "git", | |
"path" : "ssh://user@path.com/to/git/repo.git", | |
"parts" : [ | |
{ | |
"src" : "MyApplication", | |
"dst" : "", | |
"build" : "steam -c Release -b BUILD_PATH", | |
"copyFrom" : "Release/MyApplication" | |
}, |
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
import <Foundation/CPObject.j> | |
@implementation AppController : CPObject | |
{ | |
var _testVar; | |
} | |
- (void)applicationDidFinishLaunching:(CPNotification)aNotification |
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 objj_debug_profile = { calls : [] } | |
function objj_msgSend_Profile(/*id*/ aReceiver, /*SEL*/ aSelector) | |
{ | |
if (aReceiver == nil) | |
return nil; | |
// profiling book keeping | |
var profileRecord = { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Name</key> | |
<string>YourApplication</string> | |
<key>Targets</key> | |
<array> | |
<dict> | |
<key>Name</key> |