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

April 29, 2011 at 1:45 am Leave a comment

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

May 18, 2010 at 10:57 pm Leave a comment


August 2017
M T W T F S S
« Nov    
 123456
78910111213
14151617181920
21222324252627
28293031