Skip to content
View pbpaste-html.js
var $ = require('nodobjc');
function getNSData(data) {
var byteBuffer = new Buffer(data('length'));
data('getBytes', byteBuffer, 'length', byteBuffer.length);
return byteBuffer;
var toHtmlOpts = $.NSDictionary(
View gist:72f0d9530166af3fea1a
/* @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(; // at one time, T1 contained info, but it was removed
return result;
View route.txt
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
View eslint-bug.js
var eslint = require('eslint');
var CLIEngine = eslint.CLIEngine;
var linter = eslint.linter;
var baseConfig = {format: 'stylish'};
new CLIEngine({baseConfig: baseConfig}).getConfigForFile('.');
View a.cljs
(ns a
(:require-macros [clojure.string :as alias]))
; this is fine
; this throws clojure.lang.Symbol cannot be cast to clojure.lang.Namespace
Hello = ->
render: ->
{type: 'div', props: {children: "Hello, #{}!"}, _isReactElement: true}
React.render {type: Hello, props: {name: 'World'}, _isReactElement: true}, document.body
View repl-binding.clj
(def ^:dynamic *dynamic*)
(push-repl-bindings {(var *dynamic*) 1}) ; push-repl-bindings isn't a function
; => 1
View error.txt
Exception in thread "main" java.lang.RuntimeException: Method code too large!
at jdk.nashorn.internal.codegen.ClassEmitter.toByteArray(
at jdk.nashorn.internal.codegen.CompilationPhase$8.transform(
at jdk.nashorn.internal.codegen.CompilationPhase.apply(
at jdk.nashorn.internal.codegen.Compiler.compile(
at jdk.nashorn.internal.runtime.Context.compile(
at jdk.nashorn.internal.runtime.Context.compileScript(
at jdk.nashorn.internal.runtime.Context.compileScript(
# 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]
Something went wrong with that request. Please try again.