I hereby claim:
- I am nielsen on github.
- I am nielsen (https://keybase.io/nielsen) on keybase.
- I have a public key whose fingerprint is D2BC ED0F 1759 5E39 870E F635 E023 22FB C1B4 A859
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
require 'find' | |
Find.find(".") do |path| | |
if FileTest.directory?(path) | |
next | |
else | |
filename = File.basename(path) | |
if filename =~ /\.php/ | |
s = IO.read(path) | |
compliant = s.gsub(/<\?\s/, "<?php ").gsub(/<\?=\s/, "<?php echo ") | |
File.open(path, 'w') {|f| f.write(compliant) } |
cat ~/.ssh/id_rsa.pub | ssh user@example.com 'mkdir ~/.ssh;cat - >> ~/.ssh/authorized_keys' |