Calendar

<<February>>
MoTuWeThFrSaSu
  12345
6789101112
13141516171819
20212223242526
272829    

Updates...

Thu, 03 Dec 2009 15:43 - Daniel - Other - Comments (0)


I should probably write something about the latest addition to the site. Well, lets see.

First, the development/code section is now at dev.pew.cc and svn.pew.cc respectively. Every project that I work on and want to publish gets a folder at svn.pew.cc and an entry at dev.pew.cc.

Next is yabs. yabs is now at version 0.8.0. No big changes since the last release candidate. The next minor version is in the works and includes mostly bugfixes. The next major version will include a improved template system, but this requires extensive changes to the admin panel, so it will take some time to get this release out. Don't hold your breath.

The last thinig is img.pew.cc. This is a image hosting service. Think imagshack.us if you want. When you upload an image it will sotre it on the server, create a preview pic and give you some code snippets for linking to the image. You also can and should tag your image and the site will suggest tags based on the letters you entered so far.

There are currently no limits to who can upload or how much. If the service gets abused I'll implement limits, but for now you can enjoy it as it is.

The code for img.pew.cc is at svn.pew.cc/img and there is a wiki page at dev.pew.cc.

And last but not least there are a few new plugins for yabs because I had to create them for a website. I'm not sure how usefull they are but check them out and use them if you like.


Tags: php yabs sqlite pew.cc plugins img.pew.cc dev.pew.cc svn.pew.cc



Fail captcha

Mon, 30 Nov 2009 22:40 - Daniel - Other - Comments (0)


Type the signs on the image...



Tags: fail



video playback with compiz

Sun, 29 Nov 2009 12:16 - Daniel - Other - Comments (0)


Video playback with compiz running is pretty slow and sometimes there are some nasty glitches, like not being able to go to full screen mode, black video etc. Some of this is because of how compiz handles the video. But the good news is there is a way to get good video playback with compiz running.

There is a patch for mplayer 1.0rc2 that lets mplayer use some compiz functions to draw the video. You need to have the video plugin enabled in compiz for this to work.

First we need to get the mplayer sources.

apt-get build-dep mplayer
apt-get install build-essential
apt-get source mplayer


Navigate to mplayer-1.0~rc2/libvo, download the patch and apply it.

patch -p0 vo_xv.c mplayrepatch.patch


Now you should update debain/changelog to create a new version of the package and build and install the package with

fakeroot dpkg-buildpackage -b -uc -us
dpkg -i mplayer_1.0-rc2-0ubuntu17_i386.deb

I tried this with ubuntu 8.10 intrepid. If newer versions of ubuntu ship with a version of mplayer that is incompatible with the patch you have to get the mplayer1.0rc2 source code from the mplayer site.

Video playback should work now without problems. There are some other goodies apart from decent video playback speed and working full screen mode, but these two were the most important for me.


Tags: video ubuntu mplayer linux



(Yet another) short URL service

Tue, 13 Oct 2009 20:30 - Daniel - Other - Comments (0)


I've set up a short URL service at url.pew.cc. It's basically the same as tinyurl.com, but with a cool ajax UI. Yay ;). And the best? url.pew.cc is one character shorter then tinyurl.com. Now if that ain't a perfect reason to use it.

Anyway, I just wanted to do my own url shortening and don't rely on a third party service for it. url.pew.cc is powered by php and sqlite. It has the same API as tinyurl.com. http://url.pew.cc/files/api-create.php?url=URL will respond with the short url. Adding format xml will respond with an xml file and a bit more verbose error messages, e.g. http://url.pew.cc/files/api-create.php?format=xml&url=URL.

The xml format used is:

<shorturl>
<status>0</status>
<url>ORIGINAL URL</url>
<short>SHORT VERSION</short>
</shorturl>


And for errors:

<shorturl>
<status>1</status>
<error>ERROR MESSAGE</error>
</shorturl>


Sorry, there is no create.php for a fancy html output. If you want to use it as a bookmarklet, this will have to do. Bookmark this link: url.pew.cc

If it works alright I might share the code at some point.



Tags: php jquery javascript pew.cc sqlite tinyurl



Craft DB WoW Addon

Sun, 11 Oct 2009 14:10 - Daniel - Other - Comments (0)




Craft DB keeps track of crafter on your server. Whenever you open a profession link, the skills and the name of the crafter will be saved and can be displayed when needed. If you are looking for that Blade Ward enchant and can't remember who has the recipe, you can use CraftDB to look who has it.



Craft DB will display names in different colors if they are online, offline, in your guild, on your friendlist or just some random guy who posted his profession into the trade channel

As soon as you open a profession window (either your own, or from a link), Craft DB will scan all the available recipes and saves them and the name of the person for later use.

Craft DB provides a LibDataBroker launcher to open the windows. If you don't have a LibDataBroker display addon installed, you can use /craftdb or /cdb to open Craft DB.

When you enter something into the search box, Craft DB will perform a search on the currently selected profession and only displays the matching spell names.

Here's the project on wowace.com: Craft DB
Here's the download on curse.com: Craft DB


Tags: curse wow world of warcraft wow addon lua ace wowace



< << 1 2 3 4 5 >> >