Archive for the 'Tech' Category

Opera

Tuesday, August 30th, 2005

I never really like Opera (after buying an OS/2 License and never getting an OS/2 Version).
But this is a nice gesture:
http://my.opera.com/community/party/reg.dml

110000

Friday, August 26th, 2005

My car just turned digital … again.

Well, the odometer hit 110000.
I guess for the next 1111 kilometers I’ll be hitting digitals alot,
but after that it might be a while….

http ?

Thursday, February 17th, 2005

I stumbled across this a few times.

When I enter http://http://www.google.de/ into my location bar (or click a link containing the double http://) I end up at …

… just wait.
Why would anybody do this anyway ?
Well, some webforms prepend http:// if you enter an URL (and tell you to ommit it),
but they don’t check if you already prepended it.

So that site gets a lot of traffic.

And the winner is ?

microsoft.com

I’m not sure (yet) why, but I’m sure you will tell me…

Usefull Firefox settings

Friday, December 24th, 2004

Here are various settings that make browsing with Firefox a lot better … for me.
They have been gathered over quite some time from various resources.

Start up Firefox and enter about:config in the location field.

browser.xul.error_pages.enabled = true
This way you don’t get annoying popups if a request times out or a site doesn’t exist.

network.http.pipelining = true
Allow to make multiple requests when retrieving pages.

network.http.pipelining.maxrequests = 32
Defines how many requests can be done in parallel.

There are some more, but I’ll have to filter them from my settings.

Firefox - Pref Window.

Friday, December 24th, 2004

Finally someone decided to clean up the pile of junk:
Inside Firefox - The Inside Track on Firefox Development

Don’t get me wrong.
Firefox is great, but the Prefs dialog is almost unusable…

Newsgator

Thursday, December 23rd, 2004

Their basic service is free, so I’m gonna test it for a while.

Subscripe via newsgator

Wordpress and del.icio.us III - For You

Thursday, December 23rd, 2004

OK,
here it is in all its glory ;)

1. Put the plugin into your plugins directory.
2. Set the DEL_USER and DEL_PASS.
3. Put the delicious php class into your plugins/includes directory.
4. Activate the plugin.

Let me know if it doesn’t work.
Or if you have any improvements.

[php]
/*
Plugin Name: Deliciousizer
Version: 0.1
Plugin URI: http://anti.cute-ninjas.com/
Description: Post new posts to del.icio.us
Author: Andreas Neukoetter
Author URI: http://anti.cute-ninjas.com/
*/

$DEL_USER=”YES”;
$DEL_PASS=”SURE”;

require_once(’includes/class.delicious.php’);

function delicious_add( $user, $pass, $link, $title, $tag )
{
//$url = “http://$USER:$PASS@del.icio.us/api/posts/add?url=$link&description=$title&tags=$tags”;
$del = new delicious( $user, $pass );
$now = strftime( “%C%y-%m-%dT%H:%M-%S” );
$del->add_post( $link, $title, “”, $tag, $now );

}
function post_to_delicious( $id )
{
global $wpdb, $tableposts, $tablepost2cat, $tablecategories;
global $DEL_USER, $DEL_PASS;

$post_title = $wpdb->get_var(”SELECT post_title FROM $tableposts WHERE ID=$id;”);
$title = “Anti’s Blog [”.$id.”] - “.$post_title;
$tags = “[wp-anti] [wp-$id] blog”;

$post_cats = $wpdb->get_results( “SELECT category_id FROM $tablepost2cat WHERE post_id=$id;” );
foreach( $post_cats as $post_cat ){
$post_cat_title = $wpdb->get_var(”SELECT cat_name FROM $tablecategories WHERE cat_ID=”.$post_cat->category_id.”;”);
$tags = $tags.” “.$post_cat_title;
}
$link = get_permalink( $id );

delicious_add( $DEL_USER, $DEL_PASS, $link, $title, $tags );

return( $id );
}

add_action( ‘edit_post’, ‘post_to_delicious’,9 );
add_action( ‘publish_post’, ‘post_to_delicious’,9 );
[/php]

BTW:
Thanks to Daryl for PHPizer

Wordpress and del.icio.us II

Thursday, December 23rd, 2004

OK.
The publish_post only gets the post id when the priority is lower than that of generic_ping (10),
since that hook is buggy.

Should be better now.

get_permalink( ) was the magic function :)
ezSQL is your friend.
And get_results is better than get_var when getting more than one result ;)

Wordpress and del.icio.us

Thursday, December 23rd, 2004

OK.

The plugin isn’t complete yet, but I never said so.

The link posted isn’t correct and it doesn’t handle multiple categories.

I’ll work on that.

And the post id only seems to work on edits, not on initial posts :(

Wordpress and del.icio.us integration

Thursday, December 23rd, 2004

Just started to write my first wordpress plugin.

Every new and edited post should be end up in my del.icio.us bookmarks.

Mozilla Data URIs

Thursday, December 16th, 2004

Just in case I’ll ever have to recover a password from an old mozilla/firefox/firebird/phoenix file.

Mozilla does support data URIs.
Just strip the leading “~” and the trailing “==” from the login and password
and you have base64 encoded data.

Let Mozilla decode it:
Enter
data:;base64,WhAtEvEr
in the location bar and hit enter.

userfriendly

Monday, December 13th, 2004

Illiad today had a nag strip with a google searchbox containing “gonna buy me a latte”.
I wonder how long it takes for websites to include exactly that phrase.

Not that I’d ever do something silly like … erm …. ok…

blogpatrol

Friday, September 24th, 2004

This is just a test:

hmmm:

New G5 Mac

Friday, September 17th, 2004

I just got a brandnew G5 Mac.

PowerMac 7,3
Dual PPC970 (with altivec)
2.5 GB RAM
160GB SATA HardDisk
GeForce FX 52000

Just about to install gentoo…

A developer’s guide to the POWER architecture

Monday, August 30th, 2004

Something for my “to read” list:
A developer’s guide to the POWER architecture

tinyurl

Wednesday, August 18th, 2004

Just played a little with tinyurl.

Used it for some gothic … or so …

trickle

Tuesday, August 17th, 2004

One of the tools I really like,
but always forget the name of when I really need it.

trickle - a lightweight userspace bandwidth shaper

’nuff said.

trickle

google

Monday, July 19th, 2004

Looks like google is starting to like this site :)
Google Search: allinurl:cute-ninjas.com site:anti.cute-ninjas.com

Netcraft: Gentoo on the rise

Tuesday, July 13th, 2004

Newest Netcraft stats:
Netcraft: Slight Linux Market Share Loss for Red Hat

Gentoo is rising fast.
But who the heck is “Germany’s Dotcom-server” ?

bloggers kill kittens

Thursday, June 24th, 2004

Why do bloggers kill kittens ?


anti’s blog is proudly powered by WordPress
Entries (RSS) and Comments (RSS).