- 空間ジェスチャー
- フィジカルコンピューティング
- NUI(Natural User Interface)
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
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8"> | |
<input type="hidden" name="business" value="Mail address of Seller" /> | |
<input type="hidden" name="item_name" value="Item Name" /> | |
<input type="hidden" name="amount" value="Item Amount" /> | |
<input type="hidden" name="quantity" value="1" /> | |
<input type="hidden" name="currency_code" value="JPY" /> | |
<input type="hidden" name="lc" value="jp_JP" /> | |
<input type="hidden" name="charset" value="UTF-8" /> | |
<input type="hidden" name="cancel" value="http://example.com/cancel.html" /> | |
<input type="hidden" name="return" value="http://example.com/success.html" /> |
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
$ cat /etc/redhat-release | |
CentOS release 5.9 (Final) | |
$ arch | |
i686 | |
$ cd /usr/local/src | |
$ sudo wget http://redis.googlecode.com/files/redis-2.6.11.tar.gz | |
$ sudo tar xzvf redis-2.6.11.tar.gz | |
$ cd redis-2.6.11 | |
$ sudo make | |
zmalloc.o: In function `zmalloc_used_memory`: |
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
$ python -v | |
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) | |
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin | |
$ brew -v list | |
Homebrew 0.9.4 | |
autoconf gettext libtiff node protobuf tree | |
cmake gfortran libxml2 openssl r unrar | |
colordiff git mcrypt pcre re2c wget | |
gd gsl mobile-shell pidof readline zsh |
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
* { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
body { | |
background: #fdd; | |
font: 30px sans-serif; | |
} |
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
# よくあるどんどん入力欄が増やせるフォーム | |
* フォームに入力してフォーカスが離れるともうひとつフォームができる | |
* 入力を削除すると空のフォームが消える |
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
/** | |
* ページネーション用の配列をつくる | |
* | |
* @see <a href="http://getbootstrap.com/components/#pagination">Bootstrap - Default pagination</a> | |
* @param totalCount | |
* @param numberCurrentPage | |
* @return pageNumbers ArrayList<Integer> pageNumbers.get(0) == 1, pageNumbers.get(1) == 2, ... | |
*/ | |
public static ArrayList<Integer> paginationArray(int totalCount, int numberCurrentPage) { | |
int totalNumPage = (int) Math.floor(totalCount / (double) Integer.parseInt(SettingManager.getInstance().getPageMaxCount())); |
OlderNewer