128x128に収まります。背景は透明です。
Someday, Somehow, Someone's....
Special Thanks https://ch.nicovideo.jp/ebayan-blog/blomaga/ar1901577
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
import twitter | |
from pprint import pprint as pp | |
from time import sleep | |
# 1. twitterから全ツイートを取得する | |
# 2. grep \#ガンバリ事務次長 tweets.csv | grep IFTTT | cut -d ',' -f 1 | tr -d \" > gambari.txt | |
# 3. このスクリプト実行 | |
# twitterのアクセスキー等を設定する | |
auth = twitter.OAuth(consumer_key='', |
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
echo "scale=2036; sqrt(2016)"|bc | tr -d "\n"| tr -d '\\'| cut -c 4- | cut -c 2016-2035 |
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
__author__ = 'KIM_TPDN' | |
from logitechlcd import LogitechLcd | |
from time import sleep | |
if __name__ == '__main__': | |
lcd = LogitechLcd('朝鮮民主主義人民共和国') | |
lcd.set_text(0, '文字数は全角1文字=半角2文字') | |
lcd.set_text(1, '換算で、1行あたり半角29文字') | |
lcd.set_text(2, '文字数が一定を超えるとはみ出る') | |
lcd.set_text(3, '김정일 【ハングル対応】金正日') |
ユンケルスター
薬局名 | 税抜 | 税込 |
---|---|---|
桜ウエルシア | 2980 | 3218 |
桜カワチ | 2839 | 3066 |
デイズサンドラッグ | 2829 | 3055 |
駅イオン | 2839 | 3063 |
駅コクミン | 2362 | 2550 |
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
from urllib2 import urlopen | |
content = urlopen('http://www.ugtop.com/iphone/spill.shtml').read() | |
print(content) |
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
あ”! |
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
#pythonのmarkdownのtableをbootstrap対応にしてみる | |
#例: | |
#table = etree.SubElement(parent, 'table', {'class':'table'}) | |
#class='table'表記はclassが予約語なのでアウト | |
import markdown.extensions.tables as t | |
class TableProcessor(t.TableProcessor): | |
cssclass='table table-striped table-bordered' | |
def run(self, parent, blocks): |
NewerOlder