Opera
Tuesday, August 30th, 2005I 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
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
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….
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…
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.
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…
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
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.
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.
Just started to write my first wordpress plugin.
Every new and edited post should be end up in my del.icio.us bookmarks.
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.
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…
This is just a test:
hmmm:
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…
Something for my “to read” list:
A developer’s guide to the POWER architecture
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.
Looks like google is starting to like this site ![]()
Google Search: allinurl:cute-ninjas.com site:anti.cute-ninjas.com
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” ?
Why do bloggers kill kittens ?
anti’s blog is proudly powered by
WordPress
Entries (RSS)
and Comments (RSS).