Dev Video: A Few Linux Shell Tips


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94


My 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency) – By tutoriaLinux

> What’s your favorite linux shell tip?

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Dev Tip: Use Tabs to Autocomplete File Paths


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Save your pair programming partner pain from watching you type out every letter in a file path.
Use tabs to auto complete the file paths!

Most commands support auto-completing file paths by inputting a few of the starting letters of the file path then hitting tabs.
This works in DOS, PowerShell, and the terminal in Linux and MacOS.

Protip: Create a custom alias to the directory that you’ll routinely navigate to.
More info here

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Dev Tip: Sort content in clipboard on MacOs & Linux


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Run this in your terminal to sort the text in your clipboard

pbpaste | sort | pbcopy

Use `sort -n` to sort lines beginning with numbers.

pbpaste | sort -n | pbcopy

Code Break Down:
`pbpaste` paste the clipboard content into the standard input.
`sort` sorts the standard input.
`pbcopy` copies what comes from the standard output.

Run `man sort` to fine out more about the sorting options.

In Linux, you can add support for `pbpaste` and `pbcopy` by adding aliases commands to `xclip` in your ~/.bash_rc.
More information here

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Video: SuperBugs Explained


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

The Antibiotic Apocalypse Explained – By Kurzgesagt – In a Nutshell

> In 1300s the Black Death is estimated to have killed 30 – 60% of Europe’s total population. The next superbug could be much much worse.

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube