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
The operation couldn’t be completed. (LaunchServicesError error 0.) |
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
$options = ['options' => [ | |
'flags' => FILTER_FLAG_ALLOW_OCTAL, | |
'regexp' => '/^[[:^cntrl:]]{0,5}$/u', | |
]]; | |
$var = filter_var("アイ\nウ07", FILTER_VALIDATE_REGEXP, $options); | |
echo '"アイ\nウ07"'."\n"; | |
var_dump($var); | |
echo "\n"; |
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
class VideoNavView: UIView { | |
private var v: UIView? | |
required init?(coder aDecoder: NSCoder) { | |
super.init(coder: aDecoder) | |
v = NSBundle.mainBundle().loadNibNamed( | |
"VideoNavView", | |
owner: self, |
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
NSHomeDirectory().stringByAppendingPathComponent("Documents") |
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
/** | |
説明説明 | |
- parameter param1: パラーメータ説明 | |
- parameter param2: パラーメータ説明 | |
- parameter param3: パラーメータ説明 | |
- returns: Void | |
Sample Code |
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
protocol Count { | |
typealias CountType | |
var count: CountType{ get } | |
typealias BolType | |
var bl: BolType{ get } | |
} |
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
#!/usr/bin/swift | |
import Cocoa | |
class fileMG { | |
var dir: String | |
var file: String |
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
#use "ex09_9.ml" | |
(* 駅リストと駅名で漢字表記を返す *) | |
(* romaji_to_kanji string -> string list -> string *) | |
let rec romaji_to_kanji s l = match l with | |
[] -> "" | |
| f :: r -> if f.romaji = s | |
then f.kanji | |
else romaji_to_kanji s r |
NewerOlder