Here's a couple of recommendations from you guys for the February - March UP Bookshelf.
This list has been arranged randomly
- Flowers for Algernon by Daniel Keyes: Well this book is really short[There is a longer adaptation of this book]. It can be finished in one sitting. This book is a memoir of sorts of a mentally impaired man's journey's search for intelligence. Definitely an interesting one.
- Behind the Beautiful Forevers by Katherine Boo: This is as real with life one can get. Explore life in poverty with Katherine Boo. This book puts life into perspective.
- Crime and Punishment by Fyodor Dostoyevsky: Can be a difficult read, buy its very telling of the human condition.
- The Subtle Art of Not Giving A Fuck: A Counterintuitive Approach to Living a Good Life by Mark Manson: The title speaks for itself.
- The Tao of Coaching: Boost Your Effectiveness at Work by Inspiring and Developing Those Around You by Max Landsberg: A self-h
Here are a couple of useful shortcuts that are quite useful while working on the terminal
- Up/ Down Arrows: Move through your last used commands.
- Ctrl+left and Ctrl+Right: Jumps between arguments in your commands.
- Home and End or Ctrl+a or Ctrl+e: Move your cursor to the beginning and the end of the currently typed command, respectively.
- Ctrl+u: Clears the entire line so you can type in a completely new command.
- Ctrl+k: This deletes the line from the position of the cursor to the end of the cursor.
- Ctrl+w: Deletes the word before the cursor only.
# Untar and gunzip a .tar.gz file or .tgz or .z
tar xzvf
# Previewing file contents
tar tzvf filename
# Untar and bunxzip a .bzip2 file
tar xjvf filename
# See what devices are currently mounted
df -h
# or alternatively
lsblk
# Unmount the SD card
umount /dev/sdXX
# Writing image to SD card
A Pen by Bonface Munyoki on CodePen.
sudo pacman -S x11vnc
x11vnc -display :0 auth ~/.Xauthority
Set up any vnc viewer on the host machine
Finally run:
vncviewer :0
Something I wrote from some really weird social challenge on tonguetwisters I've been seing everywhere.
espeak "Tongue Twister challenge with some bit of help. Here goes: The sixth sick sheikh's sixth sheep's sick" --stdout | ffmpeg -i - -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 final.mp3
# For installing dependencies to vendor/
composer install
# Spinning up the server
php artisan serve
# Setting up the db
php artisan migrate
php artisan db:seed
Operator | Meaning |
---|---|
${parameter#pattern} | Remove the shortest string that matches the pattern if it’s at the start of the value |
${parameter##pattern} | Remove the longest string that matches the pattern it it’s at the start of value |
${parameter%pattern} | Remove the shortest string that matches the pattern if it’s at the end of the value |
${parameter%%pattern} | Remove the longest string that matches the pattern it it’s at the end of value |
${parameter/pattern/replacement} | Replace the first string that matches the pattern with the replacement |
${parameter//pattern/replacement} | Replace each string that matches the /pattern/with the replacement |
${parameter/#pattern/replacement} | Replace the string that matches the pattern at the beginning of t |