Skip to content

Instantly share code, notes, and snippets.


Upgrade Procedure:

  • Chef system has enough resources to perform the upgrade. 8GB ram, 4 CPUs confirmed to work
cat /proc/meminfo
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
View http statuses
Status Code Status Message Symbol
1xx Informational
100 Continue :continue
101 Switching Protocols :switching_protocols
102 Processing :processing
2xx Success
200 OK :ok
201 Created :created
202 Accepted :accepted
View lagriangien.rb
require File.join(File.dirname(__FILE__), 'point.rb')
require 'pry'
class Lagrangien
def initialize(indice, x, *points)
@indice = indice
@x = x
@points = points