Blogspot - jkk549.blogspot.com - Programmer Experience

Latest News:

Change skin of Chrome developer tools 21 Oct 2012 | 02:54 pm

เปลี่ยน Skin ให้ Chrome Developer Tools 1)  เปิด Chrome's user stylesheet's directory Windows: "C:\Users\**Your username**\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\" Mac: "~/L...

Rails : Error omniauth + rack 13 Jun 2012 | 08:29 pm

Error following below [FATAL] NoMethodError (undefined method `include?' for nil:NilClass): omniauth (1.1.0) lib/omniauth/builder.rb:47:in `call' actionpack (3.2.2) lib/action_dispatch/middleware/...

rails 3: Rails logger outside controller and model 3 Apr 2012 | 09:07 pm

ทำอย่างไร ถ้าต้องการเขียน log นอก controller และ model ? ใช้ Rails.logger.info "Some debugging info I want to see in my development log." อ้างอิง :http://jasonseifer.com/2009/08/10/using-the-rails-l...

Rails3: How to config rails project no database ? 29 Mar 2012 | 04:20 am

มีวิธีทำให้ Rails Project ไม่ต้องใช้ database อย่างไร ใน config/application.rb ให้ comment #require 'rails/all' ใน config/environments/development.rb ให้ comment #config.active_record.xxxxxxx... แล...

Mysql : gem install mysql2 on windows 27 Mar 2012 | 07:48 pm

How to gem install mysql with reference connector ibrary ? Download mysql-connector-c-noinstall-xxxxxxxxx , วางไว้ที่ c:\ อ้างอิง : http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-...

Rails : Formatting a date in a SQL query in Rails 27 Mar 2012 | 07:44 pm

ต้องการส่งวันที่และเวลา เข้าไปใน SQL Query ? User.where("created_at < ?", Time.now.to_formatted_s(:db))

Update SVN Client แล้วพอ Synchronize มีข้อความขึ้นว่า ...Working copy is too old ! 26 Mar 2012 | 03:18 am

Update SVN Client เป็น version ใหม่ แต่พอไป Synchronize Project มี error ว่า ...Working copy is too old (format 10, created by Subversion 1.6) ? แก้ไขโดยวิธีแค่เลือก Upgrade working copy ก่อน แล้วค่อ...

Windows 7 + Epson LQ 300 24 Mar 2012 | 09:22 pm

ต้องการติดตั้ง driver printer Epson LQ 300 บน Windows 7 ? ขั้นตอนการติดตั้ง ติดตั้งโดยใช้ Driver ที่มีมากับ Windows 7 เลือกเป็น EPSON LQ-300+ /II ESC/P 2 ทดสอบพิมพ์ด้วย Print Test Page จะพบปัญหาขึ้...

rails 3: How to get the old value of an attribute in Rails 12 Dec 2011 | 09:35 pm

Q: อยากจะได้ค่าก่อนหน้าของแต่ละ attribute ทำอย่างไร เพื่อไว้เปรียบเทียบค่าเก่า ค่าใหม่ ? A: ให้เพิ่ม _was ต่อท้ายใน attribute นัั้นๆ ได้เลย ก็จะแสดงค่าก่อนหน้ามาให้

Excel : แทนค่า 0 ด้วยช่องว่าง 7 Sep 2011 | 05:04 am

Problem : พอดี cell นั้นใช้สูตร copy มาจาก cell อื่น (=A2) แต่ cell ที่ถูกอ้าง (A2) เป็นค่าว่าง ผลลัพธ์ที่ cell ที่อ้างจึงมีค่าเป็น 0 แต่อยากจะให้แสดงเป็นค่าว่างเหมือนกัน Solution : คลิกขวา cell ที่่...

Recently parsed news:

Recent searches: