Aktion “Stoppt die Vorratsdatenspeicherung”

Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archive - June 2007

Wednesday, 27. June 2007

Everybody wants to i-phone [Update]

23:28

It's been a long time, since I was a posting a $cool-web2.0-video-service-video (okay, to take it seriously, my last good post is some time ago. Sorry, currently I have not enough time for “real content” ). But this one is something that's worth blogging:


Directlink

Nice dreams to everyone. (Smiley: yummy) (Smiley: wink)

Filed under: Geek stuff
Technorati Tags:

Wednesday, 20. June 2007

Gentoo: … has a modification time in the future

12:03

I'm currently playing again with Gentoo and I'm getting again the “One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future”-error. So here is some help, if you have the same little annoyance.

Here it was the case, that the file in /etc/conf.d and /etc/init.d had no timestamp (you can check with ls -lR). You can solve this by a hearty touch /etc/{conf.d,init.d}/*; touch /etc/rc.conf.

[ Solution found at forums.gentoo.org ]

Filed under: Geek stuff
Technorati Tags:

Thursday, 14. June 2007

JavaScript: get_class

21:32

/**
 * Returns the name of the class of an object
 *
 * NOTE: This function doesn't work with 'native code', only with user generated classes.
 *
 * based on http://magnetiq.com/2006/07/10/finding-out-class-names-of-javascript-objects/
 *
 * @param object The object
 * @returns mixed Returns the name of the class of which object is an instance. Returns FALSE if object is not an object.
 */
function get_class(obj)
{
	if(obj && obj.constructor && obj.constructor.toString)
	{
		var arr = obj.constructor.toString().match(/function\s*(\w+)/);
		return (arr && (arr.length==2?arr[1]:undefined));
	}
	else
	{
		return undefined;
	}
}
Filed under: Webdev
Technorati Tags:

Dual Screen Wallpapers

00:10

Because I'm meanwhile working with more monitors, the website dualscreenwallpaper.com can be quite useful. So I can finally recycle my old “poser wallpaper” on my office machine.

Filed under: Geek stuff
Technorati Tags:

Wednesday, 13. June 2007

Mini-Introduction to objectorientated javascript

00:07

function class()
{
	this.foo='foo';			//public member
	var bar='bar';			//private member
	alert("I'm a contstructor.");
	
	this.baz=function ()		//public method
	{
		alert(bar);		//accessing private member
		alert(this.foo);	//accessing public member
		bam();			//calling private method
	}
	
	function foba()
	{
		alert("I'm so public");
	}
	this.foba=foba;
	
	var bam=function()		//private method
	{
		alert('Huchee!');
	}
	
	alert("I'm still a contstructor.");
}

var c=new class();
c.baz();
c.foba();

Filed under: Webdev
Technorati Tags:

Saturday, 02. June 2007

Annoyed

15:53

Why buys one the extra pricy extension leads and the extra pricy power supplies, if you'll be immediately forced to a restart after each flash in a thunderstorm? *sigh*

Technorati Tags: No tags for this entry.

Sidebar

Recent acoustic enchantment

Clare Burson - Love Me In The Morning

Random Thought

Unix is sexy:
who | grep -i blonde | date;
cd ~;
unzip;
touch;
strip;
finger;
mount;
gasp;
yes;
uptime;
umount;
sleep;

Change the emotion

Firefox Add to Technorati Favorites