Firecrest Responsive on Github
The theme is now public. I also wrote README explainig how to use this theme.
fsLeg's blog Some random posts will go here.
The theme is now public. I also wrote README explainig how to use this theme.
Do you want your computer to generate some music for you? Then you are in luck - the following code snippet does just that (Linux only; adjust the playback method for other systems). The resulting “music” will play for about 4m22s and then loop back. The attached audio is just a short sample. $ echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay (If aplay gives you error, try putting the C code into a *.
I made pages to test your browser’s support of various audio and video formats. Instead of relying on some JavaScript (which doesn’t always report the correct information), I put the actual media files so you could test them.
I thought it would be boring to put the same video/audio, so I used different files.
It was inspired by this page.
I reworked my Opera SlackBuild, now it can be used to make packages for all three Opera flavors: Stable (not yet released), Beta and Developer. I also included an option to build local ffmpeg libraries for the browser to support H.264 video and MP3 audio in HTML5 players. BTW, thanks to ml4711 from LQ for the solution to my problem with dynamic library linking! See README file for details about possible options.
I’ve been a bit busy with script writing, as you can see. But let me tell you everything in the right order. Mintstick As I said in my post on Google+, there’s a shortage on tools for USB sticks formatting. The one I chose in the end was mintstick. It’s simple enough for the average PC user and doesn’t have many dependencies. I was also considering Gnome Disk Util, which is for some reason like alpha and omega of easy to use formatting tools, but it requires gnome-common at very least, so I decided to go with mintstick, which I really liked.
It took me a couple of days (the whole weekend minus time for watching livestreams) and a lot of effort (I don’t know PHP and generally can’t write anything more complex than simple scripts), but it seems to work. The result is my previous post. The feather (extention for Chyrp blog CMS that provides new format for your posts) is based on the default Photo feather, except there’s no Alt-Text field.
Not Presto, but the new, Blink one, that is based on Chromium. Shitty or not, this is new Opera, and this is their first release for Linux. It’s been only a year… Anywho, I wrote a SlackBuild for it. It also makes use of alienBOB’s Chromium PepperFlash package, so now you can have the latest Adobe Flash in two browsers (which are basically the same thing though). Be warned that:
Yesterday I discovered Popcorn Time. No, I’ve heard about it for a while, but I only tried to watch something with it yesterday. (If you’re interested, it was Madagascar trilogy after I watched this video.) It’s very convenient: just fire up the app, choose your movie and hope you have enough popcorn. You may say something about piracy. Yes, the app is very controversial. But I have two reasons to use it.
#!/usr/bin/env python #-*- coding: UTF-8 -*- import sqlite3 import mutagen.id3 from mutagen.easyid3 import EasyID3 from mutagen.mp3 import MP3 from subprocess import call def getStuff(database): conn = sqlite3.connect(database) c = conn.cursor() result = c.execute("SELECT LocalCopyPath, Title, Album, Artist, Composer, Genre, Year FROM MUSIC WHERE Id IN (SELECT MusicId FROM SHOULDKEEPON)") stuff = [] for track in result: stuff.append(track) # Let's be good programmers and close the connection to database, even though there were only read operations conn.
It turned out, that I need a full featured website much less than a simple blog. I don’t want to have a blog on Tumblr, but I do like their implementation of it, so I went with Chyrp, which is pretty close. But then Chyrp died, so I moved to Hugo. The blog is NSFW, as I might occasionally post some pr0n and other disturbing stuff.