This table lists the ASCII characters and their decimal, octal and hexadecimal numbers. Characters which appear as names in parentheses (e.g., (nl)
) are non-printing characters. A table of the common non-printing characters appears after this table.
ทำกาติดตั้ง CDT ให้กับ Eclipse โดยไปที่เมนู Help > Software Updates > Find and Install
จากนั้นตรง Name ให้ใส่คำว่า CDT
ส่วนตรง URL ให้ใส่ url ของ CDT ให้ตรงกับ เวอร์ชั่นของ Eclipse ที่เราใช้อยู่ โดยดู url นี้ได้จาก http://www.eclipse.org/cdt/downloads.php
ที่มา: CDT Downloads, C++ Development using eclipse IDE
คำสั่ง Unzip บน Ubuntu
unzip <filename>.zip
ที่มา: FileCompression
Development Tools
There are many development tools available for Ubuntu. A list of some of these is included below.
Devhelp คือเครื่องมือช่วยค้นหา Document ใน Ubuntu สามารถทำการติดตั้งได้ดังนี้
sudo apt-get install devhelp
เวลาใช้งานก็เข้าไปที่
Applications → Programming → Devhelp
ที่มา: Programming
โปรแกรมการตัดคำภาษาไทยที่สามารถเลือกวิธี การตัดคำได้สองวิธี คือ การตัดคำแบบเลือกคำที่ยาวที่สุด(longest matching) และการตัดคำโดยเลือกแบบเหมือนมากที่สุด (maximal matching algorithms) ซึ่งนอกเหนือจากการใช้งานได้ดีกับข้อความที่เป็น text ธรรมดา โปรแกรมยังสามารถ รองรับไฟล์ในรูปแบบต่างๆ ได้แก่ html, rtf
ที่มา: โปรแกรมตัดคำภาษาไทย
การเรียกใช้ command line จาก Python สามารถเรียกได้โดยใช้คำสั่ง popen
import os
ipFile = "ip.txt"
opFile = "op.txt"
cmd = 'swath <%s> %s' % (ipFile, opFile)
f = os.popen(cmd)
หรือใช้ Popen
การให้สิทธิใน MySQL ใช้คำสั่ง Grant เช่น
grant all on *.* to jack@localhost identified by 'xxxx';
เป็นการให้สิทธิทั้งหมดแก่ user jack@localhost
แต่ถ้าต้องการให้สิทธิบางส่วนเช่น ให้สิทธิเฉพาะฐานข้อมูลที่กำหนดให้ใช้ึคำสั่ง
grant all on mydb.* to jack@localhost identified by 'xxxx';
ที่มา: GRANT Syntax