http://www.opensource.apple.com/source/launchd/launchd-328/launchd/src/launch.h http://www.opensource.apple.com/source/initng/initng-12/initng/src/launchctl.c
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
(def ^:dynamic *dynamic*) | |
(push-repl-bindings {(var *dynamic*) 1}) ; push-repl-bindings isn't a function | |
*dynamic* | |
; => 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
Hello = -> | |
render: -> | |
{type: 'div', props: {children: "Hello, #{@props.name}!"}, _isReactElement: true} | |
React.render {type: Hello, props: {name: 'World'}, _isReactElement: true}, document.body |
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
(ns a | |
(:require-macros [clojure.string :as alias])) | |
; this is fine | |
`xxx/name | |
; this throws clojure.lang.Symbol cannot be cast to clojure.lang.Namespace | |
`alias/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
var eslint = require('eslint'); | |
var CLIEngine = eslint.CLIEngine; | |
var linter = eslint.linter; | |
var baseConfig = {format: 'stylish'}; | |
console.log(baseConfig.format); | |
new CLIEngine({baseConfig: baseConfig}).getConfigForFile('.'); | |
console.log(baseConfig.format); |
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
Proceed onto Highland Avenue 5.1 | |
Right onto Cherry Street 5.2 | |
Proceed onto Cherry Street 5.2 | |
Left onto Hall Street 5.3 | |
Proceed onto Hall Street 5.3 | |
Right onto Cedar Street 5.4 | |
Left onto Summer Street 5.4 | |
Proceed onto Summer Street 5.4 | |
Left onto Porter Street 5.5 | |
Right onto Crown Street 5.6 |
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
/* @flow */ | |
type T1 = {x : number}; | |
type T2 = {y : number}; | |
type T3 = T1 & T2; | |
function mergeAndDoStuff(t1 : T1, t2 : T2) : T3 { | |
const result = Object.assign({}, t1, t2); | |
console.log(result.info.toString()); // at one time, T1 contained info, but it was removed | |
return result; | |
} |
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 $ = require('nodobjc'); | |
$.framework('AppKit'); | |
function getNSData(data) { | |
var byteBuffer = new Buffer(data('length')); | |
data('getBytes', byteBuffer, 'length', byteBuffer.length); | |
return byteBuffer; | |
} | |
var toHtmlOpts = $.NSDictionary( |
$ npm test
> @ test /Users/rberdeen/work/scratch/webpack-require-context
> webpack test.js out.js
Hash: 6fdd8fd64209c6bbad29
Version: webpack 2.1.0-beta.25
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
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
acorn-globals@^1.0.3: | |
version "1.0.9" | |
resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-1.0.9.tgz#55bb5e98691507b74579d0513413217c380c54cf" | |
dependencies: | |
acorn "^2.1.0" |