miercuri, noiembrie 29, 2006
Tradati in dracoste
luni, noiembrie 27, 2006
Doua vesti
luni, noiembrie 20, 2006
I used to drink, I used to smoke
http://www.imdb.com/title/tt0388139/
Luati si coloana sonora, merita.
marți, noiembrie 14, 2006
Poem
I woke early one morning,
The earth lay cool and still
When suddenly a tiny bird
Perch on my window sill,
He sang a song so lovely
So carefree and so gay,
That slowly all my troubles
Began to slip away.
He sang of far off places
Of laughter and of fun,
It seemed his very trilling,
brought up the morning sun.
I stirred beneath the covers
Crept slowly out of bed,
And gently lowered the window
And crushed his little head.
I am not a morning person
marți, noiembrie 07, 2006
Grub si Windows ca default
( daca nu aveti root, puneti un sudo inainte de vim, adica sudo vim /boot/ .. )
root@ciocoflendaru:~# vim /boot/grub/menu.lst
In fisierul ala, cautati 'default 0'. Asta inseamna ca porneste prima intrare din grub, aia fiind Linuxu'. Eu am 7 intrari ( Ubuntu ), deci am pus 'default 6', sa porneasca Windows-ul
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 6
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
[...]
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-386
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda5 ro quiet splash vga=795
initrd /boot/initrd.img-2.6.17-10-386
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-386 (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.17-10-386
boot
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
P.S. Sper ca va pricepeti cu vim-ul, daca nu, cu 'i' intrati in modul de inserare, cu ESC iesiti din modul inserare, si cu :wq iesiti si salvati fisierul ( write and quit ). Daca nu va impacati bine cu astea, folositi pico, nano, whatever va place.
joi, noiembrie 02, 2006
Firefox crash bug
How sexy is THAT?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function do_crash()
{
var range;
range = document.createRange();
range.selectNode(document.firstChild);
range.createContextualFragment('<span></span>');
}
</script>
</head>
<body onload="do_crash()">
<p>Good bye Firefox!</p>
</body>
</html>
And bye bye Firefox 1.5 and 2.0 :) MineField ( Firefox 3.0 ) nu are probleme :)
miercuri, noiembrie 01, 2006
Windows Vista MBR
Deci aveam Linuz pe calc, si am hotarat sa`l dau jos, din diferite motive, voi reveni la ele intr-un viitor nu foarte indepartat. Booon, am ras partitia, am dat restart si cucu, grub-ul nu mai pornea ( logic ). Cum refaci MBR-ul daca ai Vista? Ehe, nu asa simplu ca in XP, cu fixmbr. De ce? Pentru ca nu are asa ceva. Bootezi de pe DVD-ul cu Vista, si apesi pe Repair, este acolo un boton in stanga jos. Si dup-aia pe Command Prompt. Aici m-am blocat. Ca deh, Vista nu mai are boot.ini si d`alea. Dupa o chinuiala enorma, am reusit sa rescriu MBR-ul, cu ajutorul 'BootRec.exe'. BootRec asta e pe DVD in Windows\System32. Un BootRec.exe /mbr ( parca ) va salveaza de multe batai de cap. Ah, asta fiind pe un Vista RC2 ( Build 5744 ), de restul nu stiu.