$ ls -lh ./posts
// also on this box: ./practice, ./tools and ./games
Hacking sshpass (for a legitimate reason)
sshpass is a well known tool that everybody loves and hates at the same time, is very handy when you need to create scripts that use ssh…
cat hacking-sshpass-for-a-legitimate-reason.md →Critical thinking, informations, and decisions.
What is critical thinking?
cat critical-thinking-informations-and-decisions.md →diff: find differences of two files in remote machines
Scenario: we have two files in two remote servers and we want to find differences between them without copying files etc, the servers are…
cat diff-find-differences-of-two-files-in-remote-machines.md →bash tricks: how to copy ssh key to all /etc/host entries with an one-liner
Scenario: you have just landed to a company which does not have a an automation tool to copy your key to all hosts, to make things worse…
cat bash-tricks-how-to-copy-ssh-key-to-all-etc-host-entries-with-an-one-liner.md →grep: compare two unsorted files and get unique lines
Scenario: every day we run a report that produce a csv file with some IDs and we want to check the differences that those two files might…
cat grep-compare-two-unsorted-files-and-get-unique-lines.md →Dockerize a Python application, work with containers.
In this scenario we have a simple flask application that we want to dockerize, our application consists of a single file named server.py.
cat dockerize-a-python-application-work-with-containers.md →Python: List Comprehension tricks
What is List Comprehension?
cat python-list-comprehension-tricks.md →Linux: replace a character with another after N occurances of a character wit
We have the following scenario, we have a file with the following contents
cat linux-replace-a-character-with-another-after-n-occurances-of-a-character-wit.md →Linux parallel: how to execute a command in parallel and get arguments from a file
Parallel is a command that can help you do your work faster because it can execute your commands in parallel.
cat linux-parallel-how-to-execute-a-command-in-parallel-and-get-arguments-from-a-file.md →