- 2014
- 未確認で進行形
- 世界征服謀略のズヴィズダー
- ノラガミ
- いなり、こんこん、恋いろは
- 凪のあすから
- キルラキル
- ガンダムビルドファイターズ
- 銀の匙 2期
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
$ adb logcat -v time |
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/perl | |
use strict; | |
use warnings; | |
my @day = qw(Sun Mon Tue Wed Thu Sat); | |
my @mon = qw(Jun Feb Mar Apl May Jun Jul Aug Sep Oco Nov Dec); | |
my($sec, $min, $hour, $mday, $mon, $year, $wday) = localtime; | |
printf("Today is %s, %s %s, %d", $mon[$mon], $day[$wday], $mday, $year += 1900); |
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/env perl | |
use strict; | |
use warnings; | |
my $num = undef; | |
my $is_prime = 1; | |
for (2..10000) { | |
$num = $_; |
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
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
//Amiga Copper rulez forever! | |
uniform vec2 mouse; | |
uniform float random; | |
uniform float time; |
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
files_path=path/to/directory | |
cd $files_path && find . -name "*.feature" | xargs sed -i '' "s/[0-9]*_//g" |
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
# Check directory existance one liner | |
adb shell '[ -e /sdard ]; echo $?' | |
# Use with a if | |
DIR=/sdcard1 | |
COMMAND='[ -e '"$DIR"' ] && echo $?' | |
IS_EXIST=`adb shell $COMMAND` | |
if [ -n "$IS_EXIST" ]; then | |
echo "$DIR is exist." | |
fi |
(前提: Mac で日本語キーボードを使っている場合)
最低限以下の2ができるようになるために、参考サイトの設定を導入する
- Macの英数 / かなキーによる入力切替
- Ctrl + n / Ctrl + h といったコマンドでの基本的な入力
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
#!/bin/bash | |
# | |
# (1) copy to: ~/bin/ssh-host-color | |
# (2) set: alias ssh=~/bin/ssh-host-color | |
# | |
# Inspired from http://talkfast.org/2011/01/10/ssh-host-color | |
# Fork from https://gist.github.com/773849 | |
# | |
set_term_bgcolor(){ |
Implementing GCM Client の日本語訳
https://developer.android.com/google/gcm/client.html
GCMクライアントとは、GCMが内蔵されたアプリのことです。クライアントコードでは、GoogleCloudMessaging APIを使うことを推奨します。このヘルパライブラリは、古いバージョンのGCMが動くことを保証していますが、その代替かつ、より有益なGoogleCloudMessaging APIを提供しています。
完全なGCMの実装には、クライアントとサーバーサイド両方の実装が必要です。サーバーサイドの実装に関してはImplementing GCM Serverを参照して下さい。
OlderNewer