Drupal - Move ‘Files’ Directory

Try to move files directory on the root to sites/default/files
You have to edit MySQL fields with this command.

UPDATE `files` SET `filepath` = REPLACE(`filepath`, "files/", "sites/default/files/")

change files/ and sites/default/files/ to your location.

Tested on Drupal 6

This was posted 1 month ago. It has 0 notes.

True Modem Password

u: admin
p: admin

u: true
p: true

u: admin
p: mi^8viNxvgi=yjo

u: true
p: mi^8viNxvgi=yjo

u: admin
p: ADSLMT880mi^

This was posted 2 months ago. It has 0 notes.
60 Writing Tips from 6 All-time Great Writers
This was posted 3 months ago. It has 0 notes.

อุดมคติ?

ต้องถามก่อนว่ากฎหมายสำหรับคุณก็แค่กระดาษรึเปล่า ถ้าใช่ คุณก็คงไม่เชื่อกฎหมายเพราะมันก็แค่กระดาษ

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

ผมเกลียดรัฐประหาร และตอนนี้ในสังคมเหลือกลุ่มสุดท้ายที่เกลียดเหมือนผม ผมควรสนับสนุนกลุ่มนี้ หรือควรสนับสนุนกลุ่มไร้อุดมคติ เพียงเพื่อกำจัดแมลงสาปตัวเดียว แกล้งโง่ฆ่าได้ทุกอย่าง

This was posted 3 months ago. It has 0 notes.

Currency Converter API - แปลงค่าเงินแบบทันที

PHP

$url = "http://www.exchangerate-api.com/THB/GBP/50000";
$request = file_get_contents($url);
echo number_format($request->data);

PHP on Drupal

$url = "http://www.exchangerate-api.com/THB/GBP/50000";
$request = drupal_http_request($url);
echo number_format($request->data);

http://exchangerate-api.com/

This was posted 3 months ago. It has 0 notes.
Firework at Sheraton Resort and Spa, HuaHin

Firework at Sheraton Resort and Spa, HuaHin

This was posted 4 months ago. It has 0 notes. .
Kid Are Quick

Kid Are Quick

This was posted 4 months ago. It has 0 notes. .

Love & Power

When the Power of Lover overcomes the Love of Power the World Will Know Peace

Jimi Hendrix

This was posted 4 months ago. It has 0 notes.

3G Frequency in Thailand

Provider Technology Frequency
AIS UMTS/HSDPA 900 MHz
DTAC UMTS/HSDPA 850 MHz
True UMTS/HSDPA 850 MHz
TOT UMTS/HSDPA 2100 MHz
CAT Telecom CDMA EVDO
Hutch CDMA EVDO
iMobile HSDPA 2100 MHz (TOT network)
iKool HSDPA 2100 MHz (TOT network)

source: ichris.ws | wikipedia

This was posted 4 months ago. It has 0 notes.

Cognitive Distortion - ตรรกผิดเพี้ยน

  1. All-or-nothing thinking (splitting) - Thinking of things in absolute terms, like “always”, “every”, “never”, and “there is no alternative”. Few aspects of human behavior are so absolute. (See false dilemma.) All-or-nothing-thinking can contribute to depression. (See depression).
  2. Overgeneralization - Taking isolated cases and using them to make wide generalizations. (See hasty generalization.)
  3. Mental filter - Focusing almost exclusively on certain, usually negative or upsetting, aspects of an event while ignoring other positive aspects. For example, focusing on a tiny imperfection in a piece of otherwise useful clothing. (See misleading vividness.)
  4. Disqualifying the positive - Continually reemphasizing or “shooting down” positive experiences for arbitrary, ad hoc reasons. (See special pleading.)
  5. Jumping to conclusions - Drawing conclusions (usually negative) from little (if any) evidence. Two specific subtypes are also identified:
    • Mind reading - Assuming special knowledge of the intentions or thoughts of others.
    • Fortune telling - Exaggerating how things will turn out before they happen. (See slippery slope.)
  6. Magnification and minimization - Distorting aspects of a memory or situation through magnifying or minimizing them such that they no longer correspond to objective reality. This is common enough in the normal population to popularize idioms such as “make a mountain out of a molehill.” In depressed clients, often the positive characteristics of other people are exaggerated and negative characteristics are understated. There is one subtype of magnification:
    • Catastrophizing - Focusing on the worst possible outcome, however unlikely, or thinking that a situation is unbearable or impossible when it is really just uncomfortable.
  7. Emotional reasoning - Making decisions and arguments based on intuitions or personal feeling rather than an objective rationale and evidence. (See appeal to consequences.)
  8. Should statements - Patterns of thought which imply the way things “should” or “ought to be” rather than the actual situation the patient is faced with, or having rigid rules which the patient believes will “always apply” no matter what the circumstances are. Albert Ellis termed this “Musturbation”. (See wishful thinking.)
  9. Labeling and mislabeling - Explaining behaviors or events, merely by naming them; related to overgeneralization. Rather than describing the specific behavior, a patient assigns a label to someone of themself that implies absolute and unalterable terms. Mislabeling involves describing an event with language that is highly colored and emotionally loaded.
  10. Personalization - Attribution of personal responsibility (or causal role) for events over which the patient has no control. This pattern is also applied to other in the attribution of blame.
