Alexander Gudulin
4 subscribers
29 photos
24 links
My travel photography and software development notes. On the web https://journal.gudulin.com
Download Telegram
Belgium
24 Jan—27 Jan, 2019

Our trip has started in Schönefeld, Berlin where we sat down at a random gate for afternoon sandwich with smoked salmon and sweet mustard.

Then the whole flight I was trying to get asleep but had to listen to a flight assistant talking about good restaurants in Berlin.

But then, like a flash, it came to me. And I realised, fuck man, maybe that's what hell is: the entire rest of eternity spent in this uncomfortable chair listening to a guy with no taste. And I really really hoped I wouldn't die. I really really hoped I wouldn't die.

https://journal.gudulin.com/trips/2019/belgium
OpenBSD On MacBook Pro: Connect to Wi-Fi

OpenBSD on Macbook Pro Late 2011: Connect to Wi-Fi and Ethernet networks.

https://journal.gudulin.com/tech/2019/openbsd-on-macbook-connect-to-wifi
Venice
23 Mar—25 Mar, 2019

Blue sky, happy dogs, emotionless tourists in gondolas.

https://journal.gudulin.com/trips/2019/venice
Spain
15 May—20 May, 2019

I stayed 3 days in Malaga, working remotely. Switching from sunglasses to the beer glasses and back.

https://journal.gudulin.com/trips/2019/spain
France
1 Jun—9 Jun, 2019

We were living in Buzet-sur-Baïse for a week, travelling between winaries and truffle farms on bikes.

https://journal.gudulin.com/trips/2019/france
Corfu
17 Oct—24 Oct, 2019

On Corfu, black cypresses are very dangerous. While you sleep, their roots grow into your brains and steal them, and when you wake up you are mad, head as empty as a whistle. So be warned, little lord, and don't sleep here.

https://journal.gudulin.com/trips/2019/corfu
How to delete environments on GitHub
14 May, 2020

There is no way you can delete a deployment environment using GitHub UI or API. But you can delete all the deployments for one environment, and then it will be gone.

Create a new security token with repo_deployments allowed: https://github.com/settings/tokens.

In the scripts below, replace $TOKEN with the new token, $USER and $REPO with your data, and $DEPLOYMENT_ID with the id of deployment you want to delete.

Get a list of all deployments

curl -u $USER:$TOKEN https://api.github.com/repos/$USER/$REPO/deployments

Make deployment inactive

curl -u $USER:$TOKEN\
-X POST\
-H "Content-Type: application/json"\
-H "Accept: application/vnd.github.ant-man-preview+json"\
-d '{"state": "inactive"}'\
https://api.github.com/repos/$USER/$REPO/deployments/$DEPLOYMENT_ID/statuses

Delete deployment

curl -u $USER:$TOKEN\
-X DELETE\
https://api.github.com/repos/$USER/$REPO/deployments/$DEPLOYMENT_ID

https://journal.gudulin.com/tech/2020/how-to-delete-environemnts-on-github
Cambodia
19 Jan—28 Jan, 2020

It all started in Paris. My flight from Berlin was a bit earlier than the one from Malaga, so 30 minutes in advance I was waiting for Alex in CDG.

People stacked in the queues. Chatting, smiling, texting, drinking coffee, looking after kids, looking after their luggage. They were standing up from the chairs and joining the queues, one after another.

"This is the final boarding call for passenger Mr. Odell" - reported by a French airport employee. I’d never felt so unsure of the future; and when I reminded myself of the possibility to go on vacation alone, Alex showed up, red and happy.

https://journal.gudulin.com/trips/2020/cambodia
Few little scripts
19 Dec, 2021

Just a few little scripts I have that help me with everyday life.

dev server

npx parcel pubilc/index.html

No config file required and the app automatically updates in the browser without refreshing the page.

deployment

rsync -a --stats -e "ssh -i /path/to/rsa_key" public/* user@host:/var/www/project

Sync a local directory with the remote server by making a recursive copy with respect to symlinks. Works great with static web sites.

download video description

yt-dlp -o "%(title)s--%(id)s--%(upload_date)s" \
--playlist-start 1 \
--playlist-end 5 \
--write-description \
--skip-download \
https://www.youtube.com/playlist?list=PLtHtm5qCHV23Z7HVycqXBwKS8Y-jZ2d4S


Go through the last five episodes in a playlist and download their video description.

https://journal.gudulin.com/tech/2021/scripts