ก๊วนซอฟท์แวร์ </softganz> SoftGang (Gang Software)

Web &amp; Software Developer Gang.

602 items|« First « Prev 55 56 (57/61) 58 59 Next » Last »|
โดย naigod on 14 ก.ย. 50 16:13

ในงานเลี้ยงนักเขียนของบริษัท มติชน จำกัด (มหาชน) มีรุ่นน้องคนหนึ่งที่ไม่เจอกันมานานเดินมาคุยด้วย เขาบอกว่าอยากเล่าเรื่องหนึ่งให้ฟังมานานแล้ว เป็นเรื่องที่บทสัมภาษณ์ของผมในนิตยสารอิมเมจเมื่อประมาณ 1-2 ปีก่อน “ตอนนั้นหนูกำลังมีปัญหาใหญ่มากไม่รู้จะแก้อย่างไรพอดีได้อ่านที่พี่บอกว่า ปัญหาในโลกนี้มีอยู่ 2 อย่าง คือ ปัญหาที่แก้ได้ และปัญหาที่แก้ไม่ได้ ให้แก้ปัญหาที่แก้ได้ก่อน อ่านแล้วคลิกเลย ขอบคุณมากพี่”พูดจบเธอก็จากไป ทิ้งไว้แต่อาการ “พองโต” ในอารมณ์ของผม ไม่น่าเชื่อว่า แนวทางในการแก้ไขปัญหาแบบ “กำปั้นทุบดิน” จะได้ผล

โดย Little Bear on 14 ก.ย. 50 11:39

การปิดฟังก์ชั่น Autoplay ของ Windows จะช่วยให้ virus บางตัวไม่สามารถเริ่มทำงานได้ เช่น virus ที่มากับ handy drive บางชนิด

วิธีการในการ turn off autoplay คือ

  1. click start -> run แล้วป้อน gpedit.msc จะแสดงหน้าต่าง Group Policy

  2. ช่องด้านซ้ายเลือก Local Computer Policy -> Computer Configuration -> Administrative Templates -> System

  3. ช่องด้านขวา double click ที่ Turn off Autoplay จะแสดงหน้าต่าง Turn off Autoplay Properties

  4. เลือก option เป็น Enabled และ Turn off Autoplay on All drives

  5. ตอบ OK

  6. ทำซ้ำอีกครั้งกับ Local Computer Policy -> User Configuration -> Administrative Templates -> System

โดย Little Bear on 10 ก.ย. 50 11:09

ผมอยากเขียน python เป็น เคยลองนิดหน่อย แต่ยังไม่สามารถเอามาเขียนเป็น application ขนาดใหญ่ได้ กะว่าจะคอยให้ python 3000 release ก่อน แล้วลองศึกษาดูให้จริงจังเสียที

ตอนนี้ก็เก็บลิงก์ไว้ก่อน เป็นบทความภาษาอังกฤษ มีเวลาค่อยลองแปลเป็นภาษาไทยดู

ที่มา : Technology news

โดย เดี่ยว อิสระ on 29 ส.ค. 50 20:59

สมัยหนึ่งพระปุณณะได้เข้าไปเฝ้าพระพุทธเจ้า เพื่อขอรับโอวาทแล้วจะได้หลีกเร้นออกปฏิบัติธรรม ตามโคนไม้ เรือนว่างหรือสถานที่อันควรแก่การปฏิบัติธรรมต่อไป พระพุทธเจ้าทรงให้โอวาทว่า

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

โดย Little Bear on 31 ก.ค. 50 21:56

Some of the commercial software like Photoshop are so expensive that an average user can not afford to buy it. Lately I am looking for some free or open source alternatives for windows programs and i was amazed with the range of programs available. Here i will list some of the open source or free programs as alternatives to windows commercial programs.

I found this document on site http://www.teknobites.com

โดย Little Bear on 14 ก.ค. 50 09:03

ผมเพิ่งติดตั้ง PHP5 ใหม่ พอเริ่มทำงาน ก็แปลกใจว่าทำไมเวลาที่แสดงในเว็บถึงเร็วไป 1 ชั่วโมง ลองหาทางแก้อยู่พักใหญ่ ก็ยังไม่ได้ เลยเก็บไว้ก่อน

วันนี้เพิ่งกลับมานั่งดูอีกที ปรากฎว่า

  1. ค่า timezone ใน windows ผิด เป็น Internation Date Line West ซึ่งคงเป็นค่า default แล้วผมไม่ได้เซ็ทใหม่มั๊ง

เลยแก้ไขตามนี้

  1. เปลี่ยน timezone เป็น +7 Bangkok , Hanoi , Jakata

  2. เพิ่มค่าใน php.ini คือ date.timezone=Asia/Bangkok

  3. restart Apache

เรียบร้อยครับผม.

โดย Bear on 11 ก.ค. 50 11:28

rss2array downloads a remote RSS 0.91 feed and puts most of the useful info into a PHP array. Other feed formats may work too.

I've found this document on site http://www.rssmix.com

and lastRSS.php from site http://lastrss.oslab.net/ is simple yet powerfull PHP class to parse RSS.

โดย Little Bear on 6 มิ.ย. 50 03:36

kill -9 -1

Kill all process you can kill

ps aux

List all my process

top -d sec

Display Linux task on top of screen 

โดย Little Bear on 6 มิ.ย. 50 03:03

TOP(1)                  Linux User's Manual

TOP(1) NAME      top - display Linux tasks     

SYNOPSIS

      top -hv | -bcisS -d delay -n iterations -p pid [, pid ...]

          The traditional switches '-' and whitespace are optional.

DESCRIPTION

The  top program provides a dynamic real-time view of a running system. It can display system summary information as well as a  list  of  tasks currently  being managed by the Linux kernel.  The types of system summary information shown and the types, order  and  size  of  information displayed  for  tasks  are all user configurable and that configuration can be made persistent across restarts.

The program provides a limited interactive interface for process manipulation as well as a much more extensive interface for personal configuration    --  encompassing every aspect of its operation.  And while top is  referred to throughout this document, you are free to name the program anything you wish.    That new name, possibly an alias, will then be reflected on top's display and used when reading and writing a configuration file.

โดย Little Bear on 1 ก.ค. 50 22:20

    MySQL is no longer enabled by default, so the      phpmysql.dll DLL must be enabled inside of      php.ini. Also, PHP needs access to the MySQL client library. A file    named libmysql.dll is included in the Windows PHP      distribution and in order for PHP to talk to MySQL this file needs to be      available to the Windows systems PATH. See the FAQ    titled "How do I add my PHP      directory to the PATH on Windows" for information on how to do    this. Although copying libmysql.dll to the Windows    system directory also works (because the system directory is by default in      the system's PATH), it's not recommended.   

    As with enabling any PHP extension (such as      phpmysql.dll), the PHP directive      extensiondir should be set to      the directory where the PHP extensions are located. See also the      Manual Windows Installation    Instructions. An example extensiondir value for PHP 5 is    c:\php\ext   

602 items|« First « Prev 55 56 (57/61) 58 59 Next » Last »|