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
load("@bazel_tools//tools/build_defs/docker:docker.bzl", "docker_build") | |
docker_build( | |
name = "hello", | |
base = "@official_ubuntu//image:image.tar", | |
cmd = ["echo", "hi"], | |
) |
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
package(default_visibility = ["//visibility:public"]) | |
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_binary") | |
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library") | |
# With the externs file as a source for the library | |
closure_js_library( | |
name = "foo", | |
srcs = [ | |
"foo.js", |
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
// ==UserScript== | |
// @name RemoveOpenSearch | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Prevent Chrome from automatically adding search engines. | |
// @author Joe Schafer | |
// @match http://*/* | |
// @grant none | |
// ==/UserScript== |
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
const ERROR = 2; | |
module.exports = { | |
extends: [], | |
parserOptions: { | |
ecmaVersion: 6, | |
sourceType: 'script', | |
}, |
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
50 4 - 6 75 - 100 + 25 * + | |
50 4 - 6 75 100 - - 25 * + | |
50 4 6 75 - 100 + 25 * - - | |
50 4 6 75 100 - - 25 * - - | |
75 4 - 6 50 100 25 - + * + | |
75 4 - 6 50 100 + 25 - * + | |
75 4 6 50 100 25 - + * - - | |
75 4 6 50 100 + 25 - * - - | |
50 4 75 6 100 + - 25 * + - | |
50 4 75 6 - 100 - 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
class LLRB(object): | |
class Node(object): | |
RED = True | |
BLACK = False | |
__slots__ = ['value', 'left', 'right', 'color'] | |
def __init__(self, value): |
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
module.exports = function(grunt) { | |
grunt.loadNpmTasks('grunt-contrib-connect'); | |
grunt.loadNpmTasks('grunt-contrib-copy'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
connect: { |
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
INPUT = minimal.md | |
OUTPUT = minimal.pdf | |
TEMPLATE = template.tex | |
all: | |
pandoc \ | |
--filter pandoc-citeproc \ | |
--standalone \ | |
--variable="linestretch=2" \ | |
--template=$(TEMPLATE) \ |