Skip to content

Instantly share code, notes, and snippets.

@username13107
username13107 / curlicue
Created April 1, 2017 07:09 — forked from zhasm/curlicue
1,准备:将curlicue, curlicue-setup 保存到可识别的 bin 路径下,+x;将 msg 函数放到 ~/.bashrc 里,souce 一下; 2,初始化:执行 curlicue-setup ,按照提示操作; 3,发消息:msg NAME MESSAGE
#!/bin/sh
# Curlicue - an OAuth wrapper for curl
#
# Copyright © 2010 Decklin Foster <[email protected]>
# Please see README for usage information and LICENSE for license.
# Because HTTP responses from the OAuth "dance" will be percent-encoded,
# and we want to round-trip this data, we require that credentials files
# are also percent-encoded. Therefore, no decoding is done here. $1 is
angler/mda89d/uname.txt:Linux 3.10.73-g9b6596d
angler/mdb08k/uname.txt:Linux 3.10.73-gcf36678
angler/mdb08l/uname.txt:Linux 3.10.73-gcf36678
angler/mdb08m/uname.txt:Linux 3.10.73-gcf36678
angler/mhc19i/uname.txt:Linux 3.10.73-g3b5cc28
angler/mhc19q/uname.txt:Linux 3.10.73-g8c0675f
angler/mmb29m/uname.txt:Linux 3.10.73-g9741316
angler/mmb29n/uname.txt:Linux 3.10.73-g9741316
angler/mmb29p/uname.txt:Linux 3.10.73-g9741316
angler/mmb29q/uname.txt:Linux 3.10.73-gda330d0