Sunday, December 1, 2013

Fixing an Off-Screen DiffMerge window in OS X

Borrowing from this post:  http://forums.macrumors.com/archive/index.php/t-94405.html

Best way is to rm the plist file in ~/Library/Preferences and remove the window dimensions in the file literally named:  "~/Library/Preferences/Sourcegear Diffmerge Preferences"

Wednesday, November 20, 2013

Quick rsyslog setup

On the Server:

# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514

Add "- 4" to /etc/sysconfig/rsyslog to get it to listen on IPv4 addresses.  Example:
SYSLOGD_OPTIONS="-c 5 -4"

Restart the service

On the Client:

*.* @@remote-host:514

On EC2 instance boot, pass this to user-data:

#!/bin/bash

echo '*.* @@host_name_or_ip:514' >> /etc/rsyslog.conf

/etc/init.d/rsyslog restart