- My yubikey GPG key is on Keybase.io so this imports it locally:
curl https://keybase.io/mecrawlings/key.asc | gpg --import
- Once I have the key locally I need to trust it:
gpg --edit-key <keyid>
sudo ln -s /usr/lib/libSystem.B.dylib /usr/local/lib/libgcc_s.10.4.dylib
pg_ctl -D /usr/local/var/postgres start && brew services start postgresql
psql postgres
createuser -s postgres
psql postgres
- check 'postgres' user is listedSave and open the page:
Capybara.save_and_open_page
require 'benchmark' | |
def print_memory_usage | |
memory_before = `ps -o rss= -p #{Process.pid}`.to_i | |
yield | |
memory_after = `ps -o rss= -p #{Process.pid}`.to_i | |
puts "Memory: #{((memory_after - memory_before) / 1024.0).round(2)} MB" | |
end |
sudo ln -s /usr/lib/libSystem.B.dylib /usr/local/lib/libgcc_s.10.4.dylib |
I hereby claim:
To claim this, I am signing this object:
// Private | |
let two = 2 | |
// fucntion | |
function sum(x, y) { | |
return x + y | |
} | |
// arrow, has to be assigned | |
const multiply = (x,y) => x * y |