Howto

FreeMind on Ubuntu

มีเรื่องจำเป็นต้องวาด mind map แต่ปัญหาคือ FreeMind เวอร์ชันปัจจุบัน (0.8.0) ไม่อยู่ใน repository ของ Ubuntu Feisty ด้วยเหตุผลด้าน dependency ต้องออกแรงเพิ่มนิดหน่อย

ในเอกสารบนเว็บของ FreeMind เอง (FreeMind on Linux) ให้รายละเอียดไว้ดี แต่ค่อนข้างจะเก่าไปเล็กน้อย ยังให้ข้อมูลของ Ubuntu 6.10 ที่ต้องลง JRE เองอยู่ ซึงใน Feisty (7.04) นั้นสามารถลง Sun JRE 5.0 ได้จาก apt โดยตรง

reCAPTCHA Module for Drupal

First time I heard about reCAPTHCA (Blognone entry), I thought it's very brilliant idea. Protect your site from spam comments and benefit whole humanity in the same click, never know cool thing like this. Only one barrier that keeps me out of using it is no convenient module for Drupal.

Now, that barrier is gone. Someone has been contributed reCAPTCHA module for Drupal already. All you need to do is:

How to build .deb package

จะช่วยพี่เทพทดสอบ patch ของบั๊ก libthai ใน Ubuntu Feisty ก็พบปัญหาแบบงี่เง่าสุดๆ คือ build .deb ไม่เป็น (ทำเป็นแต่ RPM)

สุดท้ายก็ทำได้ด้วยความช่วยเหลือจากคุณ sugree (อีกแล้ว) เลยต้องจดไว้กันลืม ถือโอกาสยกตัวอย่างของจริงเลย

  • ดาวน์โหลด source package (.tar.gz) จากที่นี่ แล้วแตก tar xvfz
  • ดาวน์โหลด patch (diff.gz) มาไว้ในไดเรคทอรีที่สร้างไว้จากข้อตะกี้
  • patch มันซะ แต่ว่ามันเป็นไฟล์ gzip มาอีกชั้น เลยต้องมีทริกนิดนึง ใช้ zcat ช่วย
    zcat pango-libthai_0.1.6-3ubuntu1.diff.gz | patch -p1

  • ทำการสร้าง .deb ด้วยคำสั่ง
    debuild -i -us -uc -b

No Cursor on Nvidia GeForce 6150

After getting bored with stable Edgy desktop, I start searching for excitement by upgrade my Ubuntu desktop to Feisty Fawn. It's just Herd 5, buggy, unstable and not for ordinary users. Anyway, as state above, I just search for excitement.

Normal alternate installation works fine except my integrated Nvidia GF6150 has distortion screen with generic "nv" driver. Installing official Nvidia Linux driver (via this guide) seems to work well except the cursor is missing. No cursor is displayed but I still can click anywhere on screen.

Lighttpd Problem

เว็บนี้รันอยู่บน Lighttpd มาแบบเงียบๆ ได้หลายเดือนแล้ว เหตุผลก็เพราะว่าอยากพิสูจน์คำคุย

หลังจากเอา ab2 กับ siege ไปยิงถล่มอยู่พักนึงก็ยังไม่เห็นพลังที่เหนือกว่า Apache มากนัก เลยเอาเว็บตัวเองไปเป็นหนูทดลอง สร้าง real world test case

เรื่องประสิทธิภาพผมขี้เกียจวัด แต่เจอปัญหาในเรื่อง application support

Pages

Subscribe to RSS - Howto