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

ruby-1.9.3-p484 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p484 with the railsexpress patchsets: https://github.com/skaes/rvm-patchsets

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@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 / 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 / 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
http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts
mkdir -p ~/code/personal/vagrant-php
cd ~/code/personal/vagrant-php
download vagrant
http://downloads.vagrantup.com/
install vagrant latest version

install php

By default this version of homebrew has both Apache and MySQL support so we only need to add International support option.

brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew update
Removed ~/.pearrc
Installed XQuartz-2.7.4.dmg
brew install php55 
@7hunderbird
7hunderbird / fix iconv will be deprecated, use String#encode instead
Last active December 14, 2015 22:29
Use this to help get rid of the annoying warning when using Ruby 1.9 and you probably have Activesupport.
1. do a `gem env` to get your paths:
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.23
- RUBY VERSION: 1.9.3 (2013-02-22 patchlevel 392) [x86_64-darwin12.2.0]
- INSTALLATION DIRECTORY: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/bin/ruby
- EXECUTABLE DIRECTORY: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/bin
- RUBYGEMS PLATFORMS:
- ruby
FIXME:
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.9.0
or
libxml_ruby.bundle: dlsym(0x10fde1900, Init_libxml_ruby): symbol not found
gem uninstall nokogiri libxml-ruby
brew update
brew uninstall libxml2