I hereby claim:
- I am byronmansfield on github.
- I am bmansfield (https://keybase.io/bmansfield) on keybase.
- I have a public key ASBwyvTJtQlh_F745fedyNZmOCrQQ-v-wtdjtJWY0uOa6Ao
To claim this, I am signing this object:
# List of gists for tools I can install from source on mac without having to use homebrew (brew) | |
# coreutils - replaces `brew install coreutils` | |
https://gist.github.com/byronmansfield/86b81101930bfe027c641a2c11e152e8 | |
# binutils - replaces `brew install binutils` | |
https://gist.github.com/byronmansfield/f32f55e58fc731c3d4215aa44f970226 | |
# CMake - replaces `brew install cmake` | |
https://gist.github.com/byronmansfield/d2ca956cb3ee7c67d8d02c2b0db1c803 |
# Create a directory | |
mkdir ~/tmux-install | |
cd ~/tmux-install | |
# Get the files | |
curl -OL https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz | |
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
# Extract them | |
tar xzf tmux-2.3.tar.gz |
I hereby claim:
To claim this, I am signing this object:
package main | |
func main() { | |
msg := "Hello from Golang" | |
greet(msg) | |
println(msg) | |
greetPrt(&msg) | |
println(msg) |
package main | |
import ( | |
"flag" | |
"fmt" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/ec2" | |
) |
###################### | |
# Docker Cheat Sheet # | |
###################### | |
docker build -t <username>/<repo-name> . | builds an image | |
docker run -p 80:80 --name <somename> <username>/<repo> | runs a container from this image | |
docker ps -a | shows all contains even stopped | |
docker rm <name> | removes container | |
docker rmi <id> | removes image | |
docker inspect <container-id> | grep IPAddress | cut -d '"' -f 4 | gives ip address |
-- capture screen area | |
awful.key({ modkey, "Control" }, "p", function() awful.util.spawn(".bin/capscr") end) |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Node Stuff | |
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" | |
PATH="$NPM_PACKAGES/bin:$PATH" | |
# Unset manpath so we can inherit from /etc/manpath via the `manpath` | |
# command | |
unset MANPATH # delete if you already modified MANPATH elsewhere in your config |
'use strict'; | |
/** | |
* @ngdoc factory | |
* @name perfmanApp.Paginator | |
* @description | |
* # Paginator | |
* Factory in the perfmanApp. | |
*/ | |
angular.module('perfmanApp') |
'use strict'; | |
/** | |
* @ngdoc directive | |
* @name perfmanApp.directive:donut | |
* @description | |
* # donut | |
*/ | |
angular.module('perfmanApp') | |
.directive('donut', function() { |