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 # who.py def main(): f = open("/tmp/who.txt", "w") input("Press any key to continue...") f.close() ##### if __name__ == "__main__": 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 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python3 1288 jabba 3w REG 0,32 0 27 who.txt $ ps 1288 PID TTY STAT TIME COMMAND 1288 pts/0 S+ 0:00 python3 ./who.py
who.txt was opened by the process with PID 1288, which is the
Here is a nice collection of C-64 books: http://www.bombjack.org/commodore/books.htm .
The great Coomodore archive is here: http://www.bombjack.org/commodore/ .
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),
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.
There are several CBR viewers for Linux. I tried MComix and it’s quite nice.
(It is written in Python, BTW.)
If you want to use several Firefox instances with different profiles, read this post.
- close Firefox
- Start Firefox Profile Manager (
firefox -P) and create a new profile. Give a specific name to the new profile, e.g. “
- Launch Firefox normally. It will start the default (old) profile.
- Start another Firefox instance with the new profile:
firefox -P NewProfile -no-remote
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.
If you create a table with HTML, it’s static. It would be great if you could sort it by various columns. How to do that?