oleg_log
1.73K subscribers
1.88K photos
131 videos
9 files
2.82K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
Download Telegram
passing torches to Austin and Cherry

https://groups.google.com/g/golang-dev/c/0OqBkS2RzWw

new era?
time to backup
oleg_log
time to backup
so, durov's arrest. wdyt ?
It ain’t much but it’s a honest clap
that's a huuuuge ➖ for Signal
Google is for when you don't give a shit about anything
Love this
Probably the best script of 2024 for me

And again gh/<username>.keys (https://t.me/oleg_log/5968)

#!/bin/bash

# Replace this with your GitHub username
GITHUB_USERNAME=$1
echo "Fetching for user $GITHUB_USERNAME"

# Fetch the public SSH keys from your GitHub account
GITHUB_KEYS=$(curl -s https://github.com/$GITHUB_USERNAME.keys)

# Check if the .ssh directory exists, if not create it
if [ ! -d "$HOME/.ssh" ]; then
echo "Creating ~/.ssh directory..."
mkdir -p "$HOME/.ssh"
chmod 700 "$HOME/.ssh"
fi

# Append the fetched GitHub public keys to the authorized_keys file
echo "Adding GitHub SSH keys to ~/.ssh/authorized_keys..."
echo "$GITHUB_KEYS" >> "$HOME/.ssh/authorized_keys"

# Set the correct permissions for the authorized_keys file
chmod 600 "$HOME/.ssh/authorized_keys"
echo "GitHub SSH keys have been added successfully!"
You can be banned on Github if you access it via ProtonVPN. Happened twice.

dafuq
Why tmux is soooo unfriendly with mouse? It's 2024 bros, why I cannot scroll that easily?
BTW, epic thing