Skip to content

Instantly share code, notes, and snippets.

:octocat:
Loading...

French Ben FrenchBen

:octocat:
Loading...
  • Docker inc.
  • San Francisco, CA
Block or report user

Report or block FrenchBen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@FrenchBen
FrenchBen / flutter.rb
Created Mar 18, 2020
Homebrew Flutter install
View flutter.rb
class Flutter < Formula
desc "Google’s UI toolkit for mobile, web, and desktop from a single codebase"
homepage "https://flutter.dev"
version "1.12.13"
url "https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.12.13+hotfix.8-stable.zip"
sha256 "5b5308a400bddbc29874f8fd8de7b39bb5dd8707da499c42feb3721524e784a1"
def install
prefix.install Dir["packages",".git*"]
bin.install Dir["bin/*"]
@FrenchBen
FrenchBen / vendors.txt
Last active Sep 12, 2018
Kubernetes Dashboard missing vendors
View vendors.txt
vendor/github.com/beorn7/perks/.gitignore
vendor/github.com/beorn7/perks/README.md
vendor/github.com/beorn7/perks/quantile/exampledata.txt
vendor/github.com/docker/distribution/.gitignore
vendor/github.com/docker/distribution/.mailmap
vendor/github.com/docker/distribution/AUTHORS
vendor/github.com/docker/distribution/BUILDING.md
vendor/github.com/docker/distribution/CHANGELOG.md
vendor/github.com/docker/distribution/CONTRIBUTING.md
vendor/github.com/docker/distribution/Dockerfile
@FrenchBen
FrenchBen / main.go
Created Aug 9, 2018
Simple pFlag go test
View main.go
package main
import (
"flag"
"fmt"
"github.com/spf13/pflag"
)
var (
@FrenchBen
FrenchBen / encryptor.go
Created Apr 4, 2018
Encrypting/Decrypting a string using golang, from https://stackoverflow.com/a/14944339
View encryptor.go
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/sha1"
"crypto/x509"
"encoding/pem"
"flag"
"io/ioutil"
View docker-compose.yml
version: '3'
services:
db:
restart: always
image: postgres:alpine
### Uncomment to enable DB persistance
# volumes:
# - ./postgres:/var/lib/postgresql/data
@FrenchBen
FrenchBen / vendor.yaml
Created Jan 27, 2017
Vendor file created via govend -v -l
View vendor.yaml
vendors:
- path: github.com/Masterminds/sprig
rev: 69011c0cd9b4d2e0733c4d9e2c8e2a5a0d0a2f2f
- path: github.com/Microsoft/go-winio
rev: 307e919c663683a9000576fdc855acaf9534c165
- path: github.com/Sirupsen/logrus
rev: 61e43dc76f7ee59a82bdf3d71033dc12bea4c77d
- path: github.com/aokoli/goutils
rev: 9c37978a95bd5c709a15883b6242714ea6709e64
- path: github.com/davecgh/go-spew
@FrenchBen
FrenchBen / vimrc
Last active Apr 5, 2018
Current vim pluggins and settings
View vimrc
"Begin Vundle VimBundle setup---------------------
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
" set rtp+=~/.vim/bundle/Vundle.vim
" call vundle#begin()
call plug#begin('~/.vim/plugged')
" let Vundle manage Vundle, required
@FrenchBen
FrenchBen / index.html
Last active Jul 30, 2016
GDI blank Reveal template
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CLASS TITLE</title>
<meta name="description" content="DESCRIPTION GOES HERE">
<meta name="author" content="Girl Develop It San Francisco">
@FrenchBen
FrenchBen / aliash.sh
Created Jun 29, 2016
Golang go alias
View aliash.sh
function go_cover() {
coverage=$(mktemp)
trap "rm -f ${coverage}" EXIT
go test -coverprofile=${coverage} "$@" && \
go tool cover -func=${coverage} && \
go tool cover -html=${coverage}
}
alias go_cover='go_cover'
@FrenchBen
FrenchBen / keybase.md
Last active May 23, 2018
Keybase pub gpg
View keybase.md

Keybase proof

I hereby claim:

  • I am FrenchBen on github.
  • I am frenchben (https://keybase.io/frenchben) on keybase.
  • I have a public key whose fingerprint is C470 8613 278D 9678 80A7 896E B606 4DB5 BC6A 2865

To claim this, I am signing this object:

You can’t perform that action at this time.