- パスポート
- クレジットカード(2枚)
- お金(Euro)
- 行き先に関する情報のプリントアウト
- hotelのコンファメーションのプリントアウト
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 | |
while (<>) { | |
chomp; | |
my(@hex) = split(/\s+/, $_); | |
print pack("H2" x @hex, @hex); | |
} |
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 python2.7 | |
from smbus import SMBus | |
import logging | |
from datetime import datetime | |
from time import sleep | |
import struct | |
class MPL115A2(object): | |
# device registers |
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 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. |