Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / tw_daily_stocks.ipynb
Created May 27, 2019 15:22
證交所_個股當日收盤行情
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / exchange_TaiwanBank.ipynb
Last active November 17, 2019 02:58
台灣銀行牌告匯率
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / 01_TelegramBot.md
Last active May 7, 2020 21:29
01_TelegramBot

建立Telegram ChatBot in Django2.0

前言:

本篇內容需要以下的材料:

  • python 3.6以上
  • 安裝 Git
  • 下載 Ngrok
  • 申請 Heroku 帳號 & 安裝 Heroku CLI
  • 申請 Telegram Bot

快速懶人包:

@rs6000
rs6000 / 02_TelegramBotDeployToHeroku.md
Last active May 8, 2020 03:48
02_TelegramBotDeployToHeroku

Deploy Your TelegramBot to Heroku (with Django)

本篇內容是將Telegram ChatBot 佈署到 Heroku網站上,所以需要有Heroku 的帳號,沒有的請註冊一個(Free)
程式完全沒有更動,所以直接用上一篇完成的範例程式。

快速懶人包:

直接使用本篇的範例程式:

$ git clone https://github.com/rs6000/02-DeployYourTelegramBotToHeroku
$ cd mysite
$ pip install -r requirements.txt
@rs6000
rs6000 / psei_summy_2wordpress.ipynb
Last active May 18, 2020 06:21
psei_summy_2wordpress.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / 05_Pandas_select_rows_between_two_dates.ipynb
Last active May 20, 2020 00:54
Pandas_select_rows_between_two_dates
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / pandas_sort.ipynb
Last active May 31, 2020 12:22
pandas sort
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.