Tag Archives: code

Add Alarm to Events Calendar PRO

Thanks to Joey Kudish and Jonah at Modern Tribe, Inc., I’ve converted my original hacked together code to add an alarm to a calendar event created using the Events Calendar PRO WordPress plugin into a plugin of my own. You … Continue reading

Posted in code | Tagged , , | 2 Comments

chroot’d SFTP on Mac OS X server

So here you are finding that you need to grant someone else SFTP access to your server. There are lots of reasons to do this, in my case it’s because I needed to grant access to someone’s web designer. We … Continue reading

Posted in code, osx-server | Tagged , | 5 Comments

Fail2ban Problems and Solutions

If you use Fail2ban then you are probably aware of the fact that you must add a rule number to the ipfw deny rule for actionban in ipfw.conf. If you don’t add a rule number then there is no way … Continue reading

Posted in code, osx-server | Tagged , , | 1 Comment

Checking Fail2ban regex

I’ve just stumbled across a great command in Fail2ban to check whether or not your filter will actually score a hit from your log file. From the command line. fail2ban-regex /path/to/logfile /etc/fail2ban/filter.d/myfilter.conf regex_to_ignore As an example. fail2ban-regex /var/log/secure.log /etc/fail2ban/filter.d/sshd.conf (myusername|myIPaddress) … Continue reading

Posted in code, osx-server | Tagged , , | Leave a comment

Server-Side Email Filtering with Sieve

Another post for the peripheral brain. When I first set up my own server lo these years ago, I never really thought about email message filtering. After all, I had rules in Mail.app that would send my incoming message to … Continue reading

Posted in code, mac-osx, osx-server | Tagged , , , , , | Leave a comment

Poof it’s Gone

OK, I’m only really posting this cause I need it and I just want to put it somewhere to remember it. To make a file or folder invisible issue the following from the CLI. To make it visible again… That’s … Continue reading

Posted in mac-osx | Tagged , | Leave a comment

Don’t Send iCal Replies

I came across a great hint in Mac OS X Hints today. It seems that there’s an easy way to interrupt the process of sending an email reply when accepting iCal invites. As I tend to play around with iCal … Continue reading

Posted in AppleScript, code, computer, mac-osx | Tagged , , , | 14 Comments

Fail2ban on Leopard Server

So here I am running my own server — for almost 2 years now. It’s been a real learning experience and I’ve tried to share. My latest add-on has been fail2ban. I got tired of looking into my logs and … Continue reading

Posted in code, osx-server | Tagged , , | 7 Comments

VoodooPad Pro Blogging

Please note that VoodooPad Pro has been renamed to VoodooPad. It’s time to package up all my VoodooPad blogging scripts and assorted web export plugins so that I can Remember what the heck I was thinking. Remember what all these … Continue reading

Posted in code, mac-osx | Tagged , , | 2 Comments

iCal - Exchange Time Zone Fix - Chapter 3

I’ve updated the iCal-Invite-Fix script again. This time to allow for adding multiple Exchange servers to the script so that you should only need a single script. The set-up is slightly more complex. As the image above shows there are … Continue reading

Posted in AppleScript, code, mac-osx | Tagged , , | 6 Comments