Skip to content

Instantly share code, notes, and snippets.

@Petesta
Petesta / install_ammonite.sh
Last active October 12, 2015 03:16
Puts Ammonite on your PATH
#!/bin/bash
curl -L -o amm http://git.io/vZJoU
chmod a+x amm
sudo mv amm /usr/local/sbin
# Can now call `amm` anywhere in Terminal

Keybase proof

I hereby claim:

  • I am Petesta on github.
  • I am petesta (https://keybase.io/petesta) on keybase.
  • I have a public key whose fingerprint is AB24 15CF B265 BAA6 7CF0 E5B4 DDEA DBC1 4F83 C310

To claim this, I am signing this object:

Insert foreign keys into dropped_foreign_keys and drop constraints

Use the following code.

create table if not exists dropped_foreign_keys (
  seq bigserial primary key,
  sql text
);
{
"count": 1068,
"previous": null,
"results": [{
"url": "https://pokeapi.co/api/v2/pokemon-form/1/",
"name": "bulbasaur"
},
{
"url": "https://pokeapi.co/api/v2/pokemon-form/2/",
"name": "ivysaur"
@Petesta
Petesta / .rb
Created February 4, 2022 20:09
def foo
""
end
█████████████████████████████████████████████
░░░░ █▀▀█ █▀▀ ▀▀█▀▀ █▀▀ █▀▀ ▀▀█▀▀ █▀▀█ ░░░░
░░░░ █▄▄█ █▀▀ ░░█░░ █▀▀ ▀▀█ ░░█░░ █▄▄█ ░░░░
░░░░ █░░░ ▀▀▀ ░░▀░░ ▀▀▀ ▀▀▀ ░░▀░░ ▀░░▀ ░░░░
█████████████████████████████████████████████
adsf
asdf
hi

hello

hi