Swift

書式
let tuple = (列挙型(int)変数1,列挙型(string)変数2)

使用例

//string型列挙Depの宣言enum Dep: String { case PA case PB case ...

Swift

書式
let タプル名 =メソッド名()

使用例

//メソッドgetFunAの定義func getFunA() -> (Int, String, Double) { return (20, "山田太郎" ...

CSS

書式
:focus — ユーザーがキーボードコントロールを使用して要素にフォーカスした場合にのみ適用されます。
使用例

<style>/*a:link a:visitedのスタイルシートを定義*/a: ...

Security

ダウンロード:
提供元サイトからダウンロード
cnetサイトからダウンロード
sourceforgeサイトからダウンロード
softpediaサイトからダウンロード

更新内容:

Thi ...

PowerShell

構文
開始値..終了値
使用例

$cftArrA = 3..9$cftArrB = 90..100$cftArrC = -10..-2echo ('$arrayA = ' + $cftArrA)echo ('$a ...

Linux

書式
ls ワイルドカード
使用例
1.数字の範囲を指定
# ls *
data36 file78 info78

2.文字の範囲を指定
# ls *
file78 ...

IOS

1.UILable+LM.h

#import <UIKit/UIKit.h>

@interface UILabel (LM)

– (CGSize)contentSize;

IOS

サンプルコード:

-(void) tapClick:(UITapGestureRecognizer *)tap{
;
;
;
;
;
//self.view.window.b ...

IOS

コード下記:
-(void)runTimerInThread
{

;

//自動的にRunLoopにNSTimeerを追加

NSTimer* timer=;

//自動的にR ...

IOS

1.開発プラットフォームのパス
/Developer/Platforms
MacOSX.platform     //mac
iPhoneSimulator.platform//シミュレータ
iPhon ...

IOS

コード下記:
– (id)initWithCoder:(NSCoder *)aDecoder
{
self = ;

if (self) {
self.country = ; ...

IOS

コード下記:
NSBundle *bundle = ;
//プロパティリスト名Property List リソースタイプplist
NSString *path = ;
//plistにNSDictio ...

Python

1.時間文字列をタイムスタンプに変換される
方法:
a = “2013-10-10 23:40:00”
時間配列に変換
import time
timeArray = t ...

Linux

1.ユーザーを作成
adduser phpuser_startnews24//phpuser_startnews24を作成
passwd phpuser_startnews24//phpuser_startnews24 ...

Linux

1.redisのダウンロード
wget

2.コンパイルとインストール
tar xf redis-2.8.7.tar.gz
cd redis-2.8.7
make
make insta ...

Linux

1.UbuntuにErlangをインストール
wget
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-ge ...

Linux

1.依存パッケージをインストール
# yum install gcc gcc-++ make pcre-develzlib-devel -y
# tar zxvf apr-1.4.6.tar.gz
# cd a ...

Python

1.時間文字列をタイムスタンプに変換される
方法:
a = “2013-10-10 23:40:00”
時間配列に変換
import time
timeArray = t ...