quick ssh-keys intro

ever get tired of passwords? one of the areas where you can avoid re-entering password is with ssh logins. if you have a couple of boxes or even shells, then this will come in handy.
make a pair of keys.

$ mkdir ~/.ssh; ssh-keygen -d

copy your public key (~/.ssh/id_dsa.pub) to your authorized keys file (~/.ssh/authorized_keys) [...]

expect.nist.gov

if you haven’t discovered this tool already, it’s about time you did. this champ can automate any task performed on the console:
just install expect and autoexpect from expect.tgz and then run:
autoexpect -p anyinteractive-binary
> command one
> command two
> do this and this
> exit

this will make a file script.exp which you’d chmod 777 and then ./run
this is [...]

Spotify.exe in wine

Im not sure whether this is true or not, but i think the ads in Spotify dont work. I havent heard any so far at least. perhaps its because they only start after some minimum amount of total played time. can anyone confirm this?
wine-1.1.12
Spotify Version 0.3.17 (revision 49173)
- – -
after browsing a couple of [...]

dolphin 1.2.1 deletes link-destinations

I’m relatively happy with kde 4.2 and I’ve been using it for some three months now without any major dissapointments. Today however, I encountered something really, really startling about Dolphin . If you make a symbolic link to some folder and delete that symbolic link using shift+del in Dolphin you lose the files in the [...]

illegal acivities category harmless

Recently i bought an asus eee pc 1000h. Ive never played with wireless before, but it turns out wep keys are way to easy to break.
all you need to do is:
# airodump-ng -c 1 -w /tmp/wep-data <wifi-interface>
wait some hours….
# aircrack-ng /tmp/wep-data*cap
[...]

openntpd

i dunno.. previously i tried the ntp package from ntp.org and the server daemon in it is way too complex for my setup. I couldnt even get it to work, because the server provides way too much functionality and the conf file required a bunch of bullshit i didnt care about.
enter openntpd

jaroslav@monger ~ $ cat [...]

lame example

the objective is to convert some high-bitrate mp3s to sth less space consuming, like vbr 192kish.
previously i tried different lame frontends as well as cdrippers, they all suck imho and i prefer cli with simple bash scripts or /and ugly hacks if necessary.
there are automount possibilities in all distros, yet ive never understood them [...]

bussorakelet (team-trafikk, trondheim)

http://www.team-trafikk.no/ har et web-app der man kan få svar på spørsmål slik som `når går neste buss fra åsveien til sentrum’ (n g n b f åsveien t sentrum) eller `når går siste buss fra kattem til sentrum’. Web-skriptet heter Bussorakelet og de som skrev det fortjener et stort takk, blant annet fordi det finner [...]

WORDPRESS SECURITY

alternative title: shit man, wtf did i install on my server?
after neglecting the wordpress-admin panel notifications about an upgrade availability for aproximately two years in fear of corrupting the database, i finally manned up to do it. emerge told me this:
=================================================================
POST-UPGRADE INSTRUCTIONS
=================================================================
————————————————————————
UPGRADE
If you are upgrading from a previous version BACK UP your database.
Once you are [...]

a problem never comes alone

id like to modify this proverb:
problems manifest in clusters.
…perhaps not as nice as the original one, let me try again:
a problem always calls for backup
…thats just weak (perhaps more in tone with the current domain (genja.org)). lets try sth a bit more to the point:

tryggve ~ # cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] [raid0]
md5 [...]

keep looking »