I hereby claim:
- I am jeekl on github.
- I am jeekl (https://keybase.io/jeekl) on keybase.
- I have a public key whose fingerprint is 7F70 85D7 C9FF C9B0 76D9 31A5 394E 377B 635D BCF4
To claim this, I am signing this object:
Som en ängel som inte har nån' medkänsla | |
Res dig pojke mot himmelen som en hjälte. | |
Himmel blå, och molnfri som få. | |
Ler mot dig och knackar på ditt hjärtas dörr. | |
En blå vind som yr, och från urtiden flyr, i takt med din hjärtas andetag. | |
Någon som vidrör dig mjukt. Som du ej kan se men du vill söka upp. | |
Ditt öde är gömt där du inte kan se med dina naiva ögon. |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Checks if a tmux session with name $host exists, on remote $host. | |
# if so connect to it otherwise create session and connect to it. | |
host=$1 | |
ssh $USER@$host tmux has-session -t $host 2>/dev/null | |
if [ "$?" -eq 1 ] ; then | |
ssh $USER@$host tmux new-session -d -s $host |
(add-hook 'find-file-hook | |
(lambda () | |
(font-lock-add-keywords nil '(("\\(@todo\\|@fixme\\|XXX\\|TODO\\|FIXME\\|REFACTOR\\|HACK\\|BUG\\)" | |
1 font-lock-warning-face t))))) |
["/opt", "/opt/apps", "/opt/apps/myapp", "/opt/apps/myapp/myapppart2"].each do |dir| | |
directory dir do | |
owner "myuser" | |
action :create | |
end | |
end |
$ rspec . | |
.F | |
Failures: | |
1) foobar::package should install multiple versions of foobar | |
Failure/Error: expect(chef_run).to install_package 'foobar_15' | |
No package resource named 'foobar_15' with action :install found. | |
# ./spec/package_spec.rb:14 |
# mkfs.vfat -n multi-linux /dev/sdc1 | |
# mount /dev/sdc1 /media/usb | |
# mkdir /media/usb/{boot,iso} | |
# grub-install --force --no-floppy --boot-directory=/media/usb/boot /dev/sdc | |
... download a bunch of isos ... | |
# ls /media/usb/iso | |
debian-7.0.0-amd64-firmware-netinst.iso* grml64-full_2013.02.iso* memtest86+-4.20.bin* tails-i386-0.17.2.iso* | |
debian-live-7.0.0-amd64-gnome-desktop+nonfree.iso* kali-linux-1.0.3-amd64.iso* memtest86+-4.20.iso* ubuntu-13.04-desktop-amd64.iso* |
# yum list --showduplicates nodejs | |
Loaded plugins: fastestmirror, security | |
Loading mirror speeds from cached hostfile | |
Available Packages | |
nodejs.x86_64 0.10.1-1.el6 thirdparty | |
nodejs.x86_64 0.10.2-1.el6 thirdparty | |
nodejs.x86_64 0.10.3-1.el6 thirdparty | |
# shef -z |
username = "foo" | |
homedir = "/home/#{username}" | |
user username do | |
action :create | |
comment "foo user" | |
home homedir | |
supports :manage_home => true | |
end |
#!/usr/bin/env bash | |
# Runs all .json or .js files through pythons json lint tool before updating, | |
# to make sure that you don't push broken json objects. | |
refname=$1 | |
old=$2 | |
new=$3 | |
for file in $(git ls-tree --name-only -r $new \ | |
| grep -P '\.((js)|(json))$'); do |