I hereby claim:
- I am everm1nd on github.
- I am everm1nd (https://keybase.io/everm1nd) on keybase.
- I have a public key whose fingerprint is 79B1 C7BA B44C B3C3 0D61 EC70 8B2A B141 1F2E 0B72
To claim this, I am signing this object:
1) locale-gen en_US.UTF-8 | |
2) update-locale LANG=en_US.UTF-8 | |
3) pg_dropcluster --stop 9.3 main ; pg_createcluster --start --locale en_US.UTF-8 9.3 main | |
and it's better way to generate locale before installing PG. then you wont' need to recreate cluster |
class Something < ActiveRecord::Base | |
scope :active, -> { where(active: true) } | |
end | |
describe Something do | |
it "has :active scope" do | |
expect(Something).to respond_to(:active) | |
end | |
it "returns active objects with :active scope" do | |
scope_params = Something.active.where_methods_hash |
date +%s |
curl ipecho.net/plain ; echo |
ls -l | awk '{print $9, $5}' |
while read voice | |
do | |
say -v $voice hello; echo $voice; | |
done < <(say -v '?' | awk '{print $1}') |
tar czf folder.tar.gz folder/ |
sudo /etc/init.d/networking restart |
I hereby claim:
To claim this, I am signing this object:
sudo ifdown eth0 && sudo ifup eth0 | |
# or | |
sudo ifdown -a && sudo ifup -a |