Aug
20
2009
0

Mount UFS (FreeBSD) Partition

5,691 views

sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda1/ /mnt

Written by Pipo in: FreeBSD & Linux | Tags: , ,
Aug
06
2009
0

ติดต่อ webservice ด้วย proxy

1,575 views

ตัวอย่างการดึงราคาน้ำมันจาก http://www.pttplc.com/pttinfo.asmx?wsdl
ขั้นแรก add Web References ก่อน

 
        Try
            Dim strReturn As String
            Dim WsPTT As New PTTInfo.PTTInfo()
 
            Dim cr As New System.Net.NetworkCredential("user", "pass", "mydomain")
            Dim pr As New System.Net.WebProxy("203.x.x.x", 8080)
 
            pr.Credentials = cr
            WsPTT.Proxy = pr
 
            strReturn = WsPTT.GetOilPrice("English", 6, 8, 2009)
            MessageBox.Show(strReturn)
 
        Catch Ex As System.Exception
            MessageBox.Show("Time Out")
        End Try
 

Written by Pipo in: VB.Net & Aspx | Tags: , , ,
Aug
04
2009
0

ทำงานกับ Flash ง่ายขึ้นไปอีกเมื่อ trace แล้วเห็นบน FireFox

1,785 views

การเขียนโปรแกรมบน Flash (action script) สิ่งที่ควบคู่กันเลยก็คือคำสั่ง trace แต่พอมารันบน browser เพื่อต่อกับ application ปัญหาเกิดทันที เพราะคำสั่ง trace มันไม่ขึ้นมาด้วย เมื่อก่อนเคยคิดใช้ให้มันเรียก function ผ่าน javascript ก็แก้ขัดได้บ้างแต่ไม่สะดวกเลยถ้าทำหลายคน หลายงาน
(more...)

Written by Pipo in: Developer,Flash | Tags: , , ,
Page 1 of 11

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes