Older blog entries for waterbiscuit (starting at number 6)

<<<<<<<<<<<<<<<<< Ruby Scripting <<<<<<<<<<<<<<<<<<


1. save to HelloWorld.rb file
#!/usr/bin/ruby
# Hello world ruby program
puts "Hello World!";

2. run command to < ruby helloworld.rb >

3. mode change < chmod u+x HelloWorld.rb >
run command to < ruby helloworld.rb >

4. command interpreting command (no backtick )
< ruby -e ' puts "Hello World" ' >

5. an interactive command-line interpreter command
< irb >


















MFC - Move Form that No Title Bar Window (Dragging a dialog by clicking anywhere on it)

1.
void CNCHitDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
CDialog::OnLButtonDown(nFlags, point);
// fake windows into thinking your clicking on the caption, does not
// maximize on double click
PostMessage( WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM( point.x, point.y));


}

2.
or

UINT CNCHitDlg::OnNcHitTest(CPoint point)
{
UINT nHitTest = CDialog::OnNcHitTest( point );
// also fake windows out, but this maximizes the window when you double
// click on it.
return (nHitTest == HTCLIENT) ? HTCAPTION : nHitTest;
}

<<<<<<<<<<<<<<<<<< UBUNTU PHP ENV. <<<<<<<<<<<<<<<<<<<<<

1. php.ini file location :
etc/php5/apache2/php.ini

2. root@yniew-2W:/opt/lampp/bin# find / -name php.ini
/opt/lampp/etc/php.ini
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini

3. XAMPP
lampp/mi~%
MySQL/phpMyAdmin user pma/0~
MySQL root/0~
FTP password /a~

4. enter http://localhost/phpmyadmin/
change root password query :
UPDATE mysql.user SET Password=PASSWORD('password') WHERE
User='root'; FLUSH PRIVILEGES;


test writing

システムの活動 ー Ctrl + Esc

test posting from me(wat...)

test from water...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!