Posts

Showing posts from April, 2010

change font of qt4 -application (such as skype)

i have found problem that i can't change font (thai font) in skype on fedora 12 for who havn't qt4-setting in system>>preference please use qtconfig-gq4 in commandline instead then change font to "Loma" very thank to this tread (http://forums.fedoraforum.org/showthread.php?t=223708)

stuff for web dev#2

http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ http://mojodna.net/2009/05/20/an-idiots-guide-to-oauth-10a.html http://hueniverse.com/oauth/ http://oauth.net/documentation/getting-started/ http://bitbucket.org/jespern/django-piston/wiki/Documentation http://www.thedigitalself.com/exposing-rest-services-with-python-and-django http://beautifulisbetterthanugly.com/posts/2009/jul/23/restful-web-service-using-django-piston/ http://blog.carduner.net/2010/01/26/django-piston-and-oauth/ http://hedgehoglab.com/blog/2008/03/03/django-debug-techniques-and-ipython/ THANK FOR ALL MANKINDS

knowledge from joe

requirements.txt # Use as follows: 'pip install -E -r requirements.txt' # Make sure you have mercurial installed because pip gives you useless error # messages when it's not installed and you think that your links are broken. ## General development environment. docutils==0.5 nose ipython django #-e git+git://github.com/robhudson/django-debug-toolbar.git#egg=django-debug-toolbar NoseDjango BeautifulSoup ## Application specific dependencies. PIL pycrypto http://www.satchmoproject.com/snapshots/trml2pdf-1.2.tar.gz PyYAML http://www.reportlab.org/ftp/ReportLab_2_3.tar.gz -e hg+http://bitbucket.org/bkroeze/django-threaded-multihost/#egg=django-threaded-multihost -e hg+http://bitbucket.org/bkroeze/django-caching-app-plugins/#egg=django-caching-app-plugins -e hg+http://bitbucket.org/bkroeze/django-signals-ahoy/#egg=django-signals-ahoy -e hg+http://bitbucket.org/chris1610/satchmo/@v0.9#egg=satchmo http://geopy.googlecode.com/svn/trunk/ ---------------------------------------- afte

the needs for web dev with django

http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ http://www.saltycrane.com/blog/2008/12/card-store-project-3-installing-satchmo-part-2/

to create branch/tag for subclipse(eclipse)

http://www.saltycrane.com/blog/2007/03/how-to-setup-subclipse-project-to/

tips for skype on fedora 12 (64bit)

http://akdwivedi.wordpress.com/2009/05/09/skype-on-64bit-fedora-10/

new tips for linux

for user environment variable -> export name="value" -> export name=value alias name -> alias name="value" for all users -put filename.sh to /etc/profile.d -source filename.sh /// export ZZZZZ=VVVVVV ///

great code formatting with pygment

โอ้ว หลังจากงง อยู่่นานก็หา วิธี ใส่ รูปแบบการแสดง โค้ด จนได้หนะคับเนี่ย โดยใช้งานโมดูล pygment ตัวอย่างเช่น import os print os . VERSION for i in range ( 1000 ): print 'round %d ' % ( i ) โดยการใช้งานคำสั่ง >> pygmentise -f html -o test.html test.py การใช้งานเบื้องต้น ที่แสนจะเบื้องต้น ก็ประมาณนี้หละคับ รู้สึกเหมือนสีของไฮไลท์มันจะไม่มาด้วย อาจจะค้นหาในโอกาสวาระถัดไปหนะคับ

just thinking

อืม มานั่งคิดดูแล้ว บลอคที่ผมเขียนอยู่นี่ ก็ไม่รู้เหมือนกันว่าเขียนเกี่ยวกับเรื่องอะไร เป็นประเภทไหน สรุปแล้วว่ามันอาจจะเป็นพวกที่เตือนความจำของคนเขียนก็ได้ แต่ว่ายังงัย ผม ก็จะลองปรับปรุงการแสดงโค้ดของภาษาต่างๆ แล้วก็อาจจะปรับปรุงเรื่องของหน้าตา หรือ format ของ การเขียนก็เป็นได้

use python 32 bit in mac show leopard :)

# Prefer 32-bit execution for Python 2.6.1 on Snow Leopard $ defaults write com.apple.versioner.python Prefer- 32 -Bit -bool yes for unset >>> -bool no thk Jaharmi (http://www.jaharmi.com/2009/08/29/python_32_bit_execution_on_snow_leopard)

some things So Cool from P.Pai (fedora)

fedora 12 ====== mirror.in.th mirror1.ku.ac.th fastmirror - help find nearest mirror rpmfusion (free/non free) (http://rpmfusion.org) - for listen mp3 fedora has presto by default (update fedora by download small diff pieces of code) (very thk for p.pai)