วันเสาร์ที่ 19 กรกฎาคม พ.ศ. 2557

漢方

http://www.zhongyibaike.com/
เซี่ยนฟง สมุนไพรจีนสูตรเซี่ยนฟง
ส่วนประกอบสำคัญ :โสม (Gingseng) 
ปักคี้ หรืออึ้งคี้ (Astragalus monglolicus) 
ตังกุย (Angelica sinensis) 
เก๋ากี้ (Fructus lycii) 
แปะเจียก (Paeonia lactiflora) 芍药 http://www.zhongyibaike.com/wiki/%E8%8A%8D%E8%8D%AF
ชวงกง (Lingusticum wallichii) 川芎อั่งฮวย (Carthmus tinctoris)

川芎的功效与作用

そこ気の血液循環、悪寒痛、肝気の停滞の役割をセンキュウ、及び、ヘッド毛細血管を拡張し、血液循環、遅い毛髪成長を改善し、湿った髪を維持する。月経不順、無月経月経困難症、胸Latong、またはフラッタ腫れや痛み、頭痛、リウマチください。

วันเสาร์ที่ 18 สิงหาคม พ.ศ. 2555

http://www.thheuer.com/2010/12/howto-install-xampp-1-7-2-on-windows-7-with-xdebug-and-netbeans/


Download XAMPP 1.7.2 from sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.2/xampp-win32-1.7.2.exe/download
Install
Download php_xdebug-2.0.5-5.3-vc6.dll from xdebug.org/download.php
Place it in C:\xampp\php\ext
Edit C:\xampp\php\php.ini add:
zend_extension = “C:\xampp\php\ext\php_xdebug-2.0.5-5.3-vc6.dll”[xdebug]
xdebug.remote_enable=on

xdebug.remote_host=127.0.0.1

xdebug.remote_port=9000

xdebug.remote_handler=”dbgp”

Enjoy!


http://xdebug.org/wizard.php
  
 XDEBUG EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION

If you like Xdebug, please consider buying a
"support agreement".
Or Flattr this website: 

Tailored Installation Instructions

This page helps you finding which file to download, and how to configure PHP to get Xdebug running. Please paste thefull output of phpinfo() (either a copy & paste of the HTML version, the HTML source or php -i output) and submit the form to receive tailored download and installation instructions. Do not paste the raw HTML (from view-source) into the form.
The information that you upload will not be stored. The script will only use a few regular expressions to analyse the output and provide you with instructions. You can see the code here.
 
 
This site and all of its contents are Copyright © 2002-2012 by Derick Rethans.
All rights reserved.

วันเสาร์ที่ 19 พฤศจิกายน พ.ศ. 2554

Edit hosts file in windows 7

http://helpdeskgeek.com/windows-7/windows-7-hosts-file/

วันจันทร์ที่ 6 มิถุนายน พ.ศ. 2554

prompt full path on mac

nano .profile
Now type: export PS1=" "
Between the quotation marks, you can add the following lines to customize your Terminal prompt:
  • \d – Current date
  • \t – Current time
  • \h – Host name
  • \# – Command number
  • \u – User name
  • \W – Current working directory (ie: Desktop/)
  • \w – Current working directory, full path (ie: /Users/Admin/Desktop)
So, let’s say you want your Terminal prompt to display the User, followed by the hostname, followed by the directory, the .bashrc entry would be:
export PS1="\u@\h\w$ "
which will look like:
Admin@MacBook~Desktop/$ "
Cool huh? You can also change the prompt itself to anything, it doesn’t have to be the $ sign, simply replace it with whatever else you’d like to use, : for example would be:
export PS1="\u@\h\w: "

วันอังคารที่ 31 พฤษภาคม พ.ศ. 2554

Mac OSX 10.6.7 installed on ASUS P5K Deluxe

I have succeeded in installing Mac OSX 10.6.7 on  ASUS P5K Deluxe by using SnowOSXUniFlash V1.2 (10.6.7). ( http://snowosx.blogspot.com/)

In restoring SnowOSXUniFlash1.2.img on thumb drive you have to run USB Image Tool as administrator. Otherwise you cannot change to "Device Mode"

The system installation takes not so long about 20 min. In customizing during installation,  just choose the default items. Everything seems to be ok.

However there are several problems:
Sound
Lan

I used Kext Helper b7 in /Appications/Atools to install the following kexts
LegacyAppleYukon2.kext (found in /Applications/Atools/_Drivers/LAN)
VoodooHDA.kext (found in /Applications/Atools/_Drivers/Audio)
IOPCIFamily.kext (found in /Applications/Atools/_Drivers/System)
IONetworkingFamily (found in /Applications/Library/Extensions/  on the Hackintosh machine installed by iATOK S3, V2 (10.6.3) which can run on P5K-Deluxe without problems)

วันเสาร์ที่ 28 พฤษภาคม พ.ศ. 2554

MAMP Pro and Moodle

Install MAMP Pro on Mac as usual.
/Applications/MAMP/htdocs  is the  document root
so the file in this folder can be seen from http://localhost:8888/test.php for example. (

Download Moodle standard version 1.9 (version 2.0 does not work with MAMP Pro 1.9.4 because php version 5.3.2  is available only while Moodle 2.0 requires PhP5 version 5.3.3)
Extract Moodle and place the folder of Moodle19 (named the folder by yourself) in /Applications/MAMP/htdocs/moodle19
Create folder in /Applications/MAMP/moodledata with chmod 777 for data
Create mysql database name moodle by phpmyadmin provided in MAMP Pro (user will be root with root password=database password)

Run http://localhost:8888/moodle19/install.php and follow the instruction in the browser.
Eerything will be ok with this installation procedure.

viroteb 2011-05-28