Posts tagged ‘command line’
Command line twitter
(twyt ang bti, apologies for the vague FUD, but I just couldn’t get you to work. Feel free to comment)
I was trying to get basic twitter working from the command line. This was more difficult that expected, I went through four different approaches before I found one that worked.
bti – Didn’t work (reported no errors – even with verbose just did nothing)
twyt – Consistently said bad password
raw curl – Basic auth not supported
Finally I found ttytter, which wasn’t in the main ubuntu repository, but for which there was a ppa. After getting an oauth key this worked fine (with no man pages….grr). This can be reasonably scripter
Slicing up an image using image magic
Slice an image into 64 pieces:
convert big.png -crop 12.25%x12.25% pieces-%d.png
Lifted from:
http://www.fmwconcepts.com/imagemagick/tidbits/image.php#crop1