VIM video tutorials

Standard

Over the past or so year I have been heavily using `Vim` as my main text editor for Python scripting and LaTeX editing of my CV as well as taking notes from occasionally. Moreover, over the past few months I’ve added `tmux`, a terminal multiplexer similar to screen,  to my environment to get a great combination with `Zsh`. If you love the Linux terminal as I do this is a great combination. Each of these three tools is very popular and very expandable and customizable.

`Vim` has a steep learning curve and it will take a lifetime of use to master it. So if you do not like the terminal I would recommend against using vim as it is a terminal-based text editor which heavily depends on keyboard shortcuts and is not for people who like to use the mouse. However, do not be

Searching for vim will yield a variety of text and video tutorials as well hour plus long talks. Each has its own however I recently discovered TheFrugalComputerGuy on Youtube and his videos are quite easy to follow for beginners. I recommend them to everyone especially beginners. A playlist is embedded below. Another video below it is a good way to improve your vim speed by using (or not) some features.

Also, I have previously shared vim games that help learn vim in a fun way.

And of course the VimTutor is a great way to learn about vim. Simply type vimtutor in the terminal to begin your learning journey.

Advertisements

Anaconda Python needs cleaning every once in a while

Standard

As a user of Anaconda python I have been receiving (Ubuntu) system warnings of low free space in my home directory. Investigating what was causing this I found out that Anaconda python had several versions of each package. The overall size of the pkgs directory was 14+ GB. After cleaning it is about 3GB.

The second largest directory was my mail in Thunderbird.

So it would be wise, especially if you are limited in disk space, to clean Anaconda. The commands I used are as follows:

 
conda clean --all
conda update conda
# just to make sure nothing is broken and
# your environment is updated
source activate <your-environment>
conda update --all
conda clean --all

The Bash Hackers Wiki [link]

Link

The Bash Hackers Wiki

This wiki is intended to hold documentation of any kind about GNU Bash. The main motivation was to provide human-readable documentation and information so users aren’t forced to read every bit of the Bash manpage – which can be difficult to understand. However, the docs here are not meant as a newbie tutorial.

Real-time Collaborative Coding with Github’s Teletype for Atom

Standard

Github announced today the Teletype package for Atom, package for real-time collaborative coding. Below is an animation and video of how it works.

https://camo.githubusercontent.com/6ca046b659fe0960dae68750a17577f97a0f6500/687474703a2f2f626c6f672e61746f6d2e696f2f696d672f706f7374732f74656c65747970652f636f64652d746f6765746865722e676966

via Github blog

 

 

Remove Exif data from Images in Linux, How to

Standard

Images usually contain metadata referred to as exif data. Nowadays this includes your camera or phone name and model. Also the location where the image was taken is also included if the GPS is enabled and you did not turn off geo-tagging.

Here’s how such exif data looks like (excluding location which I have disabled):

exiftool IMG_20171010_223446.jpg

Continue reading

Facebook Introduces Physical Keys (FIDO U2F) as Security

Standard

Today, January 26, Facebook announced that they have introduced ‘physical keys’ (i.e. usb keys) as an option of the two-factor authentication. Google has already introduced this two years earlier.

A few years ago two-factor authentication was introduced by Google and Facebook among many other companies which allowed the user to set an extra security measure to avoid loosing their account in case their password was stolen. This extra layer required the user, if using a new computer or IP, to enter an authentication code generated (regularly) through an app (e.g. Google’s authenticator for Google accounts).

Continue reading

Check if you’ve had a security breach

Aside

Many of the popular websites and services have been or at some point or will be targetted and exploited. As a result, it is most likely that at least one of your online accounts has been pwned at some point. This doesn’t mean your account has been cracked but it could mean that some of your private information has been leaked (e.g. email, password, personal info like date of birth, etc…). Recently Gmail has been exploited by attachement phishing.

There’s no guaranteed way to check if your account has been hacked but one way is to check if you’ve been pwned. Just enter your username or email to check if you’ve been pwned.