Continue reading "Reverse Engineering"
In session "How to: AJAX + Google Bots", The speaker (I cannot remember his name) he suggest to NOT use pure AJAX by reading AJAX book and doing by yourself. He suggest to use AJAX framework such as prototypejs.org, scripteka.com. So, I will following his suggestion to see what I can do with them.
By default ftp command provided in linux doesn't support recursive upload and verbose mode. If you would like to transfer some of files to new location and its contain some of folder, you should use ncftp command to transfer.
# ncftpput -u <remote_username> -p <remote_password> -F -R <remote_hostname> <remote_directory> <local_file>
- -R - Recursive
- -F - Use Passive data connection
ปกติแล้วเวลาย้ายข้อมูลระหว่างลีนุกซ์ผ่าน FTP ถ้าหากเรามีหลายไฟล์ โปรแกรม ftp มาตรฐานที่มากับ linux จะถาม confirm ทุกไฟล์ที่เราต้องการจะย้ายไปที่ไดเรกทอรี่ใหม่ ถ้าหากเราต้องการย้ายข้อมูลจากเซิฟเวอร์หนึ่งไปยังอีกเซิฟเวอร์หนึ่ง อาจจะไม่สะดวกนัก จริงๆมีโปรแกรม ftp อีกตัว ที่สามารถใช้งานได้เหมือนกัน และไม่ต้องคอยตอบคำถาม และยังย้าย directory ได้ด้วย นั่นคือโปรแกรม ncftp
# ncftpput -u <remote_username> -p <remote_password> -F -R
<remote_hostname> <remote_directory> <local_file>
- -R - ย้ายข้อมูลทั้งหมดในไดเรกทอรรี่นั้นๆ
- -F - เหมาะสำหรับเครื่องเซิฟเวอร์ที่อาจจะมีปัญหาเกี่ยวกับ Firewall อันนี้เป็นคำสั่งให้ทำงานแบบ Passive Mode
Got Denial-of-Service? Webboard spamming? Now, we have a tool that can blocked whole country you don't want by simply input to .htaccess file. Visit Blockacountry.com for a script generator. I hope that they will provide autoupdate script in a future or I will do it by myself because IP address may be reassign to another country when the time is going.
อยากบล๊อกคนที่เข้ามาเยี่ยมชมจากประเทศบางประเทศ? ได้เลย ไม่ยาก เข้าไป generate .htaccess มาจากเว็บไซต์นี้ได้เลย หลังจากนั้นก็เอาไปใส่อัพโหลดไปไว้ที่โฟรเดอร์โฮมเพจ เท่านั้นเป็นอันเรียบร้อย เราสามารถเลือกให้บางประเทศเข้ามาชมเว็บเพจเราไม่ได้ดังที่ต้องการ.
If you running foreground process and want that application switch to run as background process, what you needs to do is, press ctrl+z (Process will temporary stopped) then execute `bg`. This command will continue the final tasks in background. I have done this in ubuntu. (Not sure for another operating system).
ถ้าหากมี Process ที่สั่งทำงานอยู่ แต่ว่าต้องการที่จะเปลี่ยนให้โปรเซสนั้นๆย้ายไปทำงานในโหมด Background สิ่งที่จะต้องทำก็คือ กด Ctrl+z โปรแกรมจะหยุดทำงานชั่วคราว หลังจากนั้น สั่ง `bg` โปรแกรมจะเริ่มทำงานต่อในโหมด background.
Reference: Manage Jobs and Processes.
(Page 1 of 5, totaling 22 entries)



Thu, 28.08.2008 20:28
แวะมาเยี่ยมครับ ท่าทางจะไม่ได ้ไปซะละงานนี้ เนื่องจากเสาร์อา ทิตย์นี้มีทริปกับบริษัทพอดี T_ T