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


May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031