Skip to content

Instantly share code, notes, and snippets.

View aujkis's full-sized avatar
🎯
Focusing

Austris aujkis

🎯
Focusing
  • Riga, Latvia
View GitHub Profile

Install nokogiri gem on Yosemite

brew tap homebrew/dupes

brew install libxml2 libxslt

brew install libiconv

bundle config build.nokogiri --with-xslt-dir=/usr/local/opt/libxslt --with-iconv-dir=/usr/local/opt/libiconv --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config

@aujkis
aujkis / Guardfile
Last active August 29, 2015 14:09 — forked from johnbintz/Guardfile
group :livereload do
guard 'livereload' do
watch(things)
end
end
#!/bin/bash
apt-get update
apt-get -y dist-upgrade
# Install dokku
# Has to be ran twice for success, not sure why
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash
set -U fish_color_user magenta
set -U fish_color_host yellow
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
# User
set_color $fish_color_user
printf (whoami)
set_color normal
# Path to your oh-my-fish.
set fish_path $HOME/.oh-my-fish
set fish_plugins git rails rvm
# Theme
set fish_theme robbyrussell
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*)
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/
# Example format: set fish_plugins autojump bundler
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048