Skip to main content

Posts

Showing posts from May, 2011

Small remake of Acpitool based power widget for Awesome3

Frist you need to have acpitool installed which is basically a Linux ACPI client, allowing you to query or set ACPI values and display them. Basically said it parses /proc/acpi or /sys/class entries and presents the output in a well formatted text. Acpitool is available in most of the Linux distros and the requirement is that your kernel has the support for ACPI, which it probably does.

Here is the code, also don't forget to register  mybattmon to the widget list in rc.lua


mybattmon = widget({ type = "textbox", name = "mybattmon", align = "right" }) function battery_status () --output buffer local output={} -- read data from battery local fd=io.popen("acpitool -b", "r") local line=fd:read() -- we match the output from acpitool local battery_load = string.match(line, " (%d*\.%d+)%%") local time_rem = string.match(line, …

Today I learned about YouTube Snake

Apparently you can play snake on YouTube while the clip is playing or loading.
I acceptedly found this Easter Egg while using the up key.
There is a web site for this http://www.youtubesnake.com/.
Also it's been a while here since 2010.
When a video is selected, press the [left] key for two seconds and [up] key. 
So play it now :)

Comodore on projector

Comodore on projector, a photo by Mite.Mitreski on Flickr. Comodore on projector

Inside look at amilo xa 3530

Inside look at amilo xa 3530, a photo by Mite.Mitreski on Flickr. Inside look at amilo xa 3530. This is pobably one of the worldst worst laptops. Low qualty plastic, bad desgin, overheating issues and finaly now its dead. Fujitsu-simens should not be allowed to write "design in Germany" on such low qualiy productsPublished with Blogger-droid v1.6.8

Pimp my bike

LED on bikePublished with Blogger-droid v1.6.8

Firefox release party

Firefox release party, a photo by Mite.Mitreski on Flickr. Firefox release party, a few week old but still great