In 2017 I
- turned 23
- took up photography
- got commissioned a few times, for art and for code
- crashed my car zero times, compared to twice in 2016
- got a bike
- got my bike stolen
| import pickle | |
| from mastodon import Mastodon | |
| INSTANCE = 'http://localhost:3000' | |
| with open('app_credentials.pickle', 'ab+') as f: | |
| try: | |
| f.seek(0) | |
| (client_id, client_secret) = pickle.load(f) | |
| except Exception: |
| /* | |
| born to queue | |
| sidekiq is a fuck | |
| retry all 1989 | |
| i am task man | |
| */ | |
| @-moz-document regexp(".*/sidekiq(?:$|/.*)") { | |
| a[href$="/morgue"] span.desc::after { | |
| content: " cops"; |
| # sidekiq.chart.sh by codl <codl@codl.fr> | |
| # | |
| # put this in /usr/libexec/netdata/charts.d | |
| # to let others know that | |
| # you are gay too | |
| sidekiq_update_every=5 | |
| sidekiq_priority=9000 | |
| sidekiq_check() { |
On 2018-08-11, from 01:36 to 04:13 UTC, chitter.xyz suffered an outage.
all times UTC
convert processes start hoarding memory| import psycopg2 | |
| db = psycopg2.connect('postgresql:///mastodon_development') | |
| cur = db.cursor() | |
| for i in range(500): | |
| screenname = "bogus_{}".format(i) | |
| email = "bogus_{}@m.codl.fr".format(i) | |
| acc_to_follow = 1 |
| vcl 4.0; | |
| backend b2_f001 { | |
| .host = "127.0.0.1"; | |
| .port = "50676"; | |
| } | |
| backend s3_eu_west_1 { | |
| .host = "127.0.0.1"; | |
| .port = "29738"; |