User Tools

Site Tools


code:shell:post-a-twitter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:shell:post-a-twitter [2012/12/26 23:27] percycode:shell:post-a-twitter [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 14: Line 14:
 #!/bin/sh #!/bin/sh
  
-msg=`echo ${@}|cut -b -140`+msg=`echo ${@}|cut -b 1-140`
  
 curl -d "username=xxx&password=xxx&message=${msg}" -k https://216.24.xxx.xxx:8443/HelloServlet/s1/UpdateStatus curl -d "username=xxx&password=xxx&message=${msg}" -k https://216.24.xxx.xxx:8443/HelloServlet/s1/UpdateStatus
/var/www/dokuwiki/wiki/data/attic/code/shell/post-a-twitter.1356535674.txt.gz · Last modified: 2016/05/05 13:06 (external edit)