Category: Uncategorized
กำหนดการ(ซ้อม)รับปริญญา ม.ธรรมศาสตร์
เอาไว้วางแผน จัดตาราง แบบ มี Timeline ขึ้นมานิดนึง
ไปเสม็ดทั้งที ต้องไปโดดน้ำ ณ อ่าวลุงดำ
ท่านี้ หรือท่านี้ หรือจะไปแบบนี้ หรือแบบนี้ หรือจะแปลงร่างเป็น Super Man แบบนี้ ไม่มีใครว่า เชิญสัมผัสเองได้ที่ เสม็ด ณ อ่าวลุงดำ ภาพทั้งหมดดูข้างล่างเลยจ้าาาา
เซอพร๊ายซ์ ฟรายเดย์ (เมื่อน้ำท่วมซอย)
เหตุเกิดเมื่อเช้า วันศุกร์ ที่ 2 July อาบน้ำแต่ตัวเสร็จตั้งแต่เช้า เวลาประมาณ 8 – 9 โมง ฝนไม่หยุดตกซะที จะรอหยุดแล้วออกไปทำงาน
SEO แบบเนียนๆ (หรอ ?)
พอดีมีคนมา comment ซึ่งผมว่าเป็น comment ที่ไม่ต้องอ่าน content ของผมก็ได้ ผมไม่ว่าหรอกถ้าจะใส่ เว็ปตัวเอง แล้วได้ back-link แต่ว่า เล่นชื่อมาเป็น keyword (เล่นกันตรง anchor text)
ทำไม “คนรวย” ถึงส่งลูก ไปเป็นลูกจ้าง ?
พอดีนั่งรถกลับนครสวรรค์กับพ่อ และเพื่อนพ่อ … เพื่อนพ่อเล่าว่า มีเพื่อนเค้าคนหนึ่ง บ้านก็รวย (ธุรกิจส่วนตัว, เป็นคนจีน) แต่พ่อส่งให้ไปเป็นลูกจ้าง
วิธีการ Share internet ผ่าน Bluetooth (Mac OS X)
วิธีการ Share internet ผ่าน Bluetooth ฝั่ง Host Config Bluetooth ประมาณนี้ จะได้้รายละเอียด Bluetooth ประมาณนี้
ขายวิก(wig) ผมยาว สีออกแดงนิดๆ จร้าา
ขายวิก(wig) ผมยาว สีออกแดงนิดๆ จร้าา ไม่ใช่ผมจริง เป็นไหม (ยังไม่ได้ใช้ ยังไม่ได้สระเลย) ผมยาวประมาณนี้
ร้านขายข้าว
วันนี้กลับมากินข้าวที่ม.(ธรรมศาสตร์) ประมาณ 3 ทุ่มแล้ว ปกติจะปิดหมดแล้ว (อินเตอร์โซนใหม่ หรือ โรงอาหาร ทิวสนโดม) แต่มีร้านลุงหมูตุ๋นอยู่ร้านเดียวที่ยังเปิด …
ควรจ่ายเท่าไหร่?
มีข้อมูลดังนี้ รอรถตู้ ฝนตกหนัก รอรถนานมาก คิวยาวมาก มีคนแปลกหน้าชวนกลับ taxi (ไม่รู้จักกันเกือบหมด) ตกลงกลับ taxi 6 คน (ไม่รู้จักกันเกือบหมด) มีคนลงก่อน 1 คน ค่ารถตอนลง 185 บาท
ขอทาน
เราควรให้เงินขอทานหรือไม่ มีข้อมูลดังนี้ ขอทานเป็นบุคลที่สติดี มีอวัยวะครบ 32 ไม่ใช่คนแก่ (เกินไป) ไม่ใช่เด็ก (เกินไป) เป็นขอทาน เราควรให้เพราะ
ยุง คือ ศัตรู ?
ถ้ามีข้อมูลอยู่ดังนี้ (สถานการณ์ไม่ปกติ / ข้อยกเว้น ) มียุง ไม่มีเด็ก ไม่ได้อยู่ในมุ้ง อยู่ในที่โล่ง ตบยังไงก็ไม่หมด ยุงกินเลือดเป็นอาหารเราตบยุงเพราะ … ความเคียดแค้น ?? (ตบแรงๆ พร้อมทำหน้าสะใจ) … อยากให้มันตายยๆๆๆ … เห็นมันตายแล้วสะใจๆๆๆ ยิ่งตบแรงยิ่งสะใจ … เพราะความเคียดแค้น ? 7. กระจก
ถึงคนที่เข้ามาอ่านที่นี่เป็นประจำ
ถ้าใครเข้ามาอ่านที่นี่เป็นประจำ ผมอยากจะบอกว่าไม่ต้องเข้ามาอ่านแล้วนะครับ ถ้า Search เจอค่อยเข้ามาเผื่อมีอะไรจะช่วยได้บ้าง การเขียนของผมไม่ได้ชวนให้ติดตาม เขียนให้ Search เจอ ทำไปนานๆมันกำลังจะกลายเป็น blog ขยะ สงสารคนอ่านน่ะครับ เสียเวลาเข้า ช่วงนี้ผมคงไม่ค่อยได้เขียนอะไรมากนัก สร้างสรรค์ไม่ค่อยเป็น
[note] curly braces และ เพื่อนๆ
From the top: square brackets, curly brackets (braces), parentheses, angle brackets, and (in red) inequality signs จาก http://en.wikipedia.org/wiki/Braces_%28punctuation%29#Braces Related Blogs Behind the Video: Alicia Keys – 'Un-thinkable (I'm Ready)' Explaining Inequality Trends: Pretty Simple? | Progressive Fix It's IMG next – Mumbai Mirror | Indian Premier League Investment information including spread betting. Airsoft BBs [...]
sort List ใน views ที่มาจาก Relation แบบ hasMany ใน grails
> ไม่ Blog ยาว ขอสั้นๆ มี Domain แบบนี้ package com.nazt class Experiment { static hasMany = [data:DataKeeper] String name = '[Experiment #]' Integer total Date dateCreated Date lastUpdated static constraints = { name(unique:true) } String toString() { name } } code เดิมๆ ใน views มันเป็นแบบนี้ <g:each in=”${experimentInstance.data}” var=”d”> ก็แก้ให้มันเป็นแบบนี้
Twitter Follow Back Script
517 sudo gem update –system 518 sudo gem install rubygems-update 519 sudo update_rubygems 520 sudo gem install twitter #!/usr/bin/env ruby require ‘rubygems’ require ‘twitter’ config = YAML::load(open(".twitter")) httpauth = Twitter::HTTPAuth.new(config[’email’], config[’password’]) base = Twitter::Base.new(httpauth) base.followers.each do |follower| if !follower.following begin base.friendship_create(follower.id, true) rescue puts "An error occurred: #{$!}" end puts "Created friendship with [...]
เริ่มต้นง่ายๆกับ GitHub
มาเริ่มต้นกับ Github กันดีกว่า .. เมื่อเราสมัคร github เรียบร้อยแล้ว ให้เข้าไปที่ dashboard แล้วก็ลอง create repository ดู กรอกข้อมูลให้ครบ เมื่อเรียบร้อยแล้วเราจะเจอ ..
มาลอง พัฒนา Application ร่วมกับ Git กันเถอะ (1)
Git คืออะไร ? ว่าง่ายๆ Git ก็คือ opensource ที่ใช้เป็น version control system นั่นแหละครับ หรือ นิยามเต็มๆ ก็คือ Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent [...]
[Pre] GitHub Command (Blog From Terminal)
nazts-macbook:~ NAzT$history | grep git 68 grails create-app gitdemo 69 cd gitdemo/ 79 cd gitdemo/ 80 git init 81 git add . 82 git commit -m “initial checkin”
[Twitter] อ่าน User Timeline มาใส่ Blog โดยไม่พึ่ง Plugin
ขั้นแรกเตรียมช่องไว้ใส่ข้อความจาก User Timeline ก่อน <div id=”twitter”> <h2>Twitter</h2> <ul id=”twitter_update_list”></ul> <br/> </div> ต่อไปก็ เอา Code Java Script ไปใส่ไว้ข้าง
[Note]-Google Wave
วันนี้เปิด twitter มา ก็เห็น tag #googlewave ก็ลองไปเปิดๆ search ๆ ดู แล้วก็ไปดู clip vdo ที่ http://wave.google.com/ พอดูแล้ว … เฮ้ย เจ๋งดี เหมือนกับว่า google สร้าง googlewave ขึ้นมาโดยใช้ product เดิม อย่างเช่น gmail, gdocs, gtalk ….. ทั้งหลายทั้งปวง ทำให้ เราสามารถทำงาน ร่วมกัน … คุยกัน ใช้ชีวิตประจำวันด้วยกัน …. realtime โคตรๆ ชอบๆ Google Wave is a new tool for communication and collaboration on the web, [...]
[Shell Script] ค้นหาไฟล์ ลบไฟล์ ที่เลยมาแล้ว 10 นาที
ตัวอย่างนี้จะส่ง ls -l เมื่อเจอไฟล์ที่มีอายุ 15 นาทีขึ้นไป $ find ~/CRON_LOCKS_FILE/ -mmin +15 -type f -exec ls -l {} \; อันนี้จะลบไฟล์ที่มีอายุ 3 วันขึ้นไป $ find /u1/database/prod/arch -type f -mtime +3 -exec rm {} \; Related Blogs What type of movie is harder to sit through without losing your mind? Let's Look At Locks. | High Tech Safety [...]
[Twitter] Follow กลับ คนที่มา Follow เรา
Script Follow กลับ ด้าวยภาษา ruby ก่อนอื่นต้องลง twitter gem ด้วยคำสั่ง sudo gem install twitter (อย่าลืมอัพเดต ก่อนด้วยนะ) ไฟล์ config มีหน้าตาเป็นแบบนี้นะ FILE (.twitter) email: my_twitter_email password: my_twitter_password #!/usr/bin/env ruby require ‘rubygems’ require ‘twitter’ config = YAML::load(open(".twitter")) httpauth = Twitter::HTTPAuth.new(config[’email’], config[’password’]) base = Twitter::Base.new(httpauth) base.followers.each do |follower| if !follower.following begin base.friendship_create(follower.id, true) rescue puts "An error occurred: [...]
วิธีลบ Quicksilver
วิธีลบ Quicksilver หรือ reset configuration 503 sudo rm -rfv ~/Library/Application\ Support/Quicksilver/ 504 sudo rm ~/Library/Preferences/com.blacktree.Quicksilver.plist Related Blogs Django Staging Server: Apache Configuration Manitoba Hydro and NRCan Support Extreme Cold Weather Biodiesel … Opera Finds Flash Unappetizing For Web Video [Blockquote] | Gadget … a centre-left nation needs what kind of government? | afoe | A [...]
update Twitter ด้วย twitter.lib.php ทำงานบน Shell
พอดีต้องทำงานเกี่ยวกับการเอาข้อมูลไปลง twitter เลยต้องหา library มาลอง ลองไปลองมาหลายภาษา ได้ถูกใจก็ twitter.lib.php เนี่ยแหละ ซึ่ง สนใจไปดูได้ที่ http://apiwiki.twitter.com/Libraries แต่พอดีอยาก tweet แล้วขี้เกียจพิมพ์ tag เอง … เลย ทำ script เพื่อให้มันใส่ tag ให้เลย (ข้างล่าง) $twitter=InputAndLoginToTwitter(); echo "Enter Tag : "; $tag = fgets (STDIN, 1024); while(1) { print "Update : "; $stdin = fgets (STDIN, 1024); $update=$twitter->updateStatus(trim((string)$stdin) . " " . trim($tag)); if($twitter->http_status!=200) { [...]
ความหมายของคำว่า Chillax
จาก The Online Slang Dictionary Chillax Chillax: a combination of “chill” and “relax.” “Chill” means to kick back; relax. “Relax”; that’s self-explanatory. To relax. Orgin: Combination of “chill” and “relax.” Example : I was just chillaxing all day yesterday. I’m chillaxing right now… Related Blogs Updated: Business Intelligence Online Resources « ResourceShelf Why Chill Out [...]
[code] อัพโหลดภาพเข้า twitpic โดยใช้ api
[code] อัพโหลดภาพเข้า twitpic โดยใช้ api จะใช้ CURL ซึ่ง จาก function จะ input username ,password , filepath function postTwitpic($username='',$password='',$filepath='') { $postfields = array(); $postfields['username'] = $username; $postfields['password'] = $password; $postfields['media'] = "@$filepath"; $twitter_url = 'http://twitpic.com/api/upload'; $curl = curl_init(); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_BINARYTRANSFER, 1); curl_setopt($curl, CURLOPT_URL, $twitter_url); curl_setopt($curl, CURLOPT_POST, 3); [...]
มี Comment มาแบบนี้ยังไงดีครับ
มี Comment มาแบบนี้ ยังไงดีครับ ผมอยากจะชี้แจงนะครับ ว่าผมทำให้ใช้ฟรี แล้วก็ไม่ได้บังคับใครใช้ ใช้ไม่เป็นแล้วมาโพสแบบนี้ ผมแนะนำให้เอาเขาไปไถกำแพงครับ เผื่อจะฉลาดขึ้น ตอนนี้มีรุ่นใหม่กำลังพัฒนา รุ่นนี้จะโพสอัตโนมัติครับ ตามเวลาที่ตั้งไว้ แต่เจอเข้าแบบนี้อาจจะไม่แจกครับ ขี้เกียจทำต่อ แน่จริงคุณคนโพสข้างบนก็ไปเขียนโปรแกรมใช้เองนะครับ ผมหวังว่าคุณคงมีสมองคิด logic โปรแกรมง่ายๆนะ Related Blogs Rel Canonical Link Tag Element Update » Search Engine Marketing Blog Airsoft BBs .20 gram 4000 round bag SRC Brand | Airsoft Gun Store Sheer class (1): how the Labour party won the election [...]
Java Threads
Ref. http://www.cs.clemson.edu/~cs428/resources/java/tutorial/JTThreadEx.html http://www.idevelopment.info/data/Programming/java/PROGRAMMING_Java_Programming.shtml http://www.exampledepot.com/egs/java.lang/BasicThread.html *** Related Blogs
Threads in Groovy
def stringOne = ‘Hello, ‘; def stringTwo = ‘World!’; Thread.start{sleep(500); println stringTwo} Thread.start{sleep(1000); print stringOne} Ref. http://dustinwhitney.blogspot.com/2008/03/groovy-threads.html http://groovy.codehaus.org/groovy-jdk/java/lang/Thread.html http://chrisbroadfoot.id.au/articles/2008/08/06/groovy-threads Related Blogs










