Mäluboss
Paljud teist on ehk palju suuremate numbritega harjunud. Aga vabandage minu ülevoolavat emotsiooni
Share on Facebook
Sex in my computer vol2
Share on Facebook
Hello World in different languages and speed
Assembler
.section .data
string:
.ascii “Hello world %d \n\0″;
.section .text
.globl _start
_start:
movl %esp, %ebp
subl $4, %esp
movl $10000, %eax
movl $0, %ebx
loop:
cmpl $0, %eax
je loop_end
subl $1, %eax
pushl %eax
pushl $string
call printf
addl $4, %esp
popl %eax
jmp loop
loop_end:
movl $1, %eax
movl $0, %ebx
int $0×80
real 0m0.424s
user 0m0.004s
sys 0m0.254s
PHP
Perl
for ($count=0; $count
Mac OS X 10.6 wrong umask on samba share
edit or create a file /etc/launchd.conf
umask 002
Share on Facebook
Some useful MySql sentences
It is annoying to type them from the scratch every time. So a little copy paste place for my. Lazy me!
UPDATE `mysql`.`user` SET `Create_priv` = ‘Y’,
`Drop_priv` = ‘Y’,
`Reload_priv` = ‘Y’,
`Shutdown_priv` = ‘Y’,
`Process_priv` = ‘Y’,
`File_priv` = ‘Y’,
`Grant_priv` = ‘Y’,
`References_priv` = ‘Y’,
`Index_priv` = ‘Y’,
`Alter_priv` = ‘Y’,
`Show_db_priv` = ‘Y’,
`Super_priv` = ‘Y’,
`Create_tmp_table_priv` = ‘Y’,
`Lock_tables_priv` = ‘Y’,
`Execute_priv` = ‘Y’,
`Repl_slave_priv` = [...]
No milk today
Share on Facebook
Deem kuidas tahaks hipi olla!
Parem link tõsisele hipi elule
Share on Facebook

