- 安裝 
Homebrew(如果安裝過可以略過) 
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- 安裝 
Java(如果安裝過可以略過) 
brew cask install java
| // #popclip extension for ChatGPT | |
| // name: ChatGPT Quick Actions | |
| // icon: iconify:logos:openai-icon | |
| // language: javascript | |
| // module: true | |
| // entitlements: [network] | |
| // options: [{ | |
| // identifier: apikey, label: API Key, type: string, | |
| // description: 'Obtain API key from https://platform.openai.com/account/api-keys' | |
| // }] | 
Homebrew (如果安裝過可以略過)/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Java (如果安裝過可以略過)brew cask install java
| // 第一是把原本使用 callback 的程式碼抽離出來, 例如 | |
| $.ajax({ | |
| // 其他屬性 | |
| success: function, | |
| error: function | |
| }); | |
| //改成 | 
| // Javascript | |
| var a, b; | |
| request('api.com/a', function(err, result){ | |
| if(err) { | |
| // 錯誤處理 | |
| } | |
| a = result; | |
| request('api.com/b', function(err, result){ | |
| if(err){ | 
I hereby claim:
To claim this, I am signing this object:
| public static string Encrypt(string source, string key) | |
| { | |
| Encoding encoding = new UTF8Encoding(); | |
| byte[] encodeKey = encoding.GetBytes(key); | |
| byte[] encodeSource = encoding.GetBytes(source); | |
| using (HMACSHA512 sha512 = new HMACSHA512(encodeKey)) | |
| { | |
| byte[] encryptSource = sha512.ComputeHash(encodeSource); | 
| /// <summary> | |
| /// IValidEntity | |
| /// </summary> | |
| public interface IValidEntity | |
| { | |
| /// <summary> | |
| /// Gets or sets a value indicating whether this instance is valid. | |
| // </summary> | |
| /// <value> | |
| /// <c>true</c> if this instance is valid; otherwise, <c>false</c>. |