Archive for July, 2004
Sony NAVITUS Remote Control RM-NX7000
Tuesday, July 27th, 2004Want want want:
Sony NAVITUS Remote Control RM-NX7000
Free Culture Audiobook
Thursday, July 22nd, 2004The Right Thing:
Details for Lawrence Lessig & Friends - Free Culture Audiobook
Schwarzes Forum
Monday, July 19th, 2004Have been playing with one of my just for fun projects.
A Gothic Forum.
I wonder how long until google picks it up ?
Only one indexed page so far ?
Check
Looks like google is starting to like this site ![]()
Google Search: allinurl:cute-ninjas.com site:anti.cute-ninjas.com
Sony NV-XYZ 33/55/77
Thursday, July 15th, 2004I own an empeg MK2,
which is still the best thing there is,
but this
Sony debuts Linux-based in-car nav / infotainment line in Japan
might be up to the challenge…
G5 Mac - Repartitioning
Thursday, July 15th, 2004Got a spare 250GB harddisk.
Trying to repartition the old disk to add OSX.
Step 1:
Boot Gentoo LiveCD
Step 2:
Partition and format new (backup) disk.
Step 3:
Mount old root (->/old) and backup (-> backup).
Step 4:
Copy everything over:
cd /old; cp -ax * /backup
Step 5:
Repartition old disk.
Step 6:
Reboot (from LiveCD).
Step 7:
Format old disk.
Step 8:
Mount new root (->/new) and backup (-> backup).
Step 9:
Copy everything over:
cd /backup; cp -ax * /new
Step 12:
Bind devfs to new system.
mount -o bind /dev /new/dev
Step 11:
Chroot into the system
chroot /new
Step 12:
Mount procfs
mount -t proc none /proc
Step 13:
Do a quick check.
Step 12:
Rerun yaboot.
(Still chrooted)
ybin -v
Step 13:
Reboot (from disk) and hope for the best.
Looks like it worked
gmail
Thursday, July 15th, 2004OK,
I finally got myself a gmail account.
I don’t really need it, since I have a few servers over which I have total control,
but I wanted to check it out anyway.
I’m being brave here,
so if you want to say something:
darkanti@gmail.com
And don’t ask for invites!
hacked
Wednesday, July 14th, 2004Argl. Stupid me.
Here is what I could reconstruct:
1. I had OpenSSH 3.7 running.
2. I had iptables set up to only allow connections from certain hosts.
3. I used my DSL to connect to the internet.
4. I upgraded my kernel to 2.6.7 last week.
5. I forgot to enable the iptables module
6. Intruder used ssh exploit to gain access.
7. Intruder abused my system as an xmule/edonkey relay with a high speed connection.
I would have never noticed if not our “site security” had noticed the strange behaviour of my system.
(Loads and loads of TCP SYN)
I might get into real trouble this time
Spiderman2
Wednesday, July 14th, 2004Watched Spiderman 2 yesterday.
Good movie.
At first I was a bit disappointed by the animations of spidey,
but the style fit pretty good in the overall movie style,
so that’s ok.
The story was a bit too “poor spidey/peter” for me.
Some stuff was totally unbelievable,
but it’s a comic here after all.
Worth a look.
I might even buy the DVD once it’s out…
Anil Dash: Nigritude Ultramarine
Tuesday, July 13th, 2004stoned
Tuesday, July 13th, 2004Just wanted to say that
stoned
is not dead.
If you want one of the best curling simulations around,
go and get it.
Linux and Windows client fully working.
OSX client in the queue…
wordpres hacks
Tuesday, July 13th, 2004Inspired by this
Did The Port Thing
I’ll add “by post moderation” to my wordpress.
Step 1:
Alter the database
mysql> alter table wp_posts modify comment_status enum(’open’,'closed’,'registered_only’,'moderated’);
Step 2:
Edit wp-comments.php
Replace
< ?php if ('open' == $post->comment_status) { ?>
with
< ?php if ($post->comment_status ==’open’ || $post->comment_status == ‘moderated’ ) { ?>
In my case this had to be done twice.
After
< a href="#postcomment" title="“>»
(just below)
add
< ?php if ($post->comment_status==’moderated’) echo(”Comments on this post are moderated. Wait patiently until it’s approved”); ?>
Step 3:
Edit wp-comments-post.php
Replace
if ( ‘closed’ == $wpdb->get_var(”SELECT comment_status FROM $tableposts WHERE ID = ‘$comment_post_ID’”) )
die( __(’Sorry, comments are closed for this item.’) );
with
$commentstatus = $wpdb->get_var(”SELECT comment_status FROM $tableposts WHERE ID = $comment_post_ID”);
if (’closed’ == $commentstatus)
die(’Sorry, comments are closed for this item.’);
Find
$wpdb->query(”INSERT INTO $tablecomments
(comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_
content, comment_approved)
VALUES
(’$comment_post_ID’, ‘$author’, ‘$email’, ‘$url’, ‘$user_ip’, ‘$now’, ‘$now_gmt’, ‘$comment’, ‘$approved’)
“);
and insert before
if ($commentstatus == ‘moderated’) {
$moderation_notify = true;
$approved = 0;
}
else
$approved = 1;
OK,
now we have per post moderation options, but the only way to enable them is to hack the database ![]()
update wp_posts set comment_status=’moderated’ where id=99;
Wordpress Modifications
Tuesday, July 13th, 2004Some of these
Burningbird » Wordpress Modifications are really worth to be considered here.
I might implement a few of them soon…
WordPress: God Mode
Tuesday, July 13th, 2004Probably not interesting for you
WordPress - A anti’s blog - A Options
Netcraft: Gentoo on the rise
Tuesday, July 13th, 2004Newest Netcraft stats:
Netcraft: Slight Linux Market Share Loss for Red Hat
Gentoo is rising fast.
But who the heck is “Germany’s Dotcom-server” ?
going down
Monday, July 12th, 2004Imagine the following.
—
You are on a big cruise ship.
Everyone is happy to go to the golden land.
You get the feeling that something really bad is going to happen.
You try to warn the others.
But nobody listens.
You start searching for a way to escape.
Finally you find a tiny escape pod.
You leave.
You paddle as hard as you can to get away from the ship.
The ship is starting to sink.
You keep paddling.
The ship goes down.
Creating tidal waves.
You manage to paddle away.
But the ship sucks you down with it.
You keep swiming to the surface.
You are almost exhausted.
You manage to get to the top.
You take a breath of fresh air.
Then a big hand grabs you from below
and pulls you down.
You hear their voices:
“We are almost there … we can already the the beaches of the golden land.”
You feel the air leaving your lunges,
being replaced by water…
—
That’s how I feel right now…
Stylesheet
Monday, July 12th, 2004Reworking the CSS slightly.
At least that’s the plan…
Links
Monday, July 12th, 2004URLs now should be “auto linked” (i.e. changed into HREFs).
And they should be changed into google redirections.
Let’s try:
http://fake.cute-ninjas.com/
[update]
The autolink works, but not the google redir
Let’s try this:
Fake @ Cute-Ninjas
[update 2]
If you ever need WordPress Plugins try here:
http://wiki.wordpress.org/Plugin