- 切換到 project 所在目錄
- 備份指令 GitBash$ git bundle create 檔名 --all
- 重建指令 GitBash$ git clone 檔名 新目錄
2016年5月7日
備份 git project 到檔案
2015年1月22日
2013年4月3日
2013年1月21日
2012年8月30日
Image Processing On Line: ASIFT: An Algorithm for Fully Affine Invariant Comparison
Image Processing On Line是本有關圖像處理和圖像分析的線上雜誌。每篇文章都包含文字描述演算法,程式碼和可線上執行的程式。
2012年8月22日
線上製作QR碼
藝術造型的QR碼
QR Code 2D Barcode Generator – The Free Bar Code Creator:
Google Chart Tools: Infographics - Infographics - Google Code:
QR Code Generator from the ZXing Project
ZXing的線上工具互動很方便,但Infographics可用程式來產生!
圖形大小 chs=150x150
目的網址 chl=http://sites.google.com/site/boardgamefamily
Barcode 內容
文字可以表示很多事情,例如網址url,聯絡人資訊,Email,電話等,有些約定成俗的用法。
QR Code 2D Barcode Generator – The Free Bar Code Creator:
Google Chart Tools: Infographics - Infographics - Google Code:
QR Code Generator from the ZXing Project
ZXing的線上工具互動很方便,但Infographics可用程式來產生!
Google Chart Tools: Infographics
範例語法如下:https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=http://sites.google.com/site/boardgamefamily圖形大小 chs=150x150
產生QR碼 cht=qr
Barcode 內容
文字可以表示很多事情,例如網址url,聯絡人資訊,Email,電話等,有些約定成俗的用法。
2012年8月8日
Sound Synthesis 樂音合成
音符 - 维基百科
440Hz(每秒震動一次)--> A4,f = 440*(2^(n/12)) Hz,n表示與A4相差幾個半音。
例如C5其距離A4有3個半音的距離A4 → A♯4 → B4 → C5,且高於A4,所以C5的n=3,f = 440*2^(3/12) Hz ~ 523.2511Hz。若所求的音低於A4,則n為負。依此公式,我們可看出相差一個或多個八度音,n此時為12的倍數(8度音包含12個半音),所以簡化 f = 440*2^(±k)Hz,故其頻率差距為整數倍。
440Hz(每秒震動一次)--> A4,f = 440*(2^(n/12)) Hz,n表示與A4相差幾個半音。
例如C5其距離A4有3個半音的距離A4 → A♯4 → B4 → C5,且高於A4,所以C5的n=3,f = 440*2^(3/12) Hz ~ 523.2511Hz。若所求的音低於A4,則n為負。依此公式,我們可看出相差一個或多個八度音,n此時為12的倍數(8度音包含12個半音),所以簡化 f = 440*2^(±k)Hz,故其頻率差距為整數倍。
2012年5月17日
Tizen : HTML5 Programming
Tizen:
Tizen provides a robust and flexible environment for application developers, based on HTML5. With HTML5's robust capabilities and cross platform flexibility, it is rapidly becoming the preferred development environment for mobile apps and services. The Tizen SDK and API allow developers to use HTML5 and related web technologies to write applications that run across multiple device segments.
取代MeeGO?
Tizen provides a robust and flexible environment for application developers, based on HTML5. With HTML5's robust capabilities and cross platform flexibility, it is rapidly becoming the preferred development environment for mobile apps and services. The Tizen SDK and API allow developers to use HTML5 and related web technologies to write applications that run across multiple device segments.
取代MeeGO?
2012年2月24日
Visual Studio 2010 當地語系化(Localization)
當地語系化Window Form
- 在 [屬性] 視窗中,將表單的 Localizable 屬性設定為 true。
- 將表單的 Language 屬性設定為 [英文]。
- 更改文字,如有需要,可調整按鈕大小以容納較長字串。會產生 formName.en.resx
- 儲存並建置方案。
2011年8月27日
讓Blogger支援Syntax Highlighting
想顯示程式的Syntax Highlighting,在網上google半天,先找到SyntaxHighlighter。用了之後效果是很棒,但因為連結它所提供的網站速度,還是有點兒慢,所以今天繼續找尋別的方式。結果踏破鐵鞋無覓處,得來全不費功夫,Google的google-code-prettify就很好用了呀!真奇怪,Blogger也是Google的,怎麼不內建此功能呢?
參考網站說明和作法整理如下:將底下的javascrip放到範本</head>之前即可,其中修改了背景顏色、邊框顏色和邊距等參數。
參考網站說明和作法整理如下:將底下的javascrip放到範本</head>之前即可,其中修改了背景顏色、邊框顏色和邊距等參數。
<script language='javascript' src='http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js' type='text/javascript'/>
<link href='http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css' rel='stylesheet' type='text/css'/>
<style>
pre {
background-color : #f7f7f7;
overflow : auto ;
}
pre.prettyprint { padding: 12px; border: 1px solid #777; }
</style>
2011年6月6日
試用Windows Live Writer
LinearLayout mLinearLayout;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Create a LinearLayout in which to add the ImageView
mLinearLayout = new LinearLayout(this);
// Instantiate an ImageView and define its properties
ImageView i = new ImageView(this);
i.setImageResource(R.drawable.my_image);
i.setAdjustViewBounds(true); // set the ImageView bounds to match the Drawable's dimensions
i.setLayoutParams(new Gallery.LayoutParams(LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));
// Add the ImageView to the layout and set the layout as the content view
mLinearLayout.addView(i);
setContentView(mLinearLayout);
}
2011年2月17日
2010年11月24日
XNA 程式設計入門
XNA遊戲迴圈
基本上就是一個迴圈不斷執行,直到使用者結束遊戲。
1.啟始化並載入資源
1.1 Initialize()
1.2 LoadGraphicsContent()
2.迴圈開始
2.1. Update() //處理遊戲邏輯
2.2. Draw() //處理繪圖
3.迴圈結束
4.釋放資源 UnloadGraphicsContent()
基本上就是一個迴圈不斷執行,直到使用者結束遊戲。
1.啟始化並載入資源
1.1 Initialize()
1.2 LoadGraphicsContent()
2.迴圈開始
2.1. Update() //處理遊戲邏輯
2.2. Draw() //處理繪圖
3.迴圈結束
4.釋放資源 UnloadGraphicsContent()
2010年11月9日
Direct2D (Windows)
Direct2D (Windows)
踏破鐵鞋無覓處,得來全不費功夫。
Google XNA Draw Rectangle,發現有人寫成一個小Class來做這些事,心中竊喜。
想說那DirectX應該也會有前人的前車之鑑。Google DirectX Rectangle,結果中發現有人回應Direct2D這個東東,真是乖乖隆個咚咚:)
這不就是我想要的嗎?
真是功課作得不如那時勤奮了...那時可真是每天都浸淫在微軟的MSDN Library中呀!
踏破鐵鞋無覓處,得來全不費功夫。
Google XNA Draw Rectangle,發現有人寫成一個小Class來做這些事,心中竊喜。
想說那DirectX應該也會有前人的前車之鑑。Google DirectX Rectangle,結果中發現有人回應Direct2D這個東東,真是乖乖隆個咚咚:)
這不就是我想要的嗎?
真是功課作得不如那時勤奮了...那時可真是每天都浸淫在微軟的MSDN Library中呀!
2010年11月2日
SlimDX
SlimDX Homepage
DirectX的簡易介面,裝來試試看。也許是個不錯的選擇?
SlimDX is a free open source framework that enables developers to easily build DirectX applications using C#, VB.NET, and IronPython. It is designed to be an efficient, simple, and lean wrapper that fully encompasses all of Microsoft's gaming and multimedia technologies and exposes them to managed code.
2010/11/01 安裝同時安裝DirectX(2010June)
2010/11/02 寫個小程式吧...
DirectX的簡易介面,裝來試試看。也許是個不錯的選擇?
SlimDX is a free open source framework that enables developers to easily build DirectX applications using C#, VB.NET, and IronPython. It is designed to be an efficient, simple, and lean wrapper that fully encompasses all of Microsoft's gaming and multimedia technologies and exposes them to managed code.
2010/11/01 安裝同時安裝DirectX(2010June)
2010/11/02 寫個小程式吧...
2007年2月15日
A.L.I.C.E
A.L.I.C.E
http://www.alicebot.org/documentation/
AIMLBot (Program#)
Developer Information
AIMLBot Architecture and Code Description: A reference for developers who want to debug, fix or extend AIMLbot
How to implement and use custom tags Description: Custom tags allow developers to extend the functionality of the AIMLbot library.
User Information
Program# - Overview Description: A brief summary of the capabilities and design of the AIMLbot library
Setting up and using an AIMLbot
http://www.alicebot.org/documentation/
AIMLBot (Program#)
Developer Information
AIMLBot Architecture and Code Description: A reference for developers who want to debug, fix or extend AIMLbot
How to implement and use custom tags Description: Custom tags allow developers to extend the functionality of the AIMLbot library.
User Information
Program# - Overview Description: A brief summary of the capabilities and design of the AIMLbot library
Setting up and using an AIMLbot
訂閱:
文章 (Atom)