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
| 飛行機代 = 10{万円} * 2{往復} | |
| rep (i,[{月},{年}]) { | |
| >> 学校代 = 5{万円/月->i} | |
| >> お泊まり代 = 6{万円/月->i} | |
| >> 飛行機代 | |
| >> 計 = 飛行機代{万円} + (学校代 + お泊まり代){万円} | |
| --- | |
| } |
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
| import geoip2.database | |
| reader = geoip2.database.Reader('/usr/local/share/Geoip/GeoLite2-City.mmdb') | |
| import sys | |
| ip_address = raw_input('ip address -> ') | |
| response = reader.city(ip_address) | |
| print "%s, %s, %s" % (response.country.name, response.subdivisions.most_specific.name, response.city.name) |
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
| sudo port install opencv +python27 | |
| /opt/local/bin/python2.7 |
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
| sudo mv ○○.sty /usr/local/texlive/texmf-local/tex/latex/○○ | |
| sudo mkxisr |
NewerOlder