- 名前
- 安宅 正之 (Masayuki Ataka)
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
func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) { | |
let trimCharacterSet = NSCharacterSet(charactersInString: "<>"); | |
let deviceTokenString = deviceToken.description.stringByTrimmingCharactersInSet(trimCharacterSet) | |
.stringByReplacingOccurrencesOfString(" ", withString: "", options: nil, range: nil); | |
println("application:didRegisterForRemoteNotificationWithDeviceToken: " + deviceTokenString); | |
} |
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
*~ | |
*.csv |
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
(defun json-reformat-region-align-colon (beg end) | |
(interactive "r") | |
(save-restriction | |
(narrow-to-region beg end) | |
(goto-char (point-min)) | |
(while (search-forward "," nil t) | |
(insert "\n") | |
(let ((col-prev (progn (forward-line -1) | |
(end-of-line) | |
(search-backward ":") |
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
カレーのレシピ | |
誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。 | |
ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。 | |
レシピの作者 | |
山田サチ子さん | |
材料 ( 8皿分 ) |
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
(defun mark-blog-entry () | |
(interactive) | |
(search-forward "<title>") | |
(forward-line -1) | |
(skip-chars-backward " \n") | |
(forward-line) | |
(push-mark nil t t) | |
(search-backward "<title>") | |
(forward-line) | |
(point)) |
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
GDD2011 DevQuiz Web Game | |
ルール | |
シンプルな神経衰弱ゲームです。カードはクリックすることでめくることができます。全 64 セットを解くことで問題クリアとなります。 |
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
# Binary Tree sample program | |
# Author: Masayuki Ataka <[email protected]> | |
PROGRAM = btree | |
CC = gcc | |
CFLAGS = -W -Wall -g -O2 -std=c99 | |
CPPFLAGS = -DDEBUG | |
all: $(PROGRAM) |
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
CSS counter sample 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
all: blogger-history.png | |
blogger-history.png: blogger-history.dot | |
dot -Tpng -o $@ $< |
NewerOlder