Skip to content

Instantly share code, notes, and snippets.

View xoebus's full-sized avatar
🤖
beep beep

Christopher Brown xoebus

🤖
beep beep
  • San Francisco, CA
View GitHub Profile
@xoebus
xoebus / rate.go
Created January 10, 2018 19:41
Go Rate-limit Example
package main
import (
"context"
"fmt"
"time"
"golang.org/x/time/rate"
)
@xoebus
xoebus / convert_to_bazel.rb
Last active May 3, 2017 06:31
a script to convert dep files to bazel
require 'toml'
def standard_name(name)
parts = name.split("/", 2)
domain = parts[0].split(".").reverse.join("_")
path = parts[1].split("/").join("_")
"#{domain}_#{path}".gsub("-", "_").gsub(".", "_")
end
@xoebus
xoebus / libgit2.rb
Created April 27, 2017 19:00
libgit2 v0.24.6
class Libgit2 < Formula
desc "C library of Git core methods that is re-entrant and linkable"
homepage "https://libgit2.github.com/"
url "https://github.com/libgit2/libgit2/archive/v0.24.6.tar.gz"
sha256 "7b441a96967ff525e790f8b66859faba5c6be4c347124011f536ae9075ebc30c"
head "https://github.com/libgit2/libgit2.git"
depends_on "pkg-config" => :build
depends_on "cmake" => :build
depends_on "libssh2" => :recommended
boop
platform: linux
params:
A: hello
B: goodbye
run:
path: /bin/sh
args:
- -c
{-# OPTIONS -fno-warn-missing-signatures #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonad.Config
-- Copyright : (c) Spencer Janssen 2007
-- License : BSD3-style (see LICENSE)
--
-- Maintainer : dons@galois.com
-- Stability : stable
-- Portability : portable
@xoebus
xoebus / gist:991475c25d7ba7660e26
Last active August 29, 2015 14:13
Tahoe Ideas

Ideas

Web UI, CLI & API

Other CI systems already have a good idea of how this should be done. Jenkins has excellent support for configuration changes and the Travis console output is pretty much incredible. Something that they both lack is performance. Taking more than quarter of a second to load a page is unacceptable an infuriating.

A good command line interface has been missing from all CI systems I've used. It

academicism
accidentalist
accidentalism
accidentiality
accidential
accidented
accidentalness
accidentality
accidency
accidence

Keybase proof

I hereby claim:

  • I am xoebus on github.
  • I am xoebus (https://keybase.io/xoebus) on keybase.
  • I have a public key whose fingerprint is 97F2 36CC 4C40 52FC 9901 3AEE AB41 B42A D217 21A1

To claim this, I am signing this object:

// Pipeline CSS
section.pipe {
display: none;
}