cat >/dev/null_

fuck off, sorry

February
12th
2013

S-DIAF

http://community.skype.com/t5/Linux/Static-binaries-for-Skype-4-1/td-p/1209918

Static binary support [for Skype 4.1 on Linux] has been removed and won’t come back, sorry.

go DIAF and don’t come back, we won’t be sorry.

email address validation

May
9th
2012

Close up of Arroba sign, used at the "taula de Ariza" registry from 1448, to denote a wheat shipment from Castile to the Kingdom of Aragon.To all the developers and owners of web-based services that do not validate the email address of their subscribers when they sign up:

GO FUCK YOURSELF HARD.

I’ve had enough of retrieving and changing passwords for services I will never ever use, and most of all, by whose terms of service I am not willing to abide!!!

If you think that validating the email address of your subscribers is too steep of a barrier, you have to provide me with a form to self-ban my address. Bonus points if you can enable your sign-up form to incinerate any dumbfuck who tries to use a banned address.

As a better alternative, you could just nuke your crappy web site and go kill your miserable selves.

PS: assholes.

Cisco IOS – concatenate output from CLI commands

January
2nd
2012

Recently I’ve been doing some work with Embedded Event Manager (EEM) on Cisco IOS.
I’ve been looking for a solution to the problem of concatenating output from multiple CLI commands ($_cli_result), finding nothing relevant.

I finally hacked my way using action regexp like this:


action 1.0 set result_var "--init--\n"
action 2.0 cli command "enable"
action 3.0 cli command "some command"
action 3.1 regexp ".*" "$result_var\n$_cli_result" result_var
action 4.0 cli command "some other command"
action 4.1 regexp ".*" "$result_var\n$_cli_result" result_var
[...]

Today I found another solution here at routerjockey.com, which uses append to populate a temporary file:


action 1.1 cli command "enable"
action 1.2 cli command "del /force flash:temp_file"
action 1.3 cli command "some command | append temp_file"
action 1.4 cli command "some other command | append temp_file"

This solution is probably nicer, even though it has the relative disadvantage of using flash storage, which may not be optimal for very frequent runs.

boot ubuntu 10.04 “Lucid Lynx” in text mode

May
7th
2010

Ubuntu 10.04 “Lucid Lynx” has been released, and what I wrote in my last post is still relevant.

I did another search to find another good way to boot the OS in text mode, getting rid of gdm at boot.

Inbetween several instances of advice like removing /etc/rc2.d/S30gdm, which does not exist any longer since gdm has been moved to upstart, or getting rid of gdm altogether by uninstalling it, which I didn’t want to do, I found something interesting in a comment to an article:

You need to open the /etc/default/grub file, locate the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

and don’t forget to run update-grub afterwards to update.

In more general terms, you may want to add the text parameter to the GRUB entry for which you want a text-mode boot. Changing the default GRUB command line postfix, which is appended to all entries, rather than changing a single entry, seems like a brutal solution, but it is also the quickest, and may be just what you want.

A little bit of explanation: the upstart script /etc/init/gdm checks the kernel command-line for inhibitors such as text, and quits if it finds one:

        for ARG in $(cat /proc/cmdline)
        do
            case "${ARG}" in
                text|-s|s|S|single)
                    plymouth quit || :  # We have the ball here
                    exit 0
                    ;;

getting a text prompt on Ubuntu 9.10 karmic koala Netboot Remix

January
29th
2010

(UPDATE 20100302)

I wanted to change the default runlevel on my 9.10 Netbook Remix to 3, hoping to get a text-only login prompt.
I knew about the switch to upstart, so I did a bit of googling and I found this page, instructing me to change DEFAULT_RUNLEVEL in /etc/init/rc-sysinit.conf.

But, after switching to default runlevel 3, gdm was still popping up.

That’s when I noticed this in /etc/init/gdm.conf:

start on (filesystem
and started hal
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger))
stop on runlevel [016]

Adding runlevel 3 to the stop on directive did the trick, but apparently only when I passed the runlevel via bootloader.
The correct action was to specify the exclusion of my new default runlevel on the start on directive.

To sum it up:

in /etc/init/rc-sysinit.conf:
env DEFAULT_RUNLEVEL=3

in /etc/init/gdm.conf:
start on (filesystem
and started hal
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger)
and runlevel [!3])
stop on runlevel [016]

Gotta love this transition to upstart!!! :)

Update: this seems to work on 9.10 desktop.

1234567890

February
13th
2009

It’s Unix Timestamp 1234567890. Enjoy the moment!!! :-)

florian schneider leaves kraftwerk

January
13th
2009
Elektro Schneider

Thanks to jochen for the photo!

Less than a month past my first trip to Düsseldorf, including the obligatory geek shot in front of where Kling Klang used to be, I am struck by the news that Florian is leaving Kraftwerk.

I am really caught between the serene understanding that all good things eventually come to an end, that of course this is not going to wipe away the many hours of good music, and the feeling that no, it can’t be.

Sheiße.

mist-eries.

January
6th
2009

I just finished watching The Mist and I can’t help but write about it.

I can’t believe I wasted my time on this… I don’t even know how to define it, it’s just one wrong letter away from the perfect anagram. I must confess it is definitely not my favourite genre, but this is so lame it’s hardly bearable. 7.4 out of 10? Are you serious, IMDb? This may not be the worst movie I’ve ever seen, but goes straight into my Top Ten, and I get the feeling that if I ever have the guts to watch it again, which is unlikely, it might end up at a close second place.

But the real mistery is that it’s been directed by Frank Darabont, just like The Shawshank Redemption and The Green Mile, both also based on novels by King. Maybe the man needs prisons to make good movies, so let’s throw him into one, just to make sure he doesn’t get lost in The Mist again.

oral sex

November
14th
2008

I just lost a fight this morning.

Apparently, talking about people you’d like to sleep with does not qualify as oral sex.

obamaself.

November
5th
2008

Am I the only one in the world thinking that nothing is going to change anyway?

Poor, silly, deluded me.

“But aren’t you the one who’s always saying there is no right and wrong, it’s a duality, and dualities are an illusion?”

“How does that apply?”

“You tell me! I don’t even know what it means!!”

Dharma & GregGood Cop Bad Daughter (3×14)

Newer Entries >>