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
| abutinniana | |
| achlida | |
| acila | |
| adelin | |
| adrie | |
| aduna | |
| adusto | |
| aima | |
| albria | |
| alisa |
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
| licenses(["notice"]) | |
| cc_binary( | |
| name = "jq", | |
| visibility = ["//visibility:public"], | |
| srcs = glob([ | |
| "*.h", | |
| "*.c", | |
| ]), | |
| copts = [ |
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
| #!/usr/bin/env bash | |
| # Copyright 2016 Postmates Inc. | |
| # | |
| # Author: Benjamin Staffin | |
| # | |
| # Logging library for bash scripts | |
| # | |
| # Features: | |
| # * Nicely formatted messages with timestamp, source file and line number | |
| # * Stack traces on abnormal exits, similar to Python |
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
| { config, lib, ... }: | |
| { | |
| nixpkgs.config.packageOverrides = super: let self = super.pkgs; in | |
| { | |
| myHaskellEnv = self.haskellPackages.ghcWithHoogle | |
| (haskellPackages: with HaskellPackages; [ | |
| # libraries | |
| arrows async cgi criterion | |
| # tools |
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
| module Parse where | |
| import Control.Monad (void) | |
| import qualified Data.Char | |
| import Text.Megaparsec | |
| import Text.Megaparsec.String | |
| import qualified Text.Megaparsec.Lexer as L | |
| data JsonnetNumber = JInt Integer | |
| | JFloat Double |
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
| # What's the difference in meaning between these two prometheus rules? | |
| query_version_a = | |
| ( | |
| sum | |
| by (source) | |
| ( | |
| ( | |
| ( | |
| rate(cpu_user_seconds_total[3m]) |
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
| {-# LANGUAGE TupleSections #-} | |
| module P1b where -- http://adventofcode.com/2016/day/1 | |
| import Data.String.Utils (split, strip) | |
| data Direction = North | East | South | West | |
| runbunny :: Integral a => Read a => | |
| [(a, a)] -- coordinates already visited |
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
| # Generated by running `configure --enable-unicode=ucs2` on MacOS 10.11.6 | |
| DEFINES_DARWIN = [ | |
| "Py_PYCONFIG_H", | |
| "DOUBLE_IS_LITTLE_ENDIAN_IEEE754=1", | |
| "ENABLE_IPV6=1", | |
| "HAVE_ACOSH=1", | |
| "HAVE_ADDRINFO=1", | |
| "HAVE_ALARM=1", | |
| "HAVE_ALLOCA_H=1", | |
| "HAVE_ASINH=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
| """gen_build_data: generate build_data from various templates. | |
| This does something very simple: concatenates bazel's stable-status and | |
| volatile-status linkstamp data with an optional header and footer. | |
| """ | |
| def _gen_build_data_impl(ctx): | |
| cmd = ["cat"] | |
| inputs = [ | |
| ctx.version_file, # volatile-status.txt |
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
| #!/bin/bash | |
| # This script will be run bazel when building process starts to | |
| # generate key-value information that represents the status of the | |
| # workspace. The output should be like | |
| # | |
| # KEY1 VALUE1 | |
| # KEY2 VALUE2 | |
| # | |
| # If the script exits with non-zero code, it's considered as a failure |