Archive for the ‘technical’ Category

automatically extract email attachments with common linux tools

I had need to automatically process emails to a specific address to pull attachments out, and this is how I did it: $ yum install mpack $ cat extract-attach.sh #!/bin/bash rm -rf ~/attachtmp mkdir ~/attachtmp mv ~/Maildir/new/* ~/attachtmp cd ~ munpack ~/attachtmp/* rm -rf ~/attachtmp $ crontab -l */5 * * * * ~/extract-attach.sh Why, [...]

April 24, 2014 · antipaucity · No Comments
Tags: , , , , , , ,  · Posted in: technical, tutorial

setting up an unreal irc server on centos 6

Ever want to run an IRC server? I recently set one up at irc.datente.com using a Digital Ocean VM running CentOS 6.5 x64. Here’s what I did, if you want to replicate the process for yourself (full documentation available from Unreal’s website): acquire CentOS 6.5 x64 server (as I mentioned, I used Digital Ocean) `yum [...]

April 22, 2014 · antipaucity · No Comments
Tags: , , ,  · Posted in: code, technical, tutorial

group admin in the era of facebook

Along the difficulties of initially building a good group/community, comes the hassles of managing said [virtual] community – especially on the book of the face. I am a coadmin on the Ontario & Western Railways Historical Society Inc Facebook group. My friend Peter is a coadmin of the Linux Mint group. Something both of us have noticed [...]

April 4, 2014 · antipaucity · 3 Comments
Tags: , , ,  · Posted in: commentary, ideas, insights, technical

lex>>fwd meeting @ west 6th tonight at 1730 edt

LEX>>FWD is meeting tonight at West Sixth Brewery in Lexington at 5:30p. The topic is scheduled to be “source control and specifically differences between distributed and centralized”. If you’re int he Lexington area this evening, come join us.

April 3, 2014 · antipaucity · No Comments
Tags:  · Posted in: technical

a smart[ish] dhcpd

After running into some wacky networking issues at a recent customer engagement, I had a brainstorm about a smart[ish] DHCPd server that could work in conjunction with DNS and static IP assignment to more intelligently fill subnet space. Here’s the scenario we had: Lab network space is fairly-heavily populated with static assigned addresses – in [...]

March 10, 2014 · antipaucity · No Comments
Tags: , , , , , , ,  · Posted in: ideas, technical

defaulting pxe boots with hpsa 10.0

In follow-up to my last post, which itself was a commentary on an earlier topic, I have the additional steps you need to do the previous procude (which is to edit /opt/opsware/boot/tftpboot/pxelinux.cfg/default): /etc/init.d/opsware-sas stop smartboot Edit file. /etc/init.d/opsware-sas start smartboot

January 28, 2014 · antipaucity · No Comments
Tags: , , ,  · Posted in: technical, tutorial, update, work

everything with a webui should publish rss

RSS is far from dead – it’s ubiquitous. What astonishes me, though, is that not all applications that have a WebUI don’t publish feeds via RSS (or Atom – same difference). OpenNMS and Nagios (via a plugin) will push alerts via RSS – which is fantastic: there’s no reason everyone shouldn’t be able to filter [...]

January 24, 2014 · antipaucity · No Comments
Tags: , , , , ,  · Posted in: commentary, ideas, technical

pxe works differently in hpsa 10.x

2 years ago I wrote-up how you can change the default choice for the PXE menu in HP Server Automation. Found out this week that those instructions are not valid if you are running 10.0 (release this past summer). HP changed how they present their PXE menu with 10.x, and I have filed an RFE [...]

December 19, 2013 · antipaucity · One Comment
Tags: , ,  · Posted in: complaint, technical, update, work

network install of centos 6

I wanted to try something different when playing with CentOS 6 recently, so I did a network install. Other than one very small detail, the install is identical to installing off a normal ISO. Here’s the difference: use the netinstall.iso (eg http://centos.datente.com/media/6/isos/x86_64/CentOS-6.4-x86_64-netinstall.iso) when it asks for the URL to grab your image from, use something like http://centos.datente.com/media/6/os/x86_64 (make [...]

November 7, 2013 · antipaucity · No Comments
Tags: ,  · Posted in: technical, tutorial

programming again

It’s been years, but I am working on some new (small) programming projects again. First out will be an open-source app that’s a simplified (and slimmed-down) tool akin to Yahoo! Pipes. One of the things I had forgotten was just how hard it is to write code that doesn’t stink. Here’s hoping the first release [...]

November 6, 2013 · antipaucity · 2 Comments
Tags: ,  · Posted in: cool, news, personal, technical