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
Advertisement

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

Your Phone, Tablet, and Computer Screens Aren’t Safe from Hackers

Standard

Pixels on your gadgets’ screens act as accidental antennae that constantly broadcast screens’ contents. A new paper says the industry needs to fix this security risk before hackers can exploit it.

This hack is possible because the internals of every computing device we own give off electromagnetic radiation. It leaks from the cables and circuitry that carry the display signal from the processor to the screen, and it’s even emitted by the screen pixels themselves. These pixels [Correct? Else what?] become accidental antennas that transmit the display signal into our surroundings—one that a would-be hacker could tune into.

via AGU Highlights – Radio Science – Your Phone, Tablet, and Computer Screens Aren’t Safe from Hackers

DOI: 10.1002/2016RS006034

WordPress has a Linux client?

Standard

Why haven’t I known about this earlier?

While going through my profile account I discovered there’s a desktop client for Linux and specifically an Ubuntu package.

I immediately installed. You can download it here or run this code to download and install it on you Ubunu machine:


cd ~/Downloads
wget -O wp.deb https://public-api.wordpress.com/rest/v1.1/desktop/linux/download?type=deb&amp;ref=getapps
sudo dpkg -i wp.deb
rm wp.deb

If you’re on a non-debian machine you canalso get the tarball and use your systems’ package manager to install it:


wget -O wp.tar.gz https://public-api.wordpress.com/rest/v1.1/desktop/linux/download

Now you can enjoy blogging within your Linux machine without openning a web browser.

Update: As a matter of fact, correct me if I’m mistaken, the client is a Unity web app.

Evernote in Linux

Standard

For some reason Evernote doesn’t seem to care about Linux users. They prefer to work on their (slow) web interface. I don’t understand how much harder is it to modify the Mac app for Linux?

The main reason I am writing this post is not to describe the available Evernote interfaces for Linux but to introduce a SublimeText package for Evernote and share a snippet I’ve made.

There is already some articles out there that describe the Evernote gui alternatives like this & this. So it suffices to just list them:

  • NixNote2
  • Everpad: includes a Unity lens but it doesn’t work in Ubuntu 15.04
  • Geeknote

Continue reading