Tag Archives: Linux

A Command Line Twitter Client for you

You can have a command-line based tweeter!

type the following into /usr/bin/tweet

then type chmod +x /usr/bin/tweet (changing the username and password)

#!/bin/bash

#     This is a command line Twitter Client
#    Set Username and Password –user “<username>:<Password>”
#     Usage:  tweet “Content of Tweet up to 127 chars”

#    Shorten the String to just 126 Chars (just in case)
STATUS=$(echo $1 | awk ‘{print substr($0,1,126)}’)

curl -silent -o /dev/null –basic –user “Username:Password” –data-ascii “status=$STATUS” “http://twitter.com/statuses/update.json”

Setting up SMS SMTP 5.X and a Mail Server on CentOS 5

I apologize the the lack of detail in the post, I created it to prompt myself along when I performed installs at future dates, but never got around to filling it out.

  1. Perform a custom server only install of CentOS
  2. Do not install Mysql, dovecot or any other mail related software
  3. Install Sendmail via yum.
  4. Install Legacy software development, install Legacy software support. Install the basic development tools
  5. Once the install is complete; update and reboot
  6. Configure the users that SMS SMTP wants (create the users manually establishing their group memberships ahead of time)
  7. Install SMS SMTP using the smssmtp install binary and NOT “installer”
  8. Perform a typical install
  9. Reboot
  10. license and configure SMS SMTP to deliver local mail to 127.0.0.1 port 25
  11. Download and compile sendmail, install using Build install, this will overwrite the sendmail “fake” that SMSSMTP put into place.
  12. Modify the sendmail configuration to accept mail for your domain
  13. use chkconfig to configure sendmail to start at level 3
  14. reboot
  15. install dovecot, allow it to install mysql
  16. reboot
  17. You may have to configure dovecot to use Maildir correctly
  18. Done.

Proud and Happy

I’ve been fighting with XGL and Beryl on my Ubuntu box for ages, the other day there I tried out the Live DVD for Sabayon linux (a Gentoo Distro) and it just “worked” with Beryl.  I plotzed after so many failures, here it was, working!

The problem was that it was on the spare computer (belonging to NiteCat)  damn.

Anyway, NiteCat was so taken by the 3D desktop and graphic stuff that she asked to go over to Sabyon on a permanent basis.  After a few false starts I installed it (and dual booted it with the existing Windows installation)

Sadly, Beryl didn’t work.

Shit.

Some forum diving got me to the point where I was installing a new driver (which didn’t seem to work)

A reboot later and it all works (even after more reboots)

I’m so happy, NiteCat can still play her games and can get into using Linux!

Good for her!

Fun Stuff

I’m loving my little Canon a530.

I love slinging it out and snapping shots of stuff, especially close up and strange.

Take my little friend here; the fusion of a stress doll and a koosh ball.  I have christened it the team mascot.  I took a few snaps of it for my flickr page.

In Not Fun Stuff news, I decided to wipe out my Fedora Core install (meaning I lose my neat-o antispam solution for a while) but as per usual my path to Linux Nirvana is beset with Jackassery and slow net connections.

Oh well.  Jackassery Calls.