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
| [ | |
| { | |
| "縣市":"台北市", | |
| "編號":1, | |
| "屬性":"私立", | |
| "機構名稱":"臺北市私立常喜老人養護暨長期照護中心", | |
| "負責人":"林彤恩", | |
| "地址":"臺北市北投區清江里009鄰清江路100號2~6樓", | |
| "電話":"02-28983138", | |
| "立案日期":"93.01", |
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
| 縣市 | 編號 | 屬性 | 機構名稱 | 負責人 | 地址 | 電話 | 立案日期 | 備註 | |
|---|---|---|---|---|---|---|---|---|---|
| 台北市 | 1 | 私立 | 臺北市私立常喜老人養護暨長期照護中心 | 林彤恩 | 臺北市北投區清江里009鄰清江路100號2~6樓 | 02-28983138 | 93.01 | ||
| 台北市 | 2 | 私立 | 臺北市私立尊暉老人長期照顧中心(養護型) | 任棟平 | 臺北市北投區永欣里017鄰石牌路2段343巷17號1~2樓 | 02-28761997 | 103.3 | ||
| 台北市 | 3 | 私立 | 臺北市私立賢暉老人長期照顧中心(養護型) | 蔡玉真 | 臺北市北投區永欣里016鄰石牌路2段315巷34弄14、16號1樓 | 02-28710770 | 91.05 | ||
| 台北市 | 4 | 私立 | 臺北市私立高德老人長期照顧中心(養護型) | 賴婷媛 | 臺北市北投區磺港路156號1~3樓 | 02-28982418 | 101.05.22 | ||
| 台北市 | 5 | 私立 | 臺北市私立陽明山老人長期照顧中心(養護型) | 王學賢 | 臺北市北投區湖山里006鄰紗帽路116號 | 02-28615006 | 91.01 | ||
| 台北市 | 6 | 私立 | 臺北市私立全家老人養護所 | 陳立德 | 臺北市北投區永和里007鄰行義路96巷1號1~2樓 | 02-28761692 | 90.04 | ||
| 台北市 | 7 | 私立 | 臺北市私立安立老人長期照顧中心(養護型) | 吳麗雪 | 臺北市北投區石牌里 008鄰致遠一路1段124巷23號1~2樓 | 02-28208277 | 89.02 | ||
| 台北市 | 8 | 私立 | 臺北市私立倚青園老人長期照顧中心(養護型) | 郭梅玉 | 臺北市北投區永明里 008鄰義理街63巷4弄7、11之1~3號1樓 | 02-28283533 | 89.02 | ||
| 台北市 | 9 | 私立 | 臺北市私立至孝老人長期照顧中心(養護型) | 丁素珠 | 臺北市北投區榮華里 004鄰明德路267巷2、2之1號1樓 | 02-28229344 | 88.12 |
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
| class Module { | |
| String mModuleType; | |
| String mModuleSubType; | |
| public Module(String type, String subType) { | |
| mModuleType = type; | |
| mModuleSubType = subType; | |
| } | |
| //我也不知道裡面其他還有啥.... | |
| } |
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 facebook | |
| token = "your token" | |
| api = facebook.GraphAPI(token) | |
| timestamp = " your timestamp " | |
| feeds = api.request('/me/posts/', args={'filter':'created_time', 'until':timestamp}) |
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
| { | |
| "year":, | |
| "qua":, | |
| } | |
| "class":{ | |
| "VD":, | |
| "HMD":, | |
| "BMD":, | |
| "VMD":, |
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
| /* 00 01 02 03 | |
| * 04 05 06 07 | |
| * 08 09 10 11 | |
| * 12 13 14 15 | |
| * first for x is column, next for y is row. | |
| * x=0, y=0~2, x+y=0~2, x+y+1= 1~3 | |
| * x=4, y=0~2, x+y=4~6, x+y+1= 5~7 | |
| * x=8, y=0~2, x+y=8~10, x+y+1= 9~11 | |
| * x=12, y=0~2, x+y=12~14, x+y+1= 13~15 | |
| */ |
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
| #!/usr/bin/env ptyhon | |
| #coding:UTF-8 | |
| import requests, json, os, re | |
| from datetime import datetime | |
| os.environ['TZ'] = 'ROC' | |
| html = requests.get('http://hmc.sltung.com.tw:4935/BED/bed.php') | |
| html.encoding='big5' | |
| pending = re.findall(u':(.+?)',html.text) | |
| # prase like [u'\u5426', u'1', u'0', u'1', u'0'] |
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
| #!/usr/bin/env python | |
| #coding:UTF-8 | |
| import requests, re, json, os | |
| from datetime import datetime | |
| os.environ['TZ'] = 'ROC' | |
| requests.packages.urllib3.disable_warnings() | |
| html = requests.get('https://reg.ntuh.gov.tw/EmgInfoBoard/NTUHEmgInfo.aspx') | |
| pending = re.findall(u'<td>(.+?)人</td>', html.text) | |
| #parse like ['0', '2', '75', '4', '10'] |
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
| #!/usr/bin/env python | |
| #coding:UTF-8 | |
| import requests, json, re | |
| html = requests.get('http://www.chimei.org.tw/%E6%80%A5%E8%A8%BA%E5%8D%B3%E6%99%82%E8%A8%8A%E6%81%AF/main.aspx') | |
| pending = re.findall('">(.+?)</font>',html.text)[7:14] | |
| pending[2:4] = [] | |
| values = [ int(ele) for ele in pending[1:] ] | |
| keys = ['pending_doctor', 'pending_ward', 'pending_icu', 'pending_bed'] | |
| report = { key:value for value, key in zip(values, keys) } |
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
| #!/usr/bin/env ptyhon | |
| #coding:UTF-8 | |
| import requests, json, re | |
| html = requests.get('http://www.chimei.org.tw/%E6%80%A5%E8%A8%BA%E5%8D%B3%E6%99%82%E8%A8%8A%E6%81%AF/main.aspx') | |
| pending = re.findall('">(.+?)</font>',html.text)[21:28] | |
| pending[2:4] = [] | |
| values = [ int(ele) for ele in pending[1:] ] | |
| keys = ['pending_doctor', 'pending_ward', 'pending_icu', 'pending_bed'] | |
| report = { key:value for value, key in zip(values, keys) } |