#Atomの設定をsync-settingsを用いて共有する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
〇受信(POP3) | |
受信サーバー : pop3.live.com | |
ポート番号 : 995 | |
保護された接続 : SSL/TLS を使用する。 | |
アカウント名 : Liveメール(Hotmailメール)のアカウント名 | |
パスワード : Liveメール(Hotmailメール)のパスワード | |
〇送信(SMTP) | |
送信サーバー : smtp.live.com | |
ポート番号 : 587 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void funcA( int a, int b = 1 ); // OK | |
void funcB( int a = 1, int b ); // NG! | |
void funcC( int a, int b = 3 ); // OK | |
void funcC( int a = 4, int b ); // OK bは3となる。 | |
void funcC( int a, int b = 5 ); // NG!デフォルト実引数の変更はできない。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// コンポーネントの追加 | |
BoxCollider box = gameObject.AddComponent<BoxCollider>(); | |
// コンポーネントの削除 | |
Destroy(box); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// コピーしたいテストクラス | |
[System.Serializable] | |
public class item | |
{ | |
public int id; | |
public string name; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=========================================================================== | |
//! | |
//! @file DeepCopy.cs | |
//! @brief シリアライズを利用した汎用のオブジェクトのディープコピー処理 | |
//! | |
//! @note | |
//! BinaryFormatterを使用してMemoryStreamに対してシリアライズ/デシリアライズを行い | |
//! オブジェクトのメモリイメージのコピーを作成するテクニックです。 | |
//! 理論上、Serializable属性を付与したすべてのオブジェクトに対してディープコピーが可能になります。 | |
//! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://gist-it.appspot.com/github/step5748/example/blob/master/test-gist-it.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(void) | |
{ | |
return 0; | |
} |