Archive

Author Archive

Atom 1.0 has arrived

June 27, 2015 Leave a comment

Atom is a text editor that’s modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.” (source)

This text editor is developed by GitHub. I remember the early versions didn’t exist for Linux, so I was disappointed, but this is no longer an issue. The editor is cross-platform and since version 1.0 came out, I decided to give it a try.

It’s very similar to the excellent Sublime Text editor. It’s visible that they copied lots of things from it :) However, ST is not open source and there is one guy behind ST, Jon Skinner. Atom is fully open source with a large community behind it that is hard to beat…

Question
How to use Atom for Python editing?

Answer
I found a blog post that can get you started: http://www.marinamele.com/install-and-configure-atom-editor-for-python . In addition, I also installed the package ‘script‘ that lets you run your script inside Atom.

Atom has the nice feature to change your settings via a GUI. In ST you need to edit JSON files directly.

All in all, Atom seems to be a nice editor. It’s still version 1.0, so I’m sure it’ll improve a lot, but I already like it.

youtube lectures on computer science

June 27, 2015 Leave a comment

free data science books

June 27, 2015 Leave a comment

16 free data science books for the aspirational data scientist, covering statistics, Python, machine learning, the data science process, and more.

http://www.wzchen.com/data-science-books

reddit comments here

Categories: book Tags:

Rotten Tomatoes has an API

June 12, 2015 Leave a comment

If you want to get info about a movie (e.g. rating, cast, etc.), there is imdbpy, which collects data from IMDb. I just found that Rotten Tomatoes has an API too: http://developer.rottentomatoes.com/.

Update (20150622): about two weeks ago I asked for an API key. I’ve got no response since then…

Update (20150623): I got an answer from them! Here it is:

Thank you for your interest in the Rotten Tomatoes API. Unfortunately, we are unable to grant access at this time.

Due to changes in our syndication program, we're currently only offering free API access to domestic students. This may change in the future as we add additional tiers to the program.

-The Rotten Tomatoes Team
Categories: api Tags: , , ,

convert .wmv to .mp4

ffmpeg -i input.wmv -c:v libx264 -crf 23 -profile:v high -r 30 -c:a libfaac -q:a 100 -ar 48000 output.mp4

More info here.

Categories: bash Tags: , , , ,

[manjaro] A file belongs to which package?

Problem
You have a file and you want to figure out which package it belongs to.

Solution

pacman -Qo FILE

Where FILE can be just the name of a file or its full path.

More info here.

Categories: manjaro Tags: , ,

Speed up Firefox page load by 44%

Details here.

In short:

  1. about:config
  2. privacy.trackingprotection.enabled -> true
Follow

Get every new post delivered to your Inbox.

Join 79 other followers