Oct 1
Reverse Engineering คำๆนี้ หลายๆคนเคยคุ้นหูมาตั้งแต่สมัยมัธยม สมัยที่เรียนว่าญี่ปุ่นเขาทำอะไรมายังไง จึงทำให้ประเทศของเขาเจริญรุ่งเรืองได้ทุกวันนี้ แรกเริ่มแต่เดิมทีนั้น ญี่ปุ่น เค้าก็อาศัย ซื้อของจากต่างประเทศมาเหมือนบ้านเรานี่แหละ แต่สิ่งที่แตกต่างก็คือ เค้าซื้อมาชำแหละ ดูไส้ข้างในว่ามีอะไรบ้าง แล้วก็ลองสร้างขึ้นมาใหม่ด้วยตัวเอง จากของก๊อป กลายเป็นของที่มีนวัตรกรรมใหม่ๆ ในทางคอมพิวเตอร์เช่นเดียวกัน แต่ศาสตร์ด้านการ Reverse Engineering นั้น ชื่อเสียงไม่ค่อยดีนัก เพราะคนส่วนใหญ่ จะรู้จักคือ การ Cracking Software ซะเป็นส่วนใหญ่ แต่ก็นั่นแหละ การ Reverse Engineering นั้นเปรียบเสมือนดาบสองคม ในมุมมองหนึ่ง เป็นแหล่งทำลายทรัพย์สินทางปัญญา ที่นักพัฒนาล้วนอยากจะต่อต้าน แต่ในอีกแง่มุมหนึ่ง คือตัวช่วยชีวิตคนทุกคน

Continue reading "Reverse Engineering"

Posted by Warun Kietduriyakul

Defined tags for this entry:
Not modified
Sep 5

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.

Posted by Warun Kietduriyakul

Defined tags for this entry: , , ,
Last modified on 2008-09-05 22:57
Aug 24

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

Posted by Warun Kietduriyakul

Defined tags for this entry: , , , , ,
Last modified on 2008-08-24 13:54
Aug 24

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 มาจากเว็บไซต์นี้ได้เลย หลังจากนั้นก็เอาไปใส่อัพโหลดไปไว้ที่โฟรเดอร์โฮมเพจ เท่านั้นเป็นอันเรียบร้อย เราสามารถเลือกให้บางประเทศเข้ามาชมเว็บเพจเราไม่ได้ดังที่ต้องการ.


Posted by Warun Kietduriyakul

Defined tags for this entry: , , ,
Last modified on 2008-08-24 10:49
Aug 22

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.

Posted by Warun Kietduriyakul

Defined tags for this entry: , , , , , ,
Not modified

(Page 1 of 5, totaling 22 entries)