Skip to content

Instantly share code, notes, and snippets.

View eodgooch's full-sized avatar

Aaron Gooch eodgooch

  • Realio Technology LTD
  • South Lake Tahoe, CA
View GitHub Profile
@eodgooch
eodgooch / osx_bootstrap.sh
Created March 16, 2018 20:52 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
### Keybase proof
I hereby claim:
* I am eodgooch on github.
* I am gooch (https://keybase.io/gooch) on keybase.
* I have a public key ASDcsKkGpJJFhP_bAszEdzrueok53JmQInCcS7aW6Z6WLgo
To claim this, I am signing this object:
@eodgooch
eodgooch / react-web-app
Created July 13, 2017 00:37
Instructions for setting up a react web app
install create react app https://github.com/facebookincubator/create-react-app
- `npm install -g create-react-app`
@eodgooch
eodgooch / .vimrc
Last active May 29, 2017 17:58 — forked from simonista/.vimrc
A basic .vimrc file template desert colorscheme
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@eodgooch
eodgooch / make CSR
Created May 26, 2017 21:00
Make a CSR with openssl
openssl genrsa -des3 -out server.key 2048
openssl rsa -in server.key -out server.key
openssl req -sha256 -new -key server.key -out server.csr -subj '/CN=localhost'
# next line signs the cert - not necessary if a CA is signing simply grab the csr file from above
openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
#Replace 'localhost' with whatever domain you require. You will need to run the first two commands one by one as openssl will prompt for a passphrase.
#To combine the two into a .pem file:
@eodgooch
eodgooch / base.Dockerfile
Created May 15, 2017 06:38 — forked from alexellis/base.Dockerfile
Docker swarm service to mine into the Nice Hash pool
# Published on Docker Hub with above user alexellisio.
# If you want to rebuild your own copy, follow below instructions
# Build this on each type of machine so you have the correct CPU extensions.
FROM alexellisio/boostbase
RUN git clone -b Linux https://github.com/nicehash/nheqminer.git
RUN cd nheqminer/cpu_xenoncat/Linux/asm/ && sh assemble.sh && cd ../../../Linux_cmake/nheqminer_cpu && cmake . && make
ENTRYPOINT ["./nheqminer/Linux_cmake/nheqminer_cpu/nheqminer_cpu"]
@eodgooch
eodgooch / go-ci-build.sh
Last active October 24, 2016 20:50 — forked from wavded/go-ci-build.sh
Go Jenkins CI Script - golang
#!/bin/bash
# Go build script that runs cloc, cpd, lint, vet, test and coverage for Jenkins
#
# Outside tools include:
# gocov: go get github.com/axw/gocov
# gocov-xml: go get github.com/t-yuki/gocov-xml
# go2xunit: go get bitbucket.org/tebeka/go2xunit
# jscpd: npm i jscpd -g
# cloc: npm i cloc -g
@eodgooch
eodgooch / ConsoleListener
Created January 28, 2015 03:11
ConsoleListener to add to our chap application
import akka.actor.Actor
/**
* Let's take a look at this to get an idea of how to open up a console window
* https://github.com/sdanzig/buddychat/blob/master/src/main/scala/scottdanzig/buddychat/actors/ConsoleActor.scala
*/
class KeyBoardListener extends Actor {
implicit ec = context.dispatcher
0. rails new my_store && cd my_store
1. to Gemfile
remove gem 'rais', gem 'jquery-rails'
and add folowing rows:
-------------------------------------------------------------------------------------------------------
gem 'machinist', :group => :development
gem 'ffaker', :group => :development
gem "compass"
gem "compass-rails"
gem "jquery-ui-rails"