ActionBarを画面下部へ表示する
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
import time, random, urllib, cgi, hmac, hashlib | |
print 'Twitter OAuth for python.\n' | |
print 'Consumer登録は以下より可能です。' | |
print 'http://dev.twitter.com/apps/new\n' |
This file contains hidden or 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/sh | |
# コマンドラインよりブラウザを起動し、 | |
# Google検索を実行する | |
# $* コマンドに与えられた引数をそのまま出力 | |
# chrome.exeにURLを指定することで開く事ができる | |
# https://www.google.co.jp/#q=に検索文字列を指定し検索が可能 | |
/cygdrive/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe "https://www.google.co.jp/#q=$*" |
E, [2014-09-20T11:21:50.865700 #23186] ERROR -- : Actor crashed!
Encoding::CompatibilityError: inspected result must be ASCII only or use the same encoding with default external
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:474:in `inspect'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:474:in `inspect'
/Library/Ruby/Gems/2.0.0/gems/listen-2.7.9/lib/listen/directory.rb:21:in `scan'
/Library/Ruby/Gems/2.0.0/gems/listen-2.7.9/lib/listen/change.rb:38:in `change'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
This file contains hidden or 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
#-*- encoding:utf-8 -*- | |
#words: 除算用の英単語辞書 | |
words = { | |
1000000000: 'Billion', | |
1000000: 'Million', | |
1000: 'Thousand', | |
100: 'Handred', | |
90: 'Ninety', | |
80: 'Eighty', |
This file contains hidden or 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
android create project -n {name} -t {target-id} -g -v {gradle-version} -p {path} -k {package} -a {activity} |
This file contains hidden or 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/sh | |
$ANDROID_STUDIO_BIN/studio.sh |