Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<LanguageStrings version="1.0">
<!-- Translated by Kang-Min Wang(lagunawang -at- gmail.com) -->
<MainWindow>
<staticFanListHeader>風扇列表 (使用雙擊進入設定):</staticFanListHeader>
<staticSensorsListHeader>偵測器列表:</staticSensorsListHeader>
<listColumnFan>風扇</listColumnFan>
<listColumnMinRPM>最低轉速</listColumnMinRPM>
<listColumnCurrentRPM>目前轉速</listColumnCurrentRPM>
<listColumnMaxRPM>最高轉速</listColumnMaxRPM>
@aminzai
aminzai / gist:4047027
Created November 9, 2012 17:35
Test1
測試環境Dev-C++ 4.9.9.2
GCD Function有點問題
1.遞迴的Function應該都要有return去接,要不然在某些Compiler 就算沒有下return也可過,如果要直接抓值的話,預設正常執行完function的回傳值就是0,所以會出現0的數值算是正常運算。
2.第二判斷的判斷值錯了。
int gcd(int n1,int n2){
if (n1 > n2){
return gcd(n1-n2,n2);
} else if (n1 < n2){ <===這裡判斷反了
return gcd(n2-n1,n1);
@aminzai
aminzai / CppGetSetMacros
Created May 16, 2012 02:25
C++ GET/SET Macros
#ifndef __GETSET_DECL_
#define __GETSET_DECL_
#include "wx/wxprec.h"
#define GETSET(Type, MemberName, FaceName) \
Type Get##FaceName() const { \
return MemberName; \
}; \
void Set##FaceName(Type value) { \
The following ports are currently installed:
adns @1.4_0 (active)
apache2 @2.2.17_1+preforkmpm (active)
apachetop @0.12.6_0 (active)
apr @1.4.2_1 (active)
apr-util @1.3.10_0 (active)
arping @2.09_0 (active)
autoconf @2.68_2 (active)
autoconf213 @2.13_1 (active)
automake @1.11.1_0 (active)
AJA System Test.app/
Address Book.app/
Adium.app/
Adobe/
Adobe Acrobat X Pro/
Adobe After Effects CS5/
Adobe Bridge CS5/
Adobe Device Central CS5/
Adobe Dreamweaver CS5/
Adobe Extension Manager CS5/
@aminzai
aminzai / vimpyre error message
Created October 16, 2010 07:43
vimpyre error message
┌─ [ 15:41 aminzai@aminzai-laptop ]─(~/Code/vimpyre)─(git)─[master]
└─ $ git log --oneline
6661f0b FIX: README.rst
58de9f8 DONE: ver 0.1
a383d78 FIX: add fake update_all
5c08f18 DONE: install, search, remove, update, init, syncdb, remove_all
1221fc9 just sync
2e5d63e NEW: add python package files
74fffa2 Vimpyre init
┌─ [ 15:41 aminzai@aminzai-laptop ]─(~/Code/vimpyre)─(git)─[master]
# vim: set syn=gitconfig:
# Lazyscripts Configure File
[defaults]
pool = debianlize
[pool "hychen-debianlize"]
upstream = git://github.com/hychen/lzspool.git
rev = stable
desc = hychen's debianlize scripts pool.
ubuntu = 9.10, 10.04