- Untracked files won't show up if hidden. To audit, temporarily re-enable with
gh status --untracked-files=normal
. - Have to convert submodule paths in
.gitmodules
to relative paths.
- Create a script called
gh
and put it in your PATH,
#cloud-config | |
# Set the hostname for this machine (takes precedence over hostname assigned by DHCP lease). | |
hostname: myhost | |
# Authorize SSH keys for the `rancher` sudoer user | |
ssh_authorized_keys: | |
- ssh-rsa AAA...ZZZ example1@rancher | |
{ | |
"mode": "all", | |
"autoStart": true, | |
"refreshRate": 100, | |
"elements": | |
[{ | |
"name": "space", | |
"enabled": false, | |
"pattern": "\\s", | |
"style": { |
I hereby claim:
To claim this, I am signing this object:
.1pif
into a pass
store, 1password2pass..1pif
file; maybe because mine is an older version?pass
, Password Store.pass
, PassFF.// Based on the lilyterm config, | |
// https://github.com/chriskempson/tomorrow-theme/blob/0e0d35ac303f99b8aa182091ebeaee81cf2183a0/lilyterm/default.conf#L482-L497 | |
// https://github.com/giraj/solarized-crosh | |
term_.prefs_.set('environment', { TERM: "xterm-256color" }) | |
term_.prefs_.set('foreground-color', '#c5c8c6') | |
term_.prefs_.set('background-color', '#1d1f21') | |
term_.prefs_.set('cursor-color', '#aeafad') | |
term_.prefs_.set('color-palette-overrides',[ | |
"#000000", | |
"#912226", |
[Others][mf_mocks] have defined four types of test doubles which are often colloqually referred to as mocking, mock objects, etc.
struct Item { | |
var price: Int | |
var count: Int | |
} | |
enum VendingMachineError: ErrorType { | |
case InvalidSelection | |
case InsufficientFunds(coinsNeeded: Int) | |
case OutOfStock | |
} |
Invert scrolling direction, e.g. enable "Natural Scrolling":
$ DEV_ID=$(xinput | grep 'Atmel.*Touchpad' | -E 's/.*id=([0-9]+).*/\1/')
$ xinput --list-props $DEV_ID > backup_touchpad_props.txt
$ PROP_ID=$(xinput --list-props 9 | grep 'Scroll X Out Scale' | sed -E 's/.*\(([0-9]+)\).*/\1/')
$ PROP_VAL=$(xinput --list-props 9 | grep 'Scroll X Out Scale' | sed -E 's/.*[^.0-9]([.0-9]+)/\1/')
$ xinput --set-float-prop $DEV_ID $PROP_ID -$PROP_VAL
$ xinput --list-props $DEV_ID | grep 'Scroll X Out Scale'
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = 'genome/ubuntu-lucid-puppet' | |
config.vm.hostname = 'localhost' |