I hereby claim:
- I am brossetti1 on github.
- I am brossetti1 (https://keybase.io/brossetti1) on keybase.
- I have a public key ASANGNqg1IjCMOv0QDBUhTvrmM1ty3w8P14XRSubi3qVgAo
To claim this, I am signing this object:
| {"id":0,"name":"Bitcoin","owner":"0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c"} | |
| {"id":1,"name":"Trump","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":2,"name":"King","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":3,"name":"Joe","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":4,"name":"china","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":5,"name":"usa","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":6,"name":"love","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":7,"name":"covid19","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":8,"name":"Obama","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} | |
| {"id":9,"name":"buterin","owner":"0x874c44A007168b1f4B260Bc7017504D151b0aF7a"} |
| # space150 vine-to-GIF | |
| # given a vine.co uri, downloads the MP4 and creates an image sequence / GIF from it | |
| # requires ruby, ffmpeg, and imagemagick | |
| require 'open-uri' | |
| require 'nokogiri' | |
| id = ARGV[0] | |
| # try to convert from URL to id. |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Command Line
pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb - load your rails into a pry sessionDebugger
| class MyClass | |
| # All of these are equivalent | |
| def self.myMethod | |
| true | |
| end | |
| def MyClass.myMethod | |
| true | |
| end |
| https://angularfirebase.com/ | |
| https://1stwebdesigner.com/copy-and-paste-css-animation-cheat-sheets/ - copy paste css animations |
| # first: mkdir user && cd user && cp /path/to/get_gists.py . | |
| # python3 get_gists.py user | |
| import requests | |
| import sys | |
| from subprocess import call | |
| user = sys.argv[1] | |
| r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |