- top/htop -> bpytop, bottom
- ps -> procs
- cat -> bat
- sed -> sad
- find -> fd
To backup your old system:
rsync -aAXhv --exclude={"/dev/*","/lost+found","/mnt/*","/media/*","/proc/*","/run/*","/sys/*","/tmp/*","*cache"} / /[TARGET]
- Do
efivar --list - If you get any feedback, watch out for EFI specifics in this guide.
- Warning: Some of the
yaypacakges do take much time. You will at least spend an evening, installing all.
Table of Contents
This gist contains example of how you can configure nginx reverse-proxy with autmatic container discovery, SSL certificates generation (using Let's Encrypt) and auto updates.
Features:
- Automatically detect new containers and reconfigure nginx reverse-proxy
- Automatically generate/update SSL certificates for all specified containers.
- Watch for new docker images and update them.
- Ban bots and hackers who are trying to bruteforce your website or do anything suspicious.
https://github.com/reireias/dotseeker
grep -r -E -v -h '^\s*#' files | grep --color=none -E "^\s*alias " | sed -e 's/#.*//g' -e 's/^\s*//g' -e 's/\s*$//g' | sort | uniq -c | sort -nr 90 alias ls='ls --color=auto'
87 alias grep='grep --color=auto'
59 alias fgrep='fgrep --color=auto'
59 alias egrep='egrep --color=auto'
This is a docker-compose file for a simple, secure torrent setup. It includes [rTorrent] (a torrent client), [flood] (a web interface for rTorrent), [OpenVPN] (to tunnel traffic through your ISP) and a simple iptables firewall to allow rTorrent to only access the internet through a VPN.
To run everything, put your open vpn configuration file in ./vpn.ovpn and the
other configuration files from this gist in a directory then go to that
Command Flags
| Flag | Options | Description |
|---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |
This Guide will help you install Kali Linux in Android, that too with a GUI Desktop Environment within Android. It uses Termux to run Kali Linux in Android with XFCE4 Desktop Environment and a Tight VNC Server, which we connect to using a VNC Viewer app in Android.
- Download and install Termux in Android. (Play Store release is no more updated, so is not recommended.)
- Open Termux and run the following commands:
apt update && apt install python python2 openssh -y