Skip to content

Instantly share code, notes, and snippets.


Gabriel Handford gabriel

View GitHub Profile
View gist:a82b942c88defe1825f6e5850168b9d0
➜ ~/Projects/electron-react-boilerplate (master) yarn start
yarn run v1.12.3
$ yarn build
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production webpack --config ./configs/ --colors
$ cross-env NODE_ENV=production webpack --config ./configs/ --colors
[0] Hash: 733a110763a28611c3cb
[0] Version: webpack 4.23.1
[0] Time: 2258ms
[0] Built at: 11/20/2018 11:37:01 AM
package main

import (


func main() {
View @material-ui--core_v1.x.x.js
// flow-typed signature: 03cf7c175358936fca986447e901a2fe
// flow-typed version: 81ddf4ba12/@@material-ui/core/core_v1.x.x/flow_>=v0.58.x
declare module "@material-ui/core/AppBar/AppBar" {
declare type Color = "inherit" | "primary" | "secondary" | "default";
declare type Position = "fixed" | "absolute" | "sticky" | "static";
declare module.exports: React$ComponentType<{
children?: React$Node,
className?: string,
View groupme.rb
require 'net/http'
require 'json'
require 'csv'
# Put access token
AccessToken = ""
RequestDelay = 1 # in seconds
def messages(group_id, group_name)
limit = 100
gabriel /
Created July 14, 2016 01:43
# bash/zsh git prompt support
# Copyright (C) 2006,2007 Shawn O. Pearce <>
# Distributed under the GNU General Public License, version 2.0.
# This script allows you to see repository status in your prompt.
# To enable:
# 1) Copy this file to somewhere (e.g. ~/
gabriel /
Last active December 12, 2016 22:54

Hi all,

If you want to test proving social network ownership with rooter, here's what you can do.

On the command line:

keybase prove rooter yourUserName

It will give you something to post, call it 'LcEI8-LuBRM1EUtXKf1jZAabCKtu0_rjaKVif1O3Bsc'

gabriel /
Last active June 23, 2016 19:46
Alternative Vendoring Strategy

Vendoring Somewhere Else?

Instead of vendoring inside client and kbfs (and including client in kbfs), we vendor at (as a repo).

When a user wants to build:

  • go get
  • go get
  • go get (if they want to use vendoring)

An example vendoring repo that works right now is at:

View gist:35c2670f4b0ba917c7d6
// These might be good globals
line1: {
overflow: 'hidden',
display: '-webkit-box',
textOverflow: 'ellipsis',
WebkitLineClamp: 1,
WebkitBoxOrient: 'vertical'
line2: {
overflow: 'hidden',
View environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">