Name: jefferson rpv
Member since: 2010-11-04 11:39:05
Last Login: 2011-01-21 08:25:24

Notes:

I am working with java, C++, android SDK. I will write about that on this blog.

Recent blog entries by waterbiscuit

<<<<<<<<<<<<<<<<< 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

2 older entries...

 

[ Certification disabled because you're not logged in. ]

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!

X
Share this page