Archive

Archive for April, 2016

[manjaro] XFCE theme looks strange after an update

April 27, 2016 Leave a comment

Problem
Manjaro had a major update at the end of April 2016 and after that my XFCE theme looked very strange.

Solution
In this thread I found that GTK3 was updated to version 3.20 and my current theme doesn’t support it. Solution: choose a different theme.

I chose the vertex-maia theme since it looks similar to my old theme. With Xfce Theme Manager I set this configuration:

  • theme: Vertex-Maia
  • windows borders: w8
  • icons: Menda-Circle
  • cursors: aero-drop
Advertisements
Categories: manjaro Tags: ,

listen to Pandora Radio, even if you are not a US citizen

April 21, 2016 Leave a comment

Problem
If you are a peasant like me living outside of the US but you still want to listen to Pandora Radio, which is only available in the center of world (USA), then what can you do?

Solution
There is a very simple solution now. Opera offers free VPN, built directly in the browser. You can choose between German, Canadian or American VPNs. Currently this feature is only available in the development version of Opera. So here are the steps:

  1. install Opera (development version)
  2. install Flash player for Opera (Pandora is a Flash-based website)
  3. visit pandora.com just to see that you are kicked out
  4. enable VPN: with Alt+P you can access the Settings, go to Privacy & security, then enable VPN
  5. Open an arbitrary site. On the left side of the URL bar you’ll see that VPN is activated. Click on it and select United States.
  6. Visit pandora.com again. Strangely, you are let in this time…

hacking with URL shorteners

April 18, 2016 Leave a comment

This article (https://freedom-to-tinker.com/blog/vitaly/gone-in-six-characters-short-urls-considered-harmful-for-cloud-services/) just gave me an excellent idea…

In a nutshell: these URLs are so short that you can explore a lot of them with a simple brute force approach. Just generate a random hash and there is a high chance that it points to somewhere.

Example: with bit.ly I generated a link: http://bit.ly/1bNGJd3 . I tried to modify some characters in the hash and in most cases it pointed to somewhere…

syntax highlight your code and paste in Word

April 14, 2016 1 comment

At http://planetb.ca/syntax-highlight-word you can find a nice syntax highlighter. It supports Python, HTML, Java, and several other languages. The rendered output can be copy-pasted to a Word document and it’ll look the same and remains editable in Word. Pretty cool.

It’s also useful if you want to make a screenshot of the syntax highlighted code. Here is an example:

sum

Thanks to Peter F. for the link.

vuze crashes after some time

April 12, 2016 Leave a comment

Problem
I like the bittorrent client Vuze but it crashes on some of my machines after a while.

Solution
I wrote a monitoring script that is checking if vuze is running. If vuze dies, the script restarts vuze automatically.

The source code is here: https://github.com/jabbalaci/Vuze-Restarter .

Categories: linux, manjaro, python