Skip to content

Instantly share code, notes, and snippets.

@hakerdefo
hakerdefo / sources.list
Created April 15, 2022 19:56
Debian Testing complete sources.list
View sources.list
deb https://ftp.debian.org/debian/ testing main non-free contrib
# deb-src https://ftp.debian.org/debian/ testing main non-free contrib
deb https://ftp.debian.org/debian/ testing-updates main non-free contrib
# deb-src https://ftp.debian.org/debian/ testing-updates main non-free contrib
deb https://ftp.debian.org/debian/ testing-proposed-updates main non-free contrib
# deb-src https://ftp.debian.org/debian/ testing-proposed-updates main non-free contrib
deb https://ftp.debian.org/debian/ testing-backports main non-free contrib
@hakerdefo
hakerdefo / sources.list
Created April 15, 2022 19:53
Debian Stable complete sources.list
View sources.list
deb https://ftp.debian.org/debian/ stable main non-free contrib
# deb-src https://ftp.debian.org/debian/ stable main non-free contrib
deb https://ftp.debian.org/debian/ stable-updates main non-free contrib
# deb-src https://ftp.debian.org/debian/ stable-updates main non-free contrib
deb https://ftp.debian.org/debian/ stable-proposed-updates main non-free contrib
# deb-src https://ftp.debian.org/debian/ stable-proposed-updates main non-free contrib
deb https://ftp.debian.org/debian/ stable-backports main non-free contrib
@hakerdefo
hakerdefo / sources.list
Created April 15, 2022 19:42
Debian Sid (Unstable) complete sources.list
View sources.list
deb https://ftp.debian.org/debian/ sid main non-free contrib
# deb-src https://ftp.debian.org/debian/ sid main non-free contrib
@hakerdefo
hakerdefo / sources.list
Last active May 23, 2023 10:32
Ubuntu 22.04 LTS (Jammy Jellyfish) complete sources.list
View sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@hakerdefo
hakerdefo / interesting_stocks.md
Created March 18, 2018 15:56
For The Love Of Money Is The Root Of All Evil
View interesting_stocks.md
Stock
8K Miles Software Services Ltd
Ajanta Pharma Ltd
apl apollo tubes ltd
Ashok Leyland Ltd
Avanti Feeds Ltd
Bharat Rasayan Ltd
Caplin Point Laboratories Ltd
gabriel india ltd
@hakerdefo
hakerdefo / byobu_F-keys_in_tty.md
Last active September 19, 2021 03:37
Make Byobu's F-keys keybindings work in virtual console (TTY).
View byobu_F-keys_in_tty.md

Byobu's F-keys keybindings were not working for me in virtual console a.k.a TTY. However, the Byobu F-keys keybindings were working fine in X Window terminals (LXTerminal, Sakura, Terminology, Xfce-Terminal) under X-Window-System. It was perplexing. 'byobu-keybindings' script written by Byobu author Dustin Kirkland to check the Byobu keybindings was giving me "Byobu keybindings: [ON]" message but F-keys were failing me in virtual console (TTY). Very perplexing indeed, mysterious even. I changed Byobu backend from tmux to screen and back but alas no joy. Google and DuckDuckGo also decided to left me high & dry this time. So it was time for soul-searching and man-page reading. After traveling through a gazillion man-pages, wrestling with escape codes & sequences, here, ladies & gentlemen is the holy grail.

If you use Bash as your login shell, add following code to your ~/.bashrc or /etc/bashrc or /etc/bash.bashrc

shopt -q login_shell
RETVAL=$?
if [[ "$RETVAL" == 0 ]] ; then
export TERM='linux'
else