Download all files of (a) certain type(s) from a website

16 Feb

If you get a "Forbidden" error for certain folders, it might help to start at the root of the site.

wget --recursive --no-directories --level=2 --accept pls,PLS,m3u,M3U \
--reject "*32.pls","*24.pls" \
http://somafm.com/ ; rm robots.txt

This will download all playlists for all s...

Continue...


Bash prompt and Icon font

09 Feb

Thanks to Head_on_a_Stick, who made me aware of powerline and its accompanying fonts. I'm a long-time user of the Terminus font, and I was very happy to find a patched version called Terminess.

However, powerline itself seems far too convoluted for my needs, and even after studying the docs...

Continue...


Some AUR packages (git and such) need manual upgrading

06 Feb

AUR packages don't automatically recognize commits made to git repositories, so to be sure that your git packages are up-to-date, you would have to check them manually, and rebuild where necessary.

Yaourt can automate that process.

yaourt -Syua --devel

This will first upgrade packages from...

Continue...


TempuraFlat GTK2, GTK3, Openbox and Tint2 Themes

06 Feb

This is based on a really old GTK2 theme, Tempura. I applied the colors and flat shapes to one of the excellent Bunsen themes. This was a manageable task for GTK2, but GTK3... that took me a while. The amount of config text must be about ten times of the GTK2 config text. Upside: It's all CSS...

Continue...


Getting email to work with ssmtp, openmailbox.org and Grav

05 Feb

My server is running debian stable (jessie).
Recently I had been messing around with different mailing setups, which resulted in total breakage of email sending, as often required by a CMS, usually via php and sendmail.

Continue...