df -k
sudo mkdir -p /data
You'll find it in this directory, this kind of disk is oftently call sdb
| language: | |
| - cpp | |
| compiler: | |
| - gcc | |
| before_install: | |
| - sudo apt-get update | |
| install: |
| #!/usr/bin/env python | |
| """ | |
| Select some text and then "!fmtcomment". It understands "//" and | |
| "#" comments, works with indenting in spaces and tabs. It assumes | |
| you want to squeeze your text within 80-chars, and treats tabs as | |
| 4 spaces thusly. | |
| E.g., will turn | |
| // Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
| let(:runner) do | |
| memoized_runner('pd-gocd::agent') do |node| | |
| #..... | |
| end | |
| end |
| /* Exercise: Loops and Functions #43 */ | |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| func Sqrt(x float64) float64 { | |
| z := float64(2.) |
| module SoftDelete | |
| REQUIRED_PROPERTIES = [ | |
| [ :deleted_at, DataMapper::Property::DateTime ], | |
| ].freeze | |
| def self.extended(klass) | |
| REQUIRED_PROPERTIES.each do |property| | |
| klass.send(:property, *property) | |
| end |
| * An Emacs Workshop for Beginners | |
| It's all about discovering Emacs Really | |
| ** Install | |
| *** Emacs 24.3 | |
| http://emacsformacosx.com/ | |
| http://emacs.naquadah.org/ | |
| http://ftp.gnu.org/pub/gnu/emacs/windows/ | |
| ** Conventions and docs |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # * * * * * root /path/to/riak_graphite_stats.sh | |
| set -e | |
| SOURCE=$(hostname) | |
| GRAPHITE_PORT=2003 | |
| GRAPHITE_SERVER="myserver" | |
| PREFIX="test.riak" |
| # Documentation for HAProxy | |
| # http://code.google.com/p/haproxy-docs/w/list | |
| # http://haproxy.1wt.eu/download/1.2/doc/architecture.txt | |
| # NOTES: | |
| # open files limits need to be > 256000, use ulimit -n to set (on most POSIX systems) | |
| global | |
| log 127.0.0.1 local0 | |
| log 127.0.0.1 local1 notice |