Skip to content

Instantly share code, notes, and snippets.

View 7hunderbird's full-sized avatar
👶
Since 1976.

Tyler Bird 7hunderbird

👶
Since 1976.
View GitHub Profile
@7hunderbird
7hunderbird / two-hours.md
Created November 27, 2018 03:00
Comparing deployments of CF on macbook pro
Task 34 | 01:05:07 | Preparing deployment: Preparing deployment (00:00:28)
Task 34 | 01:05:53 | Preparing package compilation: Finding packages to compile (00:00:01)
Task 34 | 01:05:54 | Compiling packages: golang-1.11-linux/bb9ab510b4b82a163137540402017207b9fc7e06
Task 34 | 01:05:54 | Compiling packages: lunaclient/b922e045db5246ec742f0c4d1496844942d6167a
Task 34 | 01:05:54 | Compiling packages: libtool/3e211ee9e3aab09a9e8a9ff55ab9ce9ba81590d945640e2d29c078597db33a94
Task 34 | 01:05:54 | Compiling packages: autoconf/4f8914a0ada02006da32066d2e374e2a065d3acafbceb60ffd45ea146df7af1f
Task 34 | 01:05:54 | Compiling packages: openjdk_1.8.0/4d45452ce6bd79122873640ac63cae4d9b419ed4
Task 34 | 01:05:54 | Compiling packages: proxy/74970cceed3c4c838ebc13eaee8aafd7593839f9 (00:00:44)
Task 34 | 01:06:38 | Compiling packages: tar/f922f97b27619f8331332e4186c1f9c63fa5b4ddd213c4a02c7ed7cf68fced21
@7hunderbird
7hunderbird / cf-up.sh
Last active January 18, 2021 08:17
CF UP, stand up Cloud Foundry with BUCC
#!/usr/bin/env bash
set -eux
# download bucc https://github.com/starkandwayne/bucc
# this file can be embedded in the repo root
# our source code for the Cloud Foundry deployment
CF_DEPLOYMENT=src/cf-deployment
@7hunderbird
7hunderbird / Powerline.md
Created January 9, 2017 05:44 — forked from wm/Powerline.md
Installing powerline on Mac OSX. The following was done in version Version 10.8.2

Install dependencies

brew install cmake
brew install python
sudo easy_install pip

Add powerline bin to your path. In your zshrc file (or the paths files sourced in zshrc) add the following line

PATH="/usr/local/share/python/:$PATH"

Reinstall MacVim with brew

@7hunderbird
7hunderbird / chef_solo_bootstrap.sh
Last active March 21, 2016 23:23 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get install build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev -y
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz
tar -xvzf ruby-2.3.0.tar.gz
cd ruby-2.3.0/
./configure --prefix=/usr/local
make
make install
@7hunderbird
7hunderbird / rebuild_travis.sh
Created October 6, 2015 00:39
A quick way to rebuild travis repositories from scratch.
reset_folders() {
# take the current directory's folder's and remove them
find . -d 1 -type d -name "*" -print0 | xargs -0 rm -rf
}
clone_repos() {
# http://www.thegeekstuff.com/2010/06/bash-array-tutorial/
# 15. Load Content of a File into an Array
repos=(`cat "repos.cfg"`)
@7hunderbird
7hunderbird / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
[ PRODUCTION ] root@sc-prod-ids2:~# apt-get -y install securityonion-all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Keybase proof

I hereby claim:

  • I am 7hunderbird on github.
  • I am 7hunderbird (https://keybase.io/7hunderbird) on keybase.
  • I have a public key whose fingerprint is B6F8 4C9B 1966 D07D 3282 DD8A 3075 39C1 A583 CC0F

To claim this, I am signing this object:

language: ruby
rvm:
- jruby-1.7.18
addons:
postgresql: "9.2"
before_script:
- ./bin/setup --config
- psql -c 'create database abacus_test;' -U postgres
language: ruby
rvm:
- jruby-1.7.18
before_script:
- ./bin/setup --config
- gem install brakeman
script:
- bundle exec rake spec