Spotify for Linux

March 2, 2015 Leave a comment

I tried Spotify today for the very first time. Not bad :) “Spotify is a commercial music streaming service… Music can be browsed or searched by artist, album, genre, playlist, or record label. Paid “Premium” subscriptions remove advertisements and allow users to download music to listen to offline.” (source)

Visit, register for free, then install the Linux client. It works well. So far I’ve used, but Pandora is not available in my country, thus I need to use a US proxy if I want to listen to it. Spotify, on the contrary, is available at us, so there is no need to do such tricks. And it’s free.

(Thanks to gegerigo for showing me Spotify on his machine.)

Categories: entertainment Tags: , ,

Which process opened a file?

March 1, 2015 Leave a comment

Ever wondered who (which process) opened a given file? There is a Unix command to answer this question called lsof (“list open files”). Read more about it at wikipedia.

Execute the following script:

#!/usr/bin/env python3


def main():
    f = open("/tmp/who.txt", "w")
    input("Press ENTER to continue...")


if __name__ == "__main__":

Make it executable and run it. In another terminal issue the command “lsof /tmp/who.txt“. You’ll get a similar output:

$ cd /tmp

$ lsof who.txt 
python3 1288  jabba    3w   REG   0,32        0   27 who.txt

$ ps 1288
 1288 pts/0    S+     0:00 python3 ./

The file who.txt was opened by the process with PID 1288, which is the script.

Categories: bash Tags: , , ,

Commodore 64 books

February 26, 2015 Leave a comment

Here is a nice collection of C-64 books: .

The great Coomodore archive is here: .

Categories: book, commodore

What comes after torrent?

February 23, 2015 Leave a comment

Today I found an excellent application called Popcorn Time. Are you tired of waiting 10 minutes for your torrent to be fully downloaded? Watch movies and TV Shows instantly! Popcorn Time streams movies and TV shows from torrents.

You can select quality and subtitles too! Pure awesomeness IMO.

I tried it under Manjaro and it’s available in the AUR. Under Ubuntu just download the archive and it contains a binary executable. And, they also have an Android client!

Popcorn Time uses the following torrent trackers: er.sty//:ptth (HD movies at the smallest file size); hc.vtze//:sptth (TV shows), moc.nahcihurah.www//:ptth (anime).

As I read it in /r/popcorntime, “you can ctrl+v paste magnet links in popcorn time or drag torrent files into it if it doesn’t have the show you want. It will take any torrent, it just only displays YTS and eztv”. Cool.

CBR viewer for Linux

February 13, 2015 Leave a comment

There are several CBR viewers for Linux. I tried MComix and it’s quite nice.

(It is written in Python, BTW.)

Categories: linux Tags: , , ,

Using several Firefox instances with different profiles

February 12, 2015 Leave a comment

If you want to use several Firefox instances with different profiles, read this post.

In short:

  • close Firefox
  • Start Firefox Profile Manager (firefox -P) and create a new profile. Give a specific name to the new profile, e.g. “NewProfile“.
  • Launch Firefox normally. It will start the default (old) profile.
  • Start another Firefox instance with the new profile: firefox -P NewProfile -no-remote

10 million passwords

February 10, 2015 Leave a comment

Do you want 10 million username/password combinations? Strictly for research purposes, of course. If yes, then check out this blog post. Magnet link at the bottom.

Categories: Uncategorized Tags: , ,

Get every new post delivered to your Inbox.

Join 76 other followers