搜尋此網誌

2013年5月28日 星期二

系統櫃施工圖片


 把板材依照側版 , 隔板 , 背板的分類方式放好.


連接衣櫥門板和側版的KD連結器


櫃體完成後 , 上方可以加上修飾頂版來填補間隙.


組裝櫃體的時候, 會在背後加上橫向支撐的木板.


把電器盒拆下


當牆上有電器盒 , 師傅把櫃體組合好後, 會留下放置電器盒的空間.


用鐵夾子把要組合的兩個櫃子夾好 , 然後用螺絲固定.


安裝櫃體底下的可調高度腳粒


腳粒安裝完成後的樣子


安裝系統櫃可以留下電器插孔





2013年5月21日 星期二

尋求Java程式維護專案.

我有4~5年的Java程式開發和維護的資歷 , 舉凡Spring, Hibernate , Struts , JQuery 等framework

都使用過, 維護過的程式碼有Android application , Java Web application ,  只要是和Java相關的

各類型技術, 都很有信心快速上手, 解決問題 . 誠摯希望與團隊或是公司行號合作.

合作方式可以用svn , 或是說我到客戶端直接工作.


2013年5月12日 星期日

A free memo application (行程安排應用程式)

我利用有空的時候寫了一個記事本app, 有興趣試玩的話可以站內留言

我可以把這個應用程式寄給你, 當然能得到意見的回饋是更好的.

This is a small application I wrote in my leisure.
Its purpose is for memorizing personal schedule. 
If you are interested in this application , you can leave me a message to get its archived version.

目前功能(Features):


  • 儲存記事(Save schedule)
  • 瀏覽記事(Display schedule)


2013年5月8日 星期三

讀取Java system properties (系統屬性)

 public class SystemPropertyDemo {  
      public static void main(String[]args){  
           String fileSeparator = System.getProperty("file.separator");  
           String classPath = System.getProperty("java.class.path");  
           String javaHome = System.getProperty("java.home");  
           String javaVendor = System.getProperty("java.vendor");  
           String javaVendorUrl = System.getProperty("java.vendor.url");  
           String javaVersion = System.getProperty("java.version");  
           String lineSeparator = System.getProperty("line.separator");  
           String osArch = System.getProperty("os.arch");  
           String osName = System.getProperty("os.name");  
           String osVersion = System.getProperty("os.version");  
           String pathSeparator = System.getProperty("path.separator");  
           String userDir = System.getProperty("user.dir");  
           String userHome = System.getProperty("user.home");  
           String userName = System.getProperty("user.name");  
           System.out.println(" fileSeparator: " + fileSeparator);  
           System.out.println(" classPath : " + classPath);  
           System.out.println(" javaHome : " + javaHome);  
           System.out.println(" javaVendor : " + javaVendor);  
           System.out.println(" javaVendorUrl : " + javaVendorUrl);  
           System.out.println(" javaVendorUrl : " + javaVersion);  
           System.out.println(" lineSeparator : " + lineSeparator);  
           System.out.println(" osArch : " + osArch);  
           System.out.println(" osName : " + osName);  
           System.out.println(" osVersion : " + osVersion);  
           System.out.println(" pathSeparator : " + pathSeparator);  
           System.out.println(" pathSeparator : " +userDir);  
           System.out.println(" userHome : " + userHome);  
           System.out.println(" userName : " + userName);  
      }  
 }  

2013年5月6日 星期一

static field(靜態欄位)

static field又可稱為類別欄位 , 顧名思義所有此類別創建的物件, 會共用此欄位值 , 如下例 :
 public class StaticField {  
      public static void main(String [] args){  
           Room.customer += 1;  
           Room room = new Room();  
           System.out.println(room.customer);  
      }  
 }  
 class Room {  
      static int customer = 0;  
 }  

2013年5月5日 星期日

工廠方法創造物件(factory method creating objects)

這種寫法容易維護 , 會比單純new Student()的寫法來的好. 因為以後只要改newStudent這個method, 會同步更新到所有new Student()的地方, 而不會發生漏改的情況.
 package pattern;  
 public class FactoryMethod {  
      public static void main(String [] args){  
           Factory.newStudent().print();  
      }  
 }  
 class Factory {  
      public static Student newStudent(){  
           return new Student();  
      }  
 }  
 class Student{  
      public void print(){  
           System.out.println("blank");  
      }  
 }  

Break 和 Return的用法.

1. Break 和 Return 都可以跳離迴圈. 2. 但是Return會跳出函式而不執行接下來的程式碼.
 public class BreakAndReturnDemo {  
      public static void main(String[] args){  
           printWord();  
           printWordWithReturn();  
      }  
      public static void printWord(){  
           for(int i = 0 ; i < 10 ; i++){  
                System.out.println(i);  
                if(i == 5){  
                     break;  
                }  
           }  
           System.out.println("After break for loop");  
           System.out.println("====Seperate Line========");  
      }  
      public static void printWordWithReturn(){  
           for(int i = 0 ; i < 10 ; i++){  
                System.out.println(i);  
                if(i == 5){  
                     return;  
                }  
           }  
           System.out.println("This line won't be executed.");  
      }  
 }  

2013年5月4日 星期六

英雄聯盟快速升級的方法

目前我是拿Grena競時通的能量值去換經驗值加成(每場勝利會得到雙倍的經驗值.)道具.

因為有四場的限制 , 所以我都是趁著有首勝的機會開始玩,

這樣會得到最大的經驗值 , 缺點是如果首勝用掉後 , 再來的勝利會用掉道具的勝場數

道具的效果就沒有這麼好了.