ないとこまるもの
- パスポート
- クレジットカード
- お金
- 行き先に関する情報のプリントアウト
| #!/usr/bin/perl | |
| while (<>) { | |
| chomp; | |
| my(@hex) = split(/\s+/, $_); | |
| print pack("H2" x @hex, @hex); | |
| } |
| #!/usr/bin/env python2.7 | |
| from smbus import SMBus | |
| import logging | |
| from datetime import datetime | |
| from time import sleep | |
| import struct | |
| class MPL115A2(object): | |
| # device registers |
| #!/usr/bin/env python2.7 | |
| ''' | |
| mpl115a2 driver for Raspberry-pi | |
| Copyright (c) 2013, Yojiro UO <yuo@nui.org>, All right reserved. | |
| * Permission to use, copy, modify, and distribute this software for any | |
| * purpose with or without fee is hereby granted, provided that the above | |
| * copyright notice and this permission notice appear in all copies. |