Category: Uncategorized

Parsing web logs with grep

When trying to use a web access log analysis tool I found that it was incorrectly parsing logs for data from my site. (How do I know it was incorrectly parsing the data? Because it returned results saying that I'd received traffic at the site months before the site owner had even approached me about …

Continue reading

Changing pfSense IPSec VPN settings

I realized there's not much about our pfSense on this blog and I guess the main reason is because they have been working very well for us.  I have run across one issue twice now so I'd like to document it so I remember it in the future. When changing the local network and reconfiguring …

Continue reading

Changing network IP's with Talkswitch phones

When you need to change the network that a talkswitch system is running on, first change the talkswitch unit.  Then, you will need to go to each phone and change the TFTP Server setting (under Network Settings) to the new IP of the main talkswitch unit.  Then reboot the phones to have them grab a …

Continue reading

iPad first look

Ok, first of all, this is not meant to be a full blown iPad review.  This is just a list of notes I made when I first got my iPad and tried it out.  FYI – I have never had an iPod or iPhone although I have played with them a bit.  I DO have …

Continue reading

Setting up console session shadowing

I recently learned a new trick (thanks Richard…) and this is how to set it up.  To remote to a computer and then control the console session just type: shadow 0 To initally set this up you have to do the following: Open the Group Policy snap-in (Gpedit.msc). In the left pane, under the Computer Configuration …

Continue reading

Remove a directory: rm -rf

I've Googled this about 10 times now, maybe if I write it down I'll remember: The -r means recursive, and the -f means force; which means it will ignore the fact that the directory is full.

Samba: Meh.

I'll start by saying Samba is not as easy as it should be, even when it's fully set up and working, but it gets the job done, and SFTP gets so tedious after a while. Here's what I had to do to get it working. First, install it: apt-get install samba Next, edit /etc/samba/smb.conf and …

Continue reading

There's inheritance, and then there's inheritance

…no, not the money kind of inheritance. I'm talking about the ownership and permissions in Linux. Linux permissions are tricky for a Windows guy like me. When I copy a file to a directory on a server I expect the file to inherit the permission of the containing folder on the server. Period. Why? Because …

Continue reading

Hrmph, you mean GD wasn't installed?

I couldn't embed thumbnail sizes on my new WordPress install on my new Ubuntu server; I could only embed the original size (which was 3072×2048). The options to embed other sizes were just grayed out. It turns out that the default LAMP install doesn't include php-gd, the graphics library that creates thumbnails. Well… I guess …

Continue reading

CSS is crap!

…not that I want to go back to straight HTML, because that's crap, but CSS is crap too. After pulling my hair out for a bit and wondering why my styles weren't applying I found this helpful article on CSS specificity. Here's the good part: Element, Pseudo Element: d = 1 – (0,0,0,1) Class, Pseudo …

Continue reading