บทความ

กำลังแสดงโพสต์จาก พฤศจิกายน, 2014

ลองใช้งาน Google Chart กัน

รูปภาพ
วันนี้ก็จะมาสำเสนอลองใช้งาน Google Chart กันครับ ปัจจุบันก็มี Chart library ทั้งแบบฟรีและไม่ฟรีหลายตัวมากมาย เช่น Chart.js, D3.js (ตัวนี้อย่างเทพแต่ว่าก็ใช้ยากสุดๆ เหมือนกัน) แต่ผมได้เลือก Google Chart มาเพราะว่าอะไรหรอ? อย่างแรกเลย ง่ายครับ เรียนรู้ง่าย คู่มือละเอียด และก็เร็วครับ ปัญหาน้อย (อันนี้เทียบกับ Chart.js เลย)

คำสั่งเบื้องต้นหลังจากที่สร้าง Repository ใน Bitbucket แล้ว

Get code into Bitbucket fast using the command line Command line  I'm starting from scratch Set up your local directory Set up Git on your machine if you haven't already. mkdir /path/to/your/project cd /path/to/your/project git init git remote add origin git@bitbucket.org:titanscript/hosting-management.git Create your first file, commit, and push echo "Pukkapol Tantikittipisut" >> contributors.txt git add contributors.txt git commit -m 'Initial commit with contributors' git push -u origin master Great job, now you're all set up! Get started coding or create a team and invite people to work with you.  I have an existing project Already have a Git repository on your computer? Let's push it up to Bitbucket. cd /path/to/my/repo git remote add origin git@bitbucket.org:titanscript/hosting-management.git git push -u origin --all # pushes up the repo and its refs for the first time git push -u origin --tags # pushes up any tags Want

The Ultimate Vim Distribution

รูปภาพ
วันนี้จะมานำเสนอสำหรับคนที่ชอบใช้ Vim ก็เป็น Vim ที่มีการรวบรวม Plugin ต่างๆ ที่จำเป็นเอามาให้เรียบร้อย ไม่ต้องลงอะไรเพิ่มอีก Featured Plugins Vundle NERDtree ctrlP Surround NERDcommenter Neocomplcashe Syntasitc Fugitive PIV Tabularize Tagbar Easymotion ก็ลองไปโหลดมาใช้กันได้น่ะครับ ด้วยคำสั่งด้านล่าง curl http://j.mp/spf13-vim3 -L -o - | sh

แก้ปัญหาเรื่อง No Such file or directory ของ Node.js

There are two package in Ubuntu that have similar names,  node  and  nodejs . node  does this, Description-en: Amateur Packet Radio Node program. The node program accepts TCP/IP and packet radio network connections and presents users with an interface that allows them to make gateway connections to remote hosts using a variety of amateur radio protocols. nodejs  does this, Description-en: Node.js event-based server-side javascript engine Node.js is similar in design to and influenced by systems like Ruby's Event Machine or Python's Twisted. It takes the event model a bit further - it presents the event loop as a language construct instead of as a library. Node.js is bundled with several useful libraries to handle server tasks : System, Events, Standard I/O, Modules, Timers, Child Processes, POSIX, HTTP, Multipart Parsing, TCP, DNS, Assert, Path, URL, Query Strings. Fedora also follows a similar package naming scheme. Because of this, the binary in  nodejs  had to