May
06
2009
0

Install zint-2.1.2 on FreeBSD 6.2

737 views

zint เป็นโปรแกรม Open source แบบ command line สำหรับสร้าง barcode ครับ support ถึง 50 รูปแบบเลย ซึ่งสุดยอดมากๆ ไม่มีเจ้าใดเทียบได้อีกแล้ว
เขียนด้วยภาษา C จำเป็นต้อง compile ที่เครื่องก่อน ได้เฉพาะฝั่ง Linux นะครับ All POSIX (Linux/BSD/UNIX-like OSes)
วิธีใช้หนะไม่ยากเพราะสั่งแค่บรรทัดเดียวก็สร้าง barcode ได้แล้ว แต่ตอนลงพอดีมันติด compile อยู่มั่วไปมั่วมาจนสำเร็จ
เลยมาบันทึกไว้เผื่อใครติดปัญหาเหมือนกัน

I try to install zint 2.1.2 on my FreeBSD but it have some problem when compile.
This is my way to fix it.

(more...)

Written by Pipo in: FreeBSD & Linux | Tags: , , ,
Apr
24
2009
0

แก้ bug CSS ใน input button ของ FireFox3

1,011 views

ปกติไม่ค่อยได้ใช้ CSS กับ form เท่าไร่ พอใช้ปุ๊บงงเลยกะ FireFox3 ดังรูป

firefox input type file bug

ค้นไปค้นมาเจอ 2 วิธี
ง่ายสุด 1 ใส่ css เพิ่ม

input[type=file] /* FF input file */
{
	color: #333333;
	background-color:#FF0000;
}

background-color: -> อันนี้ไม่มีผลนะครับใส่ไว้ให้พวกอยากลองจะได้ไม่ต้องไปเสียเวลาพิมพ์

อีกวิธีแบบเทพไปเลยถ้าต้องการ
http://www.quirksmode.org/dom/inputfile.html

รู้สึกจะเป็นมานานแล้วก็ยังไม่ได้รับการแก้ไขเสียด้วย
อ่านรายละเอียดการแจ้ง bug https://bugzilla.mozilla.org/show_bug.cgi?id=52500

Written by Pipo in: Developer |
Feb
19
2009
4

View Source Chart : ดู source code จาก FireFox แบบวิจิตรเทพ

1,912 views

view-source-chart

Add-ons  FireFox ตัวโปรดอีกตัวนึงของผมเลยครับ หลังจากไม่ได้ใช้มานาน เพราะ upgrade FireFox เป็น v3 แล้วตัว add-ons มันไม่ support วันนี้นึกขึ้นได้ลองไป search ดูอีกครั้งปรากฏว่ามี experimental version ที่ใช้งานกับ FireFox 3 ได้แล้ว เลยรีบโหลดทันที ความสามารถของมันคือเอาไว้ view source code หน้า html ครับแต่ข้อดีสุดๆ ของมันก็คือ

(more...)

Written by Pipo in: Developer | Tags: , , ,
Feb
13
2009
0

HOWTO: Restore GRUB (if your MBR is messed up)

5,512 views

1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.

2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.

3. Type "grub" which makes a GRUB prompt appear.

4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.

5. Type "root (hd0,3)".

6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".

7. Type "quit".

8. Restart the system. Remove the bootable CD.

credit
http://ubuntuforums.org/archive/index.php/t-24113.html

Written by Pipo in: Ubuntu | Tags: ,
Jan
04
2009
1

เล่นเกมส์เหมือน WII บน PC ด้วย WebCam

2,989 views

แค่ชื่อก็งงแล้วหล่ะซิ ฮ่าๆ เจ้าโปรแกรมนี้มีชื่อว่า CamSpace
"CamSpace is a new fun way to play your favorite PC games"

CamSpace เป็นโปรแกรมที่ทำให้เราสามารถควบคุมเกมส์ หรือโปรแกรมด้วย webcam ทุกชนิด โดยที่เราใช้ร่างกายแทน
mouse, keyboard หรือกระทั่ง joystick นั่นเอง
(more...)

Written by Pipo in: Software | Tags: ,
Dec
20
2008
1

Step by step install Engine X (nginx) and php-fpm in FreeBSD

3,202 views

1. Install nginx

# cd /usr/ports/www/nginx
# make install

choose :

HTTP_MODULE
HTTP_REWRITE_MODULE
HTTP_SSL_MODULE
HTTP_STATUS_MODULE
.....

(more...)

Written by Pipo in: Developer,Software |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes