Skip to content

Instantly share code, notes, and snippets.

View edwelker's full-sized avatar

Eddie Welker edwelker

View GitHub Profile
RED=$'\e[31;40m'
BLUE=$'\e[0;34m'
D=$'\e[37;40m' # set this to what makes sense for your terminal color scheme
shopt -s histappend
pre_prompt() {
local exit_code=$?;
history -a;
history -n;
@edwelker
edwelker / bash_history
Last active August 29, 2015 13:58
Bash history
History event commands
! - history substitution
!! - last command
!n - nth command
!-n - nth previous command
!string - command that starts with string
!?string[?] - command that contains string
^old^new^ - quick substitution of command

Keybase proof

I hereby claim:

  • I am edwelker on github.
  • I am edwelker (https://keybase.io/edwelker) on keybase.
  • I have a public key whose fingerprint is 17E5 B3DA 4F43 340E C572 FB56 ADFE B0ED B235 A975

To claim this, I am signing this object:

@edwelker
edwelker / centos
Last active August 29, 2015 14:04
centos
https://fedoraproject.org/wiki/EPEL
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm && yum install tmux
#need general development tools on image
yum groupinstall -y development
#additional tools
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs
import com.twitter.finagle.{Http, Service}
import com.twitter.util.{Await, Future}
import java.net.InetSocketAddress
import org.jboss.netty.handler.codec.http._
object Client extends App {
val client: Service[HttpRequest, HttpResponse] =
Http.newService("localhost:8080/failures")
val request = new DefaultHttpRequest(
HttpVersion.HTTP_1_1, HttpMethod.GET, "/")
@edwelker
edwelker / SerpentRidge.md
Last active August 29, 2015 14:05
SerpentRidge.md

Serpent Ridge Vineyard

Only 2.5 acres of land. Only 4 years old as of now, and getting their first harvest just now.

Seyval Blanc 5 glass / 18 bottle

Very dry, a slighty sour aroma to start. A little acid, but still very good. Grapes from Demascus.

@edwelker
edwelker / dns_options.txt
Created October 1, 2014 02:38
DNS options
Google
8.8.8.8
8.8.4.4 (nice numbers == Level 3)
Verizon
71.252.0.12
4.2.2.1 ... 4.2.2.5
## Hadoop with Python
Spotify -> Luigi
Snakebite -> HDFS native bindings for HDFS
Snakebite @ the end of a MR job, get stuff (mv, rn, delete, but no write) and process
HBase Thrift gateway? -> Actual thrift?
Spark + GraphX
@edwelker
edwelker / EasterBread.txt
Created April 8, 2015 14:21
EasterBread.txt
Easter Bread Improved trial #1 (2015)
Includes http://www.marthastewart.com/335348/ukrainian-easter-bread (somewhat)
Needs:
* King Arthur All Purpose flour
* 1+ cups of golden raisins
* 1 1/2 gallon of whole milk
* 1 orange (1 lemon too?)
@edwelker
edwelker / nationjs2015notes.txt
Created November 13, 2015 21:26
NationJS2015notes.txt
Canjs - http://canjs.com/
Mongoose - http://mongoosejs.com/ (Mongo wrapper, essentially)
Eddie, you should Mentor!!!!!!
Jasmine-given - https://github.com/searls/jasmine-given
Mary Rose Cook/David Nolen on Lisp and it's parsability
Mercury JS - https://github.com/Raynos/mercury
@Robbiethegeek
Particle Proton - $20, Teensy - $8, Neopixels