Skip to content

Instantly share code, notes, and snippets.

@jaxgeller
jaxgeller / gist:14b6e0b7abd0219a38f1
Created July 8, 2015 16:12
Disable Cyberduck Bonjour Notifications
# in terminal
defaults write ch.sudo.cyberduck rendezvous.enable false
@linjunpop
linjunpop / deploy-rails-4-app-with-dokku-on-digital-ocean.md
Last active May 30, 2023 08:20
Deploy Rails 4 app with Dokku on DigitalOcean

Deploy Rails 4 app with Dokku on DigitalOcean

Install dokku

First create a Ubuntu 13.04 x64 droplet on DigitalOcean Control Panel

Then ssh with root account, run this in termianl:

$ wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash
@wrburgess
wrburgess / README.md
Last active August 31, 2017 09:53
How to add a custom calculator for shipping or taxes to Spree
  1. Add initializer to config/application.rb
  2. Add new class to app/models/spree/calculators/[class_name].rb
  3. Add logic to class file

Class must have the following methods:

def self.description
  "Custom FlexiRate"
end

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: