Teerasak's profileโo - กรุณาหยุดเกรียน (เพ...PhotosBlogLists Tools Help

Blog


    เขียนถึงวันเสาร์

    ตอนเช้าวันเสาร์ ฝุ่นภายนอกประตูห้องยังไม่ได้เปรอะเปื้อนเท้า(ตีน)

    ตอนสายวันเสาร์ รองท้องด้วยขนมเอบีซีและไมโล(ชงผสมกะโอวัลติน --อร่อยแปลกๆ)

    ตอนเที่ยงวันเสาร์ หิว อยากออกไปกินข้าว แต่ขี้เกียจอาบน้ำ บรรจงต้มมาม่าผสมกะไวไว(สองถุงสุดท้าย)

    ตอนเย็นวันเสาร์ หิว อยากกินข้าวแต่ก็ยังขี้เกียจออกไปข้างนอก

    แต่เนื่องจากมันไม่มีอะไรให้ดินเนอร์(แดก)นอกจากขนมเอบีซี
    จึงจำเป็นต้องยกเอาความขีเกียจกองไว้บนเตียง และไปหากิน(ยามสนธยา)

    การดึงข้อมูลโดยไม่ซ้ำกัน

    ในกรณีที่ในฐานข้อมูลมีข้อมูลที่ซ้ำๆกันอยู่
    แต่เวลาแสดงเราต้องการแสดงแบบไม่ซ้ำกัน เช่น

    ต้องการแสดงข้อมูลของลูกค้าที่ซื้อสินค้าภายในเดือนนี้
    + - - - - - + - - - - - - - - +
    | ชื่อลูกค้า | วันที่ซื้อสินค้า |
    + - - - - - + - - - - - - - - +
    | ไอ้โอ | เมื่อวาน |
    | อีโอ | เมื่อวาน |
    | ไอ้โอ | เมื่อวานนู๊นนน |
    + - - - - - + - - - - - - - - -+
    ซึ่งข้อมูลที่แสดงออกมาต้องเป็น
    + - - - - - - +
    | ไอ้โอ |
    | อีโอ |
    + - - - - - - +

    ใช้คำสั่ง
    SELECT DISTINCT name FROM customer
    ---
    DISTINCT * ใช้สำหรับกรองข้อมูลที่ซ้ำกันดึงออกมาแค่ตัวเดียว จ๊าบม๊ะ

    Extjs Basic DataGrid

    อย่างแรกที่จะลืมไม่ได้เลย
        Ext.onReady( function(){
        ...
        } );
    เพราะมันเป็น function ที่จะใช้ในการแสดงผลของ ext
    ซึ่งจะเหมื่อนกับ windows.onload ของ js ธรรมดา

    โดยจะเขียนโค้ดลงบริเวณ ...

    ข้อมูลสามารถดึงมาจาก array และ xml
    (อธิบายแบบ array ก่อนเพราะมัน basic สุด *-*)
    dummyData = [
        ['3m Co',  71.72, 0.02, 0.03, '9/1 12:00am',  'Manufacturing'],
        ['Alcoa Inc', 29.01, 0.42, 1.47, '9/1 12:00am',  'Manufacturing'],
        ['Altria Group Inc', 83.81, 0.28, 0.34, '9/1 12:00am',  'Manufacturing'],
        ['American Express Company', 52.55, 0.01, 0.02, '9/1 12:00am',  'Finance'],
        ['American International Group,  Inc.', 64.13, 0.31, 0.49, '9/1 12:00am',  'Services'],
        ['AT&T Inc.', 31.61, -0.48, -1.54, '9/1 12:00am',  'Services'],
        ['Boeing Co.', 75.43, 0.53, 0.71, '9/1 12:00am',  'Manufacturing'],
        ['Caterpillar Inc.', 67.27, 0.92, 1.39, '9/1 12:00am',  'Services'],
        ['Citigroup,  Inc.', 49.37, 0.02, 0.04, '9/1 12:00am',  'Finance'],
        ['E.I. du Pont de Nemours and Company', 40.48, 0.51, 1.28, '9/1 12:00am',  'Manufacturing'],
        ['Exxon Mobil Corp', 68.1, -0.43, -0.64, '9/1 12:00am',  'Manufacturing'],
        ['General Electric Company', 34.14, -0.08, -0.23, '9/1 12:00am',  'Manufacturing'],
        ['General Motors Corporation', 30.27, 1.09, 3.74, '9/1 12:00am',  'Automotive'],
        ['Hewlett-Packard Co.', 36.53, -0.03, -0.08, '9/1 12:00am',  'Computer'],
        ['Honeywell Intl Inc', 38.77, 0.05, 0.13, '9/1 12:00am',  'Manufacturing'],
        ['Intel Corporation', 19.88, 0.31, 1.58, '9/1 12:00am',  'Computer'],
        ['International Business Machines', 81.41, 0.44, 0.54, '9/1 12:00am',  'Computer'],
        ['Johnson & Johnson', 64.72, 0.06, 0.09, '9/1 12:00am',  'Medical'],
        ['JP Morgan & Chase & Co', 45.73, 0.07, 0.15, '9/1 12:00am',  'Finance'],
        ['McDonald\'s Corporation', 36.76, 0.86, 2.40, '9/1 12:00am',  'Food'],
        ['Merck & Co.,  Inc.', 40.96, 0.41, 1.01, '9/1 12:00am',  'Medical'],
        ['Microsoft Corporation', 25.84, 0.14, 0.54, '9/1 12:00am',  'Computer'],
        ['Pfizer Inc', 27.96, 0.4, 1.45, '9/1 12:00am',  'Services',  'Medical'],
        ['The Coca-Cola Company', 45.07, 0.26, 0.58, '9/1 12:00am',  'Food'],
        ['The Home Depot,  Inc.', 34.64, 0.35, 1.02, '9/1 12:00am',  'Retail'],
        ['The Procter & Gamble Company', 61.91, 0.01, 0.02, '9/1 12:00am',  'Manufacturing'],
        ['United Technologies Corporation', 63.26, 0.55, 0.88, '9/1 12:00am',  'Computer'],
        ['Verizon Communications', 35.57, 0.39, 1.11, '9/1 12:00am',  'Services'],
        ['Wal-Mart Stores,  Inc.', 45.45, 0.73, 1.63, '9/1 12:00am',  'Retail'],
        ['Walt Disney Company (The) (Holding Company)', 29.89, 0.24, 0.81, '9/1 12:00am',  'Services']
    ];
    ตัวอย่างใน ext จะ define เป็น Ext.grid.dummyData ซึ่งได้ผลลัพท์เหมือนกัน

    สร้าง arrayReader* ไม่ค่อยเข้าใจเหมือนกันว่ามันคืออะไร
        var arrayReader = new Ext.data.ArrayReader({}, [
           {name: 'company'},
           {name: 'price', type: 'float'},
           {name: 'change', type: 'float'},
           {name: 'pctChange', type: 'float'},
           {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'},
           {name: 'industry'},
           {name: 'desc'}
        ]);

    ทีนี้ก็สร้าง Grid
        ซึ่งจำเป็นจะต้อง config : store หรือ ds(dataStore*), cm(ColumnModel*)
        var grid2 = new Ext.grid.GridPanel({
                store: new Ext.data.Store({
                    reader: arrayReader,
                    data: dummyData
                }),
                cm: new Ext.grid.ColumnModel([
                    {id:'company', header: "Company", width: 200, sortable: true, dataIndex: 'company'},
                    {header: "Price", width: 120, sortable: true, renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
                    {header: "Change", width: 120, sortable: true, dataIndex: 'change'},
                    {header: "% Change", width: 120, sortable: true, dataIndex: 'pctChange'},
                    {header: "Last Updated", width: 135, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
                ]),
        width: 750,
        height: 300,   
        frame: true,
        title: 'Framed with Checkbox Selection and Horizontal Scrolling',
        iconCls: 'icon-grid', // เรียก css เพื่อใช้ในการแสดง icon
        renderTo: 'table-data' // สร้างใน element id=table-data
        });

    -------
    Ext.data.ArrayReader*
    Data reader class to create an Array of Ext.data.Record objects from an Array. Each element of that Array represents a row of data fields. The fields are pulled into a Record object using as a subscript, the mapping property of the field definition if it exists, or the field's ordinal position in the definition.
    -------
    Ext.data.Store*
    The Store class encapsulates a client side cache of Ext.data.Record objects which provide input data for widgets such as the Ext.grid.Grid, or the Ext.form.ComboBox.
    A Store object uses an implementation of Ext.data.DataProxy to access a data object unless you call loadData() directly and pass in your data. The Store object has no knowledge of the format of the data returned by the Proxy.
    A Store object uses its configured implementation of Ext.data.DataReader to create Ext.data.Record instances from the data object. These records are cached and made available through accessor functions.
    -------
    Ext.grid.ColumnModel*
    This is the default implementation of a ColumnModel used by the Grid. This class is initialized with an Array of column config objects.
    An individual column's config object defines the header string, the Ext.data.Record field the column draws its data from, an otional rendering function to provide customized data formatting, and the ability to apply a CSS class to all cells in a column through its id config option.

    ปล. พื้นที่ของ textarea แม่งเล็กมากน่าจะปรับได้แบบ drupal

    สวัสดี Windows Live

    ใช้ MSN มานาน
    แต่ไม่เคยมาดูดำดูดีอี Windows Live Spaces นี่เรย
    เคยใช้เมื่อตอนฝึกงานเอาไว้เก็บข้อมูลงาน เพื่อให้เพื่อนๆที่ฝึกงานด้วยกันเข้ามาดูได้
    (แบบว่ามันไม่รุจัก delicious หรือ blog - แนวจิงๆ)
     
    ตอนนี้คิดยังงัยไม่รุถึงมาใช้มัน (กลัวมันน้อยใจแล้วหันไปเก็บตังค่าเล่น MSN ล้างแค้น - น่ากัว)
    แต่ที่รู้ๆคือ - แม่งช้าบันลัย
    หรือเครื่องกรุช้าเองกันแน่ (อันนี้ไม่ทราบ - เพราะว่าเล่นเกมส์ก็ไวดีนี่หว่า ฮ่าๆๆ)
     
    ถ้าใครเบื่อก็ลองไปใช้ exteen (http://www.exteen.com) ดูนะ
    blog สัญชาติไทย สวย เนียน เรียบ ดูดี มีสกุล (ได้เงินโคสะนามา - เอ๊ะแระทะมัยกรุไม่ค่อยอัพเดท blog ที่นั่นเรยวะ)
     
    ไม่รู้จะพิมพิ์อะไรต่อ เอาเป็นว่า "สวัสดี วินโดวส์ ลีฟ สเปซ" (เลียนแบบสวัสดีมัลติพลาย)
     

    JOB@BETAGRO

    Job Specification 
    รายละเอียดตำแน่งที่เปิดรับสมัคร  
    ตำแหน่ง ผู้ช่วยนักวิเคราะห์
    ระดับตำแหน่งงาน พนักงาน
    บริษัทในเครือที่รับ Betagro Science Center (BSC)
    สถานที่ทำงาน รังสิต-ปทุมธานี
    วันที่เปิดรับสมัคร 25 มกราคม 2550
    คุณสมบัติของผู้สมัคร  
    เพศ ชาย/หญิง
    อายุ 20 - 25 ปี
    วุฒิการศึกษา ปริญญาตรี
    สาขา วิทยาศาสตร์ / เคมี / จุลชีวะ
    ระยะเวลาประสบการณ์รวม ไม่จำเป็นต้องมีประสบการณ์
    อื่นๆ งานที่รับผิดชอบ - ช่วยเตรียมวัสดุ อุปกรณ์ สารเคมี เพื่อทดสอบ - ช่วยเตรียมตัวอย่างทดสอบ - ช่วยงานทดสอบทั่วไป สามารถใช้คอมพิวเตอร์ Ms (office) ได้

     

    JOB@GOCO

    Junior Web Developer
    คุณสมบัติ :
    - เพศชาย, อายุ 22-25 ปีขึ้นไป
    - วุฒิปริญญาตรีขึ้นไปในสาขาวิชาที่เกี่ยวข้อง
    - เคยความรู้ในงานของ Programmer ในการพัฒนา Web application ระดับพื้นฐาน
    - มีความรู้ด้าน PHP, .NET-C#-VB, XML, ความรู้พื้นฐาน Network, CMM-CMMI, UML
    - มีประสบการณ์ 0-2 ปี ขึ้นไปในสาขาวิชาที่เกี่ยวข้อง
    - เงินเดือน 12,000-15,000 บาทขึ้นไป

    Address :
    GOCO CO.,LTD.   ชั้น 11 อาคาร 253 อโศก สุขุมวิท21(อโศก) แขวงคลองเตยเหนือ เขตวัฒนา กรุงเทพมหานคร 10110
    Tel : 02 261 5292-3
    Fax : 02 261 5294
    E-mail : hr@goco.co.th
    Website : www.goco.co.th

    STAT@โรงพยาบาลจักษุรัตนิน

    เจ้าหน้าที่สถิติ
    เก็บรวบรวม ประมวผล วิเคราะห์ ข้อมูล จัดทำรายงานเสนอผู้บริหาร

    โรงพยาบาลจักษุรัตนิน
    เลขที่ 80/1 ถนนสุขุมวิท 21 แขวงคลองเตยเหนือ
    เขตวัฒนา กรุงเทพมหานคร 10110
    Tel : 0-2639-3333 ต่อ 754, 755
    FAX : 0-2639-3311
    E-mail : contact@rutnin.com
    Website : http://www.rutnin.com

    PART-TIME@SPSS.co.th

    Programming Support (Part-Time)
    Job description:
    - Develop internal operational support applications
      using Ruby on Rails
    - Develop custom applications for our customer
      using Ruby on Rails

    Qualifications:
    - A undergraduate degree in Computer Science
      or currently engaged in such degree program
    - Web-based application development experience
      using Ruby on Rails
    - Working knowledge of Java, C, Perl, Python or PHP


    Post Date:  22-12-2006
    Contact Name: Manager, Administration
    Address: 54, B.B. Bldg., Suite 2106-2107, Sukhumvit 21 (Asoke) Rd., Klongtoey-Nua, Wattana, Bangkok 10110, Thailand
    Telephone: 0-2260-7070, 7080   Fax: 0-2260-7079
    E-mail: sombat.khamyont@spss.co.th
    Home Page: http://www.spss.co.th

    JOB@SOLOMON Technology Thailand

    # Male / Female age above 25 years old
    # Bachelor’s Degree in Computer Science, GPA 2.5 up
    # At least 2 years experience in web programming Analyze and Design Database or system
    # Strong knowledge in using PHP, MySQL, ASP and JavaScript
    # Able to work as team environment
    # Good command of written, spoken English language


    93/57 5th Floor, The Modern Group Tower, Chaengwatthana Rd.,Pakkred, Nonthaburi 11120
    tel : 0-2574-6409
    fax : 0-2982-9819
    e-mail :  hr@solomon.th.com
    web : www.solomon.th.com

    Stat JOB for PLE

    * Female, not over 27 years of age.
    * Bachelor’s Degree in Statistics or any related fields.
    * Initiative, creative.
    * Detail-oriented, interpersonal skills.
    * English communication skills.
    * Strong analytical skills, with good knowledge of statistics and mathematics.Computer literacy in SPSS, MS Office, incl. MS Word, Excel and Power Point


    200 Jasmine International Tower 31st Floor Moo4 Chaengwatana Rd., Pakkred Nonthaburi 11120 Thailand
    tel : 0-2502-0774
    fax : 0-2584-5155
    Email: hr@monogeneration.com
    Website: http:// www.monogeneration.com
    contract : Human Resources Department

    JOB@ThinkSmart

    •  เพศชาย/หญิง อายุไม่เกิน 30 ปี
    •  วุฒิการศึกษาปริญญาตรีด้านคอมพิวเตอร์ หรือมีประสบการณ์
    ด้าน Computer Programming เป็นอย่างดี
    • สามารถในการใช้ภาษาและเทคโนโลยีดังต่อไปนี้ได้ดีและครบถ้วน:
    HTTP, HTML, XML, JavaScript, PHP, Java, Servlet, JSP
     และ SQL
    • มีพื้นฐานการทำงานบนระบบ Unix/Linux
    • มีความรู้ภาษาอังกฤษ (โดยเฉพาะการอ่าน/เขียน) ในระดับปานกลางถึงดีมาก
    • มีอุปนิสัยใฝ่หาความรู้อยู่เสมอ สามารถค้นหาความรู้ด้วยตนเองได้ดี

    • มีมนุษย์สัมพันธ์และความรับผิดชอบดี สามารถทำงานร่วมกันเป็นทีมได้
    • มีความละเอียดรอบคอบ และมีความซื่อสัตย์ในการทำงาน
    • มีประสบการณ์ในการออกแบบพัฒนาโปรแกรมด้วยตนเองอย่างน้อย 3 ปี


    487/1 อาคารศรีอยุธยา ถนนพญาไท ราชเทวี กทม.10400 Bangkok Bangkok Area Thailand
    tel : 0-2642-5262
    fax : 0-2642-5263
    e-mail : jobs@ThinkSmart.co.th
    web : http://www.thinksmart.co.th
    contract : Khun Terdpong

    JOB@nightlabs

    J2EE / Java Developer
    NightLabs is a German software company, which provides for more than 10 years excellent service in the fields of software-development, network services and ticketing software. For the development of our new open source ERP system JFire we announce the following
    อัตรา
  • 3
  • เงินเดือน
  • 14,xxx - 3x,xxx
  • คุณสมบัติผู้สมัคร :    
  • minimal qualifications:
  • very good knowledge of object orientated programming
  • very good knowledge of the programming language Java
  • good knowledge of the English language (written and spoken)
  • good knowledge of J2EE programming
  • desired qualifications:
  • experience with the development of Eclipse RCP applications
  • good knowledge of object orientated persistence (JDO)
  • good knowledge of relational databases and SQL (MySQL)
  • basic knowledge of Linux (SuSE, Ubuntu)
  • สถานที่ปฏิบัติงาน
  • Laksi, Bangkok
  • จังหวัด
  • กรุงเทพมหานคร

  • from : http://wiki.nightlabs.de/en/Jobmarket

    JOB@Eden-FX

    Programmer /
    able to:
    1.Setup LAN Network
    2.Setup Wireless Network
    3.Client Network
    4.Network Design
    5.PHP/My Sql
    อัตรา
  • 2
  • เงินเดือน
  • 18000-25000
  • สวัสดิการ
  • บ้านพัก ค่อคอมมิสชัน ประกันสังคม และสวัสดิการตามที่กฎหมายกำหนด
  • คุณสมบัติผู้สมัคร :    
  • Bachelor Degree in Computer Science or related field
  • 1- 3 years of IT experiences
  • Knowledge in Unix, MySQL, PL/SQL, Oracle ,Web development
  • Ability in PHP, JAVA(J2EE, JSP), VB, ASP.net
  • Good Command of English.
  • มีความรับผิดชอบสูง มีทักษะแก้ไขปัญหา กระตือรือร้นในการเรียนรู้งาน มีความอดทนสูง
  • หมายเหตุ :    
  • ต้องการคนที่สามามารถทำงานที่ตั้งใจจริง สามารถสัมพาษณ์งาน ที่เกาะสมุยได้เท่านั้น
  • สถานที่ปฏิบัติงาน
  • เกาะสมุย/ต่างประเทศ
  • จังหวัด
  • สุราษฎร์ธานี
  • วิธีการรับสมัครงานสนใจสมัครงาน Online, e-mail หรือสมัครงานด้วยตนเอง หรือส่งจดหมายสมัครงาน ได้ที่
    Eden-FX Systems Solutions Group Co.,Ltd.
    110/43 Moo 6 T.Bophut ,Koh Samui ,Suratthani 84320 Tel: 66-7723-1812 Fax:66-7741-3060
    Please send your application in ENGLISH only
    from : http://www.eden-fx.com/jobs.php

    JOB@XPLink Co

    Java Developer
    Qualifications:-
        * Holding Bachelor/Master Degree in Computer Engineering, Computer Science or computer/IT related field.
        * Having practical knowledge of Java technologies, particularly server-side technologies.
        * Being capable of and fond of learning new technology related subjects.*
        * Being able to work well under pressure and in a fast-paced environment.
        * Experience in software development, especially Java, is an advantage.
        * Possessing good skills in analysis, communication, human relation, and judgement.
        * Being able to work as a part of a team.
        * Having good command in English.

    * All of our staff constantly get to learn new software development technologies (Spring framework, Hibernate, and Laszlo to name a few), both from our training and by self-study.

    Java System Analyst
    Qualifications:-
        * Bachelor/Master Degree in Computer Engineering, Computer Science or related field.
        * At least 2 years of experience in software/system analysis and design.
        * Object Oriented programming experience is required (JAVA, Oracle/SQL).
        * Experience with the following technologies are advantage: UML, XML, Unix, and Shell Script.
        * Strong analytical, communication, and people skills.
        * Good team player.
        * Able to work well under pressure and in a fast-paced environment.
        * Good command in English.

    Please send your application letter, resume and stating current and expected salary to the following address

    job@xp-link.com
    from : http://www.xp-link.com/our-careers