วันนี้เดินทางไป Barcamp ก็ไปช่วยงานน้องๆและก็เวลาประมาณเก้าโมงครึ่งก็ได้ขึ้นไปข้างบนบริเวณจัดโหวต เขียนหัวข้อตัวเองลงไป กะว่าคนอาจจะไม่ได้สนใจเท่าไหร่ เพราะดูจากหัวข้อแล้ว แทบจะแปลกกว่าชาวบ้านเลย เป็น PHP หลุดมาอยู่อันเดียว :S แต่ไปไปมามา คนอยากฟังก็เยอะเหมือนกัน เสียดาย เป็นเรื่องที่ทำมาตั้งแต่ต้นปี ส่วน Slide ก็เพิ่งได้เตรียมเมื่อคืน เลยรู้สึกว่า ให้อะไรกับคนที่มานั่งฟังได้ไม่เต็มที่เท่าไหร่ เอาเป็นว่า ถ้าใครหลงเข้ามาอ่านอีกรอบ มีข้อสงสัยประการใดก็ถามมาเพิ่มเติมก็แล้วกันนะครับ
Barcamp Bangkok 2 Coming Soon!!!! 1 week count down. This time, barcamp will meet geeks up at Chulalongkorn University for 2 days (30-31 August 2008). Keep in touch. I will report what going on at the camp. Visit BarcampBangkok.org for more information.
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 2, totaling 8 entries)



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