oleg_log Telegram-Beiträge

Shelter for antisocial programmers "Oleg"
halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
about: https://t.me/oleg_log/3200
halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
about: https://t.me/oleg_log/3200
1,945 Abonnenten
1,865 Fotos
128 Videos
Zuletzt aktualisiert 11.03.2025 07:49
Ähnliche Kanäle

12,853 Abonnenten

7,303 Abonnenten

3,497 Abonnenten
Der neueste Inhalt, der von oleg_log auf Telegram geteilt wurde.
Why
tmux
is soooo unfriendly with mouse? It's 2024 bros, why I cannot scroll that easily?
Wow, real emoji research https://www.unicode.org/L2/L2023/23260-eye-bags-face-emoji.pdf
You can be banned on Github if you access it via ProtonVPN. Happened twice.
dafuq
dafuq
Probably the best script of 2024 for me
And again
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!"