https://mathiasbynens.be/notes/mysql-utf8mb4
https://dba.stackexchange.com/questions/8239/how-to-easily-convert-utf8-tables-to-utf8mb4-in-mysql-5-5

先把資料庫轉成utf8mb4
再把table轉成utf8mb4

slinbody 發表在 痞客邦 留言(0) 人氣()

#curl -v -F 'file=@/tmp/444.jpg' -b cookies.txt -c cookies.txt  https://your.web.site/upload
其中,file要看該網頁的變數名稱決定

 

slinbody 發表在 痞客邦 留言(0) 人氣()

參考一
參考二

vim要有支援python
檢查方法:

slinbody 發表在 痞客邦 留言(0) 人氣()

amazon 認證 token有時效期現
https://acd-cli.readthedocs.io/en/latest/authorization.html
上面acd_cli 提供產生oauth_data的網址失效了
害我很久無法使用acd_cli
後來去drivesink

slinbody 發表在 痞客邦 留言(0) 人氣()

參考

slinbody 發表在 痞客邦 留言(0) 人氣()

參考

import telegram

token1='your token'
bot = telegram.Bot(token=token1)
chat_id = bot.getUpdates()[-1].message.chat_id

slinbody 發表在 痞客邦 留言(0) 人氣()

findpng.png

參考

find /tmp -mtime -4
找出 4天內有修改過的檔案

find /tmp -mtime  4

slinbody 發表在 痞客邦 留言(0) 人氣()

參考1

參考2

vim diff mode雖然好用
但是預設顏色有點悲劇
加入以下幾行會好一點點

slinbody 發表在 痞客邦 留言(0) 人氣()

參考

slinbody 發表在 痞客邦 留言(0) 人氣()

http://www.martyncurrey.com/hc-05-and-hc-06-zs-040-bluetooth-modules-first-look/

slinbody 發表在 痞客邦 留言(0) 人氣()

http://www.jianshu.com/p/b7681abee5cb

slinbody 發表在 痞客邦 留言(0) 人氣()

用git branch 去取得目前的branch name
不要用git checkout (太花時間了)

#vi ~/.bashrc
--------------------------------

slinbody 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。