Source: http://en.wikipedia.org/wiki/Cognitive_distortion (via) http://lanpanya.com/wash/archives/1222

This was posted 5 months ago. It has 0 notes.

»Walking Crowd«, 2009 by Alex Delany.

This was posted 6 months ago. It has 0 notes.

What Earth Would Look Like With Rings Like Saturn @ http://www.youtube.com/user/Pakiavelli

This was posted 6 months ago. It has 0 notes.
map remote @ http://www.flickr.com/photos/45642115@N07/

map remote @ http://www.flickr.com/photos/45642115@N07/

This was posted 6 months ago. It has 0 notes. .

Mazz IR - UBC Tune

การจูนช่องยูบีซีใหม่

1. กด Menu ที่รีโมทคอนโทรล
2. เลือก Installation
3. เลื่อนลงมาที่ Factory defaults (Clear data) กด OK
4. เลือก Attena Setting (ตั้งค่า LNB)
5. กด OK เลื่อนขึ้นหาชื่อดาวเทียม Thaicom 2,3 ku
6. เลื่อนลงมาที่ Lnb Type กดขวาเลือก 11300 ***** กรณีใช้ Lnb แบบ Universal เลือกเป็น Uni 1
7. กดปุ่มสีแดงที่รีโมท เพื่อ Save
8. กด Exit
9. เลือก Manual กด OK
10. กด OK เลื่อนขึ้นหาชื่อดาวเทียม Thaicom 2,3 ku
11. กดปุ่ม F1 (ปุ่มสีเขียว) ที่รีโมท จะปรากฎหน้าต่าง TP Edit ขึ้นทางขวามือ
12. แถบสีน้ำเงินอยู่ที่ Add กด OK
13. เลื่อนลูกศรลงมาที่ TP Freq แล้วกดตัวเลข ใส่ความถี่ 12438
14. เลื่อนลูกศรลงมาที่ Polarization แล้วกดลูกศรขวา เพื่อเลือกแนว Hor
11. เลื่อนลูกศรลงมาที่ Symbol Rate แล้วกดตัวเลขใส่ค่า 30000
12. เลื่อนลงมาที่ Nit Search เปลี่ยนเป็น ON
13. กดปุ่มสีแดง ที่รีโมท เพื่อ Search รอสักครู่….
14. กด Exit 2 ครั้ง

Source: 9sat

This was posted 11 months ago. It has 0 notes.

!AbsoluteFreedom

อย่างไรก็ตาม เสรีภาพไม่ใช่สิ่งสัมบูรณ์ (Absolute) เพราะมันมีพลังอำนาจในการสร้าง ทำลาย และเปลี่ยนแปลง ภายใต้ระบบสังคมที่ไม่สมมาตร อำนาจที่ได้มาจากเสรีภาพนั้นไม่เท่ากัน แม้ในบรรดาประชาชนก็มีหลายกลุ่ม และกลุ่มที่มีอำนาจในการสื่อสารมากกว่าก็ย่อมมีอำนาจในการชี้นำ กำหนดแนวคิดและการกระทำของสังคมได้มากกว่าเช่นกัน (Agenda setting)

นโยบายสื่อ 2010-2020: เค้าโครงแนวคิด
Posted in Policy by guopai on 7 กรกฎาคม 2009

This was posted 1 year ago. It has 0 notes.