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 | |
# | |
# A script for reading a text file containing shell commands, and executing | |
# them one-by-one. | |
# | |
# Usage: present.sh <commands-file> | |
# | |
# where <commands-file> is a plain-text file containing shell commmands to | |
# execute, one per line. |
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/sh | |
# Save this file as ".git/hooks/pre-commit" in your git repository and set it | |
# to executable. | |
# | |
# To install the "go vet" command: | |
# $ go get -v -u golang.org/x/tools/cmd/vet | |
# To install the "golint" command: | |
# $ go get -v github.com/golang/lint/golint | |
# |
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
// aids in moving deps from one gb project to another gb project: | |
// | |
// reads a gb vendor/manifest and uses the 'gb-vendor' plugin to vendor the | |
// same revision of each dependency into another gb-based project. | |
// | |
// Example: | |
// To vendor all the dependencies of the project at /go/src/github.com/username/foo | |
// into the new project at /path/to/gb/proj, run the following: | |
// | |
// $ go run gb2gb.go -src-manifest=/go/src/github.com/username/foo/vendor/manifest -dest=/path/to/gb/proj |
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
// aids in converting a godep project to a gb project: | |
// | |
// reads a Godeps.json manifest and uses the 'gb-vendor' plugin to vendor the | |
// same revision of each dependency into a gb-based project. | |
// | |
// Example: | |
// To vendor all the dependencies of the godep-based project at /go/src/github.com/username/foo | |
// into the new gb-based project at /path/to/gb/proj, run the following: | |
// | |
// $ go run godep2gb.go -gbroot=/path/to/gb/proj/ -godeps=/go/src/github.com/username/foo/Godeps/Godeps.json |
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
@font-face { | |
font-family: "Inconsolata"; | |
font-style: normal; | |
font-weight: normal; | |
src: local("Inconsolata"), url("http://themes.googleusercontent.com/static/fonts/inconsolata/v3/BjAYBlHtW3CJxDcjzrnZCIbN6UDyHWBl620a-IRfuBk.woff") format("woff"); | |
} |
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
Set the SVN_EDITOR var: | |
# export SVN_EDITOR=vim | |
================================== | |
SETTING UP A NEW SVN PROJECT | |
================================== | |
Create a new SVN "repo" (aka folder): | |
(NOTE: https is required for our new SVN, as well as --username) | |
# svn mkdir https://some/url/path/to/newRepo --username first.last |
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
import java.beans.ConstructorProperties; | |
import java.io.IOException; | |
import java.util.HashSet; | |
import java.util.LinkedHashMap; | |
import java.util.Map; | |
import java.util.Set; | |
import cascading.scheme.Scheme; | |
import cascading.tap.Hfs; | |
import cascading.tap.SinkMode; |