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

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

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

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

參考一
參考二
 

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

amazon 認證 token有時效期現
https://acd-cli.readthedocs.io/en/latest/authorization.html
上面acd_cli 提供產生oauth_data的網址失效了
害我很久無法使用acd_cli
後來去drivesink
https://drivesink.appspot.com/
在最下面有一個"access configuration"
點進去後
輸入帳號密碼
會產生新的token
把內容貼到oauth_data
就算更新認證的token了

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

參考
 

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

參考
 

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

findpng.png
參考
 

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

參考1
參考2

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
--------------------------------
:
:
git_branch()
{
    cd /your/git/dir
    git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1='\[\e[1;32m\]\u@\[\e[1;31m\]\t:\[\e[1;33m\]\w\[\e[1;36m\] $(git_branch)\[\e[0m\]\$ '
-------------------------------
#source ~/.bashrc

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

Blog Stats
⚠️

成人內容提醒

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

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