TIL
Today I Learned
Things I Learned today, found on Simon’s Blog, and repo can be found here: Repo
136 TILs so far.
Recently Added/Updated TILs
- Installing Python2 On Alpine
- Programming Languages
- Remove PPA From System
- Resolve Hostname To IP Address
- Programming Languages
Categories
~ Linux
- Add User To System
- Beautify Logs
- Benchmark System
- Change Default Shell
- Change Hostname Of A system
- Changing User Password In Shell Script
- Check If A Package Is Installed Or Not
- Check If A Port Is In Use
- Check If A User Exists
- Check Open Port
- Create Symbolic Links
- Enable SSH Server
- Fix Permission For Newly Created Partitions
- Fix Windows And Linux Different Time Issue
- Get Arch Of System
- Increase Limit of Inotify Watchers
- Install Latest NodeJS In Linux
- Install Postman
- Kill A Process In Linux
- Mount Partition On System Startup
- OpenVPN Server
- Ping over TCP
- Pipe Password to Sudo
- Remove PPA From System
- Remove User Password
- Root Check in Scripts
- Run Go Binaries Without Installing Go
- Set Different Time Zone
- Show Disk Usage By Directories
- Show Public IP
- Show Size of Current Directory
- System Ugprade
- Tar Exclude Directories
- Tar Retain File Permissions
~ Alpine
- Adding User On Alpine
- Chaning Timezone On Alpine
- Installing Ansible On Alpine
- Installing Dig On Alpine
- Installing Pip On Alpine
- Installing Python2 On Alpine
~ APT
~ BASH
- BashTOP Resource Monitor
- Case Statements
- Concatenate Strings
- Custom Shell Prompt
- Length of String in Variable
- Test Regular Expression Against A String
- Pass Arguments while Piping
- Read Command Output In Reverse Order
- “set -e” In Scripts
- Set MacOS Like Terminal Font
- Shell Formatter
- Yes
~ Curl
~ GPG
~ Grep
- Grep Case Insensitive Search
- Grep Count Occurance
- Grep Invert Search
- Grep Quiet Mode
- Grep Search For Multiple Strings
- Remove Empty Lines
~ Networking
~ SSH
~ Systemd
~ Tcpdump
Ubuntu
~ Ansible
~ Caddy Server
~ Cheatsheets
- Bash Cheatsheet
- Grep Cheatsheet
- Markdown Cheatsheet
- MongoDB Cheatsheet
- Python Cheatsheet
- ReactJS Cheatsheet
- Regex Cheatsheet
~ Docker
- Docker Exec
- Docker Publish Port
- Docker Run Without Cache
- Docker Run
- Install Docker
- Install Ping in Docker
- Pass Build Time Arguments To Docker Build
- Remove Container When It Exits
- Remove Unused Data
- Run Docker without root
- Setup Docker Buildx For Multi Arch Builds
~ Git
~ Go
~ Learning Resources
~ Misc
~ Python
- Add An Item To Dictionary
- Check If A Key Exists In Dictionary
- Check If a String is Empty
- Check Image Size
- Convert List To Tuple
- Execute Python Code in Command Shell
- Formatted Strings
- Get IP Address From Hostname
- Limit Floating Point To Two Decimal Places
- Measure Latency Using TCP
- Pass List as Argument to a Function
- Print Tabular Data
- Python Padding Strings
- Read A File Line By Line
- Remove A File
- Remove Trailing Spaces And New Lines From A String
- Run Python Script in Background
- Split String with Delimiter
- Validate IP Address