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 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 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 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
| (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 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
| 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 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
| (def ^:dynamic *dynamic*) | |
| (push-repl-bindings {(var *dynamic*) 1}) ; push-repl-bindings isn't a function | |
| *dynamic* | |
| ; => 1 |
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
| Exception in thread "main" java.lang.RuntimeException: Method code too large! | |
| at jdk.internal.org.objectweb.asm.MethodWriter.getSize(MethodWriter.java:2065) | |
| at jdk.internal.org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:856) | |
| at jdk.nashorn.internal.codegen.ClassEmitter.toByteArray(ClassEmitter.java:577) | |
| at jdk.nashorn.internal.codegen.CompilationPhase$8.transform(CompilationPhase.java:396) | |
| at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:513) | |
| at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:361) | |
| at jdk.nashorn.internal.runtime.Context.compile(Context.java:1071) | |
| at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1019) | |
| at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:490) |
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
| # written in anger at 4AM. it's a bad idea to use this. | |
| import struct | |
| import sys | |
| import glob | |
| import os | |
| source = sys.argv[1] | |
| dest = sys.argv[2] | |
| topic = sys.argv[3] |
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
| net.opentsdb.core.IllegalDataException: Found out of order or duplicate data: cell=Cell([-127, -5], [68, -122, -111, 96]), delta=2079000, prev cell=Cell([-127, -5], [66, -9, -50, -39]), last_delta=2079000, in row=[KeyValue(key=[0, 16, 41, 83, 3, -97, -96, 0, 0, 25, 0, -128, 65], family="t", qualifier=[0, 11, 0, 27, 0, 43, 0, 59, 0, 75, 0, 91, 0, 107, 0, 123, 0, -117, 0, -101, 0, -85, 0, -69, 0, -53, 0, -37, 0, -21, 0, -5, 1, 11, 1, 27, 1, 43, 1, 59, 1, 75, 1, 91, 1, 107, 1, 123, 1, -117, 1, -101, 1, -85, 1, -69, 1, -53, 1, -37, 1, -21, 1, -5, 2, 11, 2, 27, 2, 43, 2, 59, 2, 75, 2, 91, 2, 107, 2, 123, 2, -117, 2, -101, 2, -85, 2, -69, 2, -53, 2, -37, 2, -21, 2, -5, 3, 11, 3, 27, 3, 43, 3, 59, 3, 75, 3, 91, 3, 107, 3, 123, 3, -117, 3, -101, 3, -85, 3, -69, 3, -53, 3, -37, 3, -21, 3, -5, 4, 11, 4, 27, 4, 43, 4, 59, 4, 75, 4, 91, 4, 107, 4, 123, 4, -117, 4, -101, 4, -85, 4, -69, 4, -53, 4, -37, 4, -21, 4, -5, 5, 11, 5, 27, 5, 43, 5, 59, 5, 75, 5, 91, 5, 107, 5, 123, 5, -117, 5, -101, 5, -85, 5, -69, 5, -53, 5, -37 |
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
| Import["http://lead.ryanberdeen.com/render?target=randomWalkFunction(%\ | |
| 27hello%2C+world%27)", "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
| sudo docker run -d -name zookeeper -p 2181 also/kafka:test-3 sh /opt/kafka/bin/zookeeper-server-start.sh /opt/kafka/config/zookeeper.properties | |
| sudo docker run -link zookeeper:zk -e BROKER_ID=10 also/kafka:test-3 /opt/kafka/bin/docker-kafka.sh |