Script: iptohex

No error checking, just a simple time saver. Converts an ipaddress into hexadecimal suitable for use by tftp tools and pxe booting. The builtin command gethostip does this also, I include the script incase someone finds it useful.

Example:

uphill@surrey[1]: 
iptohex 10.168.192.134 0AA8C086

Unabashedly simple scripts that I use. Hopefully someone will find them useful.

1974 - 2005

Neil
Mail
Modern Art
TeX
Cable

Mail

I once made a huge mistake on our mailserver. It was a Solaris box and this is before I knew how to build solaris packages properly...so I was building things on the mailserver. I was in /var/spool/mail when I typed:
make -C /path/to/Makefile clean

I'm Thomas H. Uphill, my son is Noah (he's on the banner sometimes), my daughter is Aunjanue.

My father's name is Dennis H. Uphill, he's also known as Dr. Video or Dr. Science. He has a penchant for detail and problem solving. He's a strong union supporter, which he comes by naturally...

His father was Norman H. Uphill, he was a Union Executive for the Pipefitters and Steamfitters Union Local 170. His Union duties came to him naturally also...

My info
Recently some laptops in our network stopped downloading virus definitions. Our firewall was configured to allow traffic from the wireless vlan to our server
There is an excellent package for working with an iPod on Linux. gtkpod. Since version 0.99.2 it supports importing of Video's
My co-worker just got an iPod so I thought I would try and encode a DVD onto it (an unencrypted DVD that I own, for backup purposes only, not to be used for public performances, etc, only I looked at it, I shut it off when someone looked over my shoulder...blah blah). The ffmpeg that comes stock on RHEL4 is insufficient to do the transcoding. I built a newer version and mucked around a bit and got this going. I have a simple wrapper (there are numerous versions of such scripts floating around).

This happens to me when I'm importing photographs, I end up with files called .JPG or .jpeg and I prefer .jpg.

for file in *.JPG
do

Say you have some files named a100 to a200 that you want to rename to b200 to b100 (it really does happen).

y=200
for x in `seq 100 200`
do
   mv a$x b$((y--))
done

seq is a fairly useful tool, it can also take a reversed list.

for x in `seq 200 -1 100`
do
printf "$x "
done

Slides from LISA 2019 Linux systems troubleshooting #LISA2019 https://t.co/D4dMKflK6R Tue Oct 29 05:59:30 +0000 2019

https://t.co/AGeihMALAv configuring grub2 with EFI Fri Sep 13 05:20:01 +0000 2019

I published a Thing on @thingiverse! https://t.co/IYpRyEb7Hz #thingalert Tue Jul 23 19:27:57 +0000 2019

Nokogiri install on MacOSX https://t.co/v3An0miW9L Fri Jul 12 15:06:49 +0000 2019

HTML email with plain mailer plugin on Jenkins https://t.co/Z6FSDMDjy8 Thu Jul 11 21:07:25 +0000 2019