New Bike

Pic from dealer website.

2009 Yamaha V Star 650 Classic

2009 Yamaha V Star 650 Classic.

2009 Yamaha V Star 650 Classic.

2009 Yamaha V Star 650 Classic

2009 Yamaha V Star 650 Classic

Posted in Motorcycling | Leave a comment

Generate a random password with Python

From the Python interpreter:

>>>  file('/dev/random', 'rb').read(12).encode('base64')
'XIUhRiMM/kcmsQl8\n'

 

Posted in Linux, Technology | Leave a comment

The SysAdmin Ten Commandments

Stolen from:

http://hacktux.com/sysadmin/ten/commandments

 

I. Thou shalt respect thy user

It is paramount that you respect the user and their data. Don’t steal their MP3s, don’t look at their porn. When working with email, look without reading. Respect them and they will respect you.

II. Thou shalt empower the user

The user is the customer. The system is not yours, it is theirs. Provide users the tools they need to be successful and they will be happy. Give them space to experiment, learn and create. Do not hold users back.

III. Thou shalt keep it simple

Keep It Simple, Stupid. The KISS principle will keep you from building barrels to keep a bottle’s worth of wine. Do not mistake over-engineering for quality. Quality work is concise and scalable.

IV. Thou shalt expect catastrophe

Expect the worst surprises. Make your resources redundant, backup your data, test your backups, and then backup the backups. The shit will hit the fan someday. Be prepared.

V. Thou shalt plan

Great work follows great plans. Stay on target by first identifying it. Plan your work carefully and surprises will be easier to handle.

VI. Thou shalt stay informed

Gather all the news, information, logs and statistics you can. Without the raw data to analyze, you cannot be secure, you cannot debug problems and you cannot forecast. Without new information, you cannot learn.

VII. Thou shalt share

No one is alone in this world. Pass your knowledge on to others. Give to others, contribute to the community and you will reap many rewards. It is not wise to horde knowledge. Don’t be an asshole.

VIII. Thou shalt automate

Do more, faster by automating tasks. You are the puppet master, do not waste your time with menial work. Work smarter, not harder.

IX. Thou shalt document

Always document your work, your code and your plans. Then document their execution and maintenance. Document for others and document for yourself. Documentation should be an extension of your mind and a resource for others.

X. Thou shalt respect thy organization

Without organization, there is no system, there is no user and there is no job. Understand the organization and it’s business. Respect it and help it thrive.

Posted in Linux, Technology | Leave a comment

Buzzwords for the new decade…

I will add more as I find them.  Enjoy.

Fiscal Theater – Giordano Bruno – http://neithercorp.us/npress/

Security Theater – Bruce Schneier – http://en.wikipedia.org/wiki/Security_theater

Financial Terrorists – Mike Krieger.

Posted in Finance, Politics | Leave a comment

Twitter integration…

Working on getting twitter added to this site.

In the meantime, look me up on twitter here: @r0ydster

Posted in Uncategorized | Leave a comment

Job Titles

I was leafing through this book last night after I got home from work:
What Should I Do With My Life and in it, the author lists his job titles.

I thought it would be a good exercise, so here is mine, with dates.
I’ve included both legit and non-legit positions.

Laborer – 1979 – 1984
Fast food worker – 1984-1985
Laborer – 1986
Fast food worker (banished for ever from employment from McDonalds) – 1986
Paving company laborer – 1985 – 1988
Retail Hardware Store clerk – 1987
Target Store Stock Clerk – 1988
Price Club/Costco caller (teamster) – 1988
Retail Hardware Store Cashier – 1989
Campus Vending machine “auditor” – 1989
Pizza joint worker – 1990
Department store shoe salesman – 1990
Courier for a Veterinary diagnostics firm (Dog piss driver) – 1990 – 1992

Graduated from college – Dec. 1992

Finance “career”

Bank Teller – 1993
Accounts Receivable clerk – 1993- 1994
Staff accountant for a commodities brokerage firm (entire firm was full of “Big Swinging Dicks“) – 1994 – 1995
Staff accountant in the commercial mortgage department of a bank – 1995 – 1997

IT “career”
Technical Support Engineer (AKA – Help Desk Jockey) – 1998
Customer Service Account Manager – 1998 – 1999
Technical Consultant – 1999
Unix Technical Consultant – 2000
NOC Analyst (laid off after 4 months) – 2001
System Engineer/Helpdesk/Installer/etc. – 2001 – 2004
Enterprise Site Engineer – 2005
Unix Systems Administrator (really production support – very little SA goes on) – 2006 – Present

Posted in Work & Career | Leave a comment

miscellaneous linux 1 liners

IPTABLES:
CURRENTLY BLOCKED:
sudo /sbin/iptables -L -n -v

ADD IP TO IPTABLES:
sudo /sbin/iptables -I INPUT -s IPADDY -j DROP
for i in 65.160.0.0/13, 65.168.0.0/14, 65.172.0.0/15, 65.174.0.0/16; do sudo /sbin/iptables -I INPUT -s $i -j DROP

DELETE IP ADDY FROM TABLE:
sudo /sbin/iptables -D INPUT -s IPADDY -j DROP

SAVE TABLE:
NOW=`date +%m-%d-%Y-%T`
LOGFILE="iptables-save.$NOW.log"

/sbin/iptables-save > /root/tmp/$LOGFILE

RESTORE TABLE:
/sbin/iptables-restore < /root/tmp/logfile

GREP APACHE ACCESS.LOG AND LIST IPs BY HITS - SORTED:
awk '/Dec\/2010/ {print $1};' /var/log/apache2/access.log | sort | uniq -c | sort -rn | head

CHECK FOR IPs USING YOUR MAILSERVER AS A RELAY:
cat /var/log/mail.log | grep NOQUEUE

Posted in Technology | Leave a comment

Updating Ubuntu Server

In 2004 is set up a debian web/ssh/email server at my house, with a dynamic IP.  This was mostly an academic exercise.

It kind of snowballed into a gallery picture server, a phpBB Bulliten board server, and a email account for one and all.

I enjoyed hacking away at it, especially Apache and one day in 2006 I borked the Apache install.  I spent about 3 weeks trying to fix it, but failed completely.  Admittedly,  I could have dug deep and probably resolved the issue, but I opted for the easy way out and installed the then current version of Ubuntu Server on the box.  I reinstalled everything and forgot about it.

I had not realized that I had a version that had no long term support (LTS in ubuntu speak) and at some point I was getting the following error when running apt-get-update:

Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz 404 Not Found

So I needed to upgrade to the latests and greatest ubuntu – here is what I did:

as root:

1) changed from edgy to feisty:
sed -e ‘s/\edgy/feisty/g’ -i /etc/apt/sources.list

2)apt-get update && apt-get upgrade && apt-get dist-upgrade
took about an 90 minutes.

rebooted to 7.04 server

as root:
3) do-release-upgrade
this took me from Feisty to Gutsy.

I kept doing this until I got to the current version.

The box is now on Ubuntu 10.04.1 LTS and fully updated.

Posted in Technology | Leave a comment

Welcome

Welcome.

This is the blog for publicly posting my thoughts on topics that I am interested in.

Things like technology, gaming (FPS) and football and the state of my mind.

Posted in Random | Leave a comment