Calendar

<<February>>
MoTuWeThFrSaSu
1234567
891011121314
15161718192021
22232425262728

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



(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



ts2webviewer

Thu, 27 Nov 2008 18:56 - Daniel - Other - Comments (0)


I got fed up with my old Teamspeak2 web viewer, and since I wanted to try some stuff I wrote a new version myself. I wanted to test jQuery a bit and tried to d as much as possible with objects in php.

The ts2webviewer is still missing some things, like hiding channels, showing verbose information about the server, channels and clients and I'd like to extend the admin interface to allow more commands then just kick players, but if you want, you can get a sneak peak at the code here: ts2webviewer-0.0.1.tar.bz2


Tags: php teamspeak jquery javascript



Tags, here, now

Wed, 26 Nov 2008 18:54 - Daniel - Other - Comments (0)


I never felt quite happy with the current categories. Whenever I wrote an entry, I had to decide what category it should be. But whatever I had chosen, it never felt 100% right. Thats why I wrote a tags plugin for yabs.

It's not really ready yet, and some features like automatic tag suggesting are missing, but it works quite well now. And while writing the plugin I also squashed some minor bugs in yabs. If I ever get around to finish the plugin I'll release it to the general public, but for now it will only run on this blog. Sorry guys ;).


Tags: yabs blog php tags



1