星期日, 10月 31, 2010

[Java] Open ID Project

使用openid4java lib搭上Jquery OpenID Plug-in。

Reference:
Using the OpenID Simple Registration Extension
openid4java:open id java lib
openid4java Library
http://openid.net/ 
https://www.myopenid.com/ 
JQuery OpenID Plug-in

星期五, 10月 29, 2010

[Asp.Net] MasterPage ContentPage UserContrl 操作

MasterPage 取得 ContentPage 內的 Control
MasterPage 取得 ContentPage 內的 UserControl

反之

ContentPage 取得 MasterPage 內的 Control
ContentPage 取得 MasterPage 內的 UserControl

[Java] Create a coutom tag

Reference:
[JAVA] Tag 自訂標籤簡介

[SVN] 轉貼: SVN in ubuntu

SVN 功能介紹

SVN安裝: $ sudo apt-get install subversion

[Ant]Ubuntu using Ant Note

1.Installation
$apt-get install ant

2.checked ant version
$ant -version

you should see
Apache Ant version 1.7.1 compiled on July 2 2010


3.ant build
$ant

if you didnt create build .xml , you should see
Buildfile: build.xml does not exist!
Build failed

星期日, 10月 24, 2010

[WebService C#]Call a Java WebService using WCE 3.0 and C#

今天使用.net呼叫java WebService,學習到了動態叫用WebService的需求(待改良XD),不過又遇到另一個ws-seculity的error,原來還需要裝Web Service Enhancement 3.0來達到更安全的叫用WebService。

Rewrite Module

首先先在ISAPI 引入IIRF.dll

在當前目錄創見檔案iirf.ini

範例
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/([A-Z0-9]+).html$ /ShowExam.php?xid=$1

星期三, 10月 20, 2010

Toshiba M11 Drivers for Windows 7

拿到公司新配的Toshiba筆電,本來以為是Thinkpad的,小失望了一下。
用了二天之後真是大失望,很多小細節都考慮不周到呀。
只設計二個usb孔是啥小?

有在找驅動的朋友就到以下這二個網址下載吧XD。官方提供的驅動真不完全。
Reference:
Toshiba Tecra M11 Drivers For Windows 7
Toshiba Tecra M11 Drivers For Windows 7 (64 Bit)

星期六, 10月 16, 2010

FaceBook Api 筆記

最近有專案需使用FACEBOOK API,把學習的資料記錄在這篇文章中。
透過Google大神也找到人家整理不錯的筆記 :)Facebook API宅學習。
這次專案是使用php script,需要的人可以參考 PHP-SDK Sample

星期四, 10月 14, 2010

[PHP] 初探 php

如題,剛開始測php,從簡單的mysql測試開始Orz

檢查頁面是否有Session
//放在頁面的最上端
<?session_start();>
清除頁面Session
<?
//將session清空
unset($_SESSION['username']);
echo '登出中......';
>


[PHP] IDE 工具

開始寫php的專案,查詢一下有啥好用的IDE開發環境,最好還是選用Eclipse for PHP
朝Free下手。

星期六, 10月 02, 2010

[Asp.Net] Pinging using asp.net

要使用ping類別之前,需引入using System.Net.NetworkInformation;

public class SitePinged : System.Web.Services.WebService {

    public SitePinged () {

        //如果使用設計的元件,請取消註解下行程式碼 
        //InitializeComponent(); 
    }

    [WebMethod]
    public string Ping(string site)
    {
        Ping wsPing = new Ping();
        PingReply wsPingReply = wsPing.Send(site);
        return wsPingReply.Status.ToString();
    }
    
}

其他你感興趣的文章

Related Posts with Thumbnails