<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Higher Logic</title>
	<atom:link href="http://higherlogic.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://higherlogic.com.au</link>
	<description>notes on screwing with tech...</description>
	<lastBuildDate>Wed, 06 Feb 2013 22:47:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cisco Email Config Backup</title>
		<link>http://higherlogic.com.au/2013/cisco-email-config-backup/</link>
		<comments>http://higherlogic.com.au/2013/cisco-email-config-backup/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 03:25:20 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[call-home]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[config backup]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=330</guid>
		<description><![CDATA[<p>ET fone home... using email config backup This is a nice little feature that most cisco routers have to allow simple cisco config backup Since I didn't want to install a messy service like RANCID or sftp servers just to get cisco configs, this is a light weight solution for getting the cisco to mail [...]</p><p>The post <a href="http://higherlogic.com.au/2013/cisco-email-config-backup/">Cisco Email Config Backup</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<h3>ET fone home... using email config backup</h3>
<p>This is a nice little feature that most cisco routers have to allow simple cisco config backup Since I didn't want to install a messy service like RANCID or sftp servers just to get cisco configs, this is a light weight solution for getting the cisco to mail you its own config once in a while.</p>
<p><code><br />
call-home<br />
 contact-email-addr mark@cisco_router.com<br />
 mail-server your_mail_server priority 1<br />
 profile "ConfigBackup-1"<br />
  destination address email mark@xxx.com<br />
  subscribe-to-alert-group configuration export full periodic monthly 11 10:00<br />
</code></p>
<p>This cisco will mail you once a month on the 11th at 10am.</p>
<p>The post <a href="http://higherlogic.com.au/2013/cisco-email-config-backup/">Cisco Email Config Backup</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2013/cisco-email-config-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Innobackupex a faster MySQL re-slaving process (Ubuntu)</title>
		<link>http://higherlogic.com.au/2013/mysql-innobackupex-ubuntu/</link>
		<comments>http://higherlogic.com.au/2013/mysql-innobackupex-ubuntu/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 03:11:59 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[innobackupex]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[percona]]></category>
		<category><![CDATA[slaving]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=325</guid>
		<description><![CDATA[<p>A shoutout to my friend Colm for putting these instructions together, I'm putting it here for easy access. The following contains simple steps for re-slaving a broken mysql slave by using innobackupex. I've cleaned it up a bit for conciseness. This procedures uses the Percona tools for a much quicker master to slave sync. MySQL [...]</p><p>The post <a href="http://higherlogic.com.au/2013/mysql-innobackupex-ubuntu/">Innobackupex a faster MySQL re-slaving process (Ubuntu)</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>A shoutout to my friend Colm for putting these instructions together, I'm putting it here for easy access. The following contains simple steps for re-slaving a broken mysql slave by using innobackupex. I've cleaned it up a bit for conciseness. This procedures uses the Percona tools for a much quicker master to slave sync. MySQL dump just takes wayyy to long.</p>
<p>Innobackupex is a Percona tool which does a binary copy of the raw MySQL data files adjusting for transactional integrity. This process is a lot faster than the standard mysql dump + load + slave option. We have been using this in production for a while now.</p>
<h3>Prepping using innobackupex</h3>
<p><code><br />
# if the package hasn't already been installed:<br />
master# sudo apt-get install percona-xtrabackup<br />
master# cd ~ &#038;& rm -rf mysqlbak/ &#038;& mkdir mysqlbak/<br />
# To avoid issues if your connection breaks<br />
master# screen<br />
# reduce the I/O impact on MySQL funtioning<br />
master# nice -n 19 ionice -c3 innobackupex mysqlbak/<br />
# Clean up the transaction so the database is consistent<br />
master# innobackupex --apply-log mysqlbak/*<br />
master# ssh backupserver "rm -rf mysqlbak/" &#038;& scp -Cr mysqlbak/ backupserver:<br />
</code></p>
<h3>Start up the slave</h3>
<p><code><br />
slave# service mysql stop<br />
slave# mv /var/lib/mysql /var/lib/mysql_old<br />
slave# mv mysqlbak/* /var/lib/mysql<br />
slave# chown -R mysql:mysql /var/lib/mysql<br />
# The following file has to be present in the data directory<br />
slave# cp /var/lib/mysql_old/master.info /var/lib/mysql/<br />
# Update Offsite slave root password from the Master DB password<br />
slave# mysqladmin -u root -pMasterPassword -S /var/run/mysqld/mysqld.sock password 'OffSiteSlavePassword'<br />
slave# service mysql start</p>
<p># Setup Slave configuration<br />
# This file contains the master_log_file and master_log_pos information<br />
slave# cat /var/lib/mysql/xtrabackup_binlog_info<br />
slave# mysql -e 'change master to master_log_file="xxx", master_log_pos=yyy;'<br />
slave# mysql -e 'start slave;'<br />
slave# mysql -e 'show slave status\G'<br />
</code></p>
<h3>Useful Links</h3>
<p>This procedure has brought a previous 12 hour+ restore process down to 2 hours.<br />
<a href="http://www.percona.com/software/percona-toolkit" title="Percona Toolkit">Percona Toolkit</a><br />
<a href="http://www.percona.com/doc/percona-xtrabackup/innobackupex/innobackupex_script.html?id=percona-xtrabackup:innobackupex:start" title="Percona Innobackupex">Innobackupex</a></p>
<p>The post <a href="http://higherlogic.com.au/2013/mysql-innobackupex-ubuntu/">Innobackupex a faster MySQL re-slaving process (Ubuntu)</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2013/mysql-innobackupex-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vagrant + VirtualBox + Puppet on OSX (Rapid puppet testing)</title>
		<link>http://higherlogic.com.au/2013/vagrant-virtualbox-puppet-osx/</link>
		<comments>http://higherlogic.com.au/2013/vagrant-virtualbox-puppet-osx/#comments</comments>
		<pubDate>Sun, 27 Jan 2013 12:14:08 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[puppet testing]]></category>
		<category><![CDATA[vagrant]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=300</guid>
		<description><![CDATA[<p>Hello, I'm a massive fan of Puppet, its made my life so easy. At the same time Puppet is very powerful when you give it full control of your entire systems. One of the things thats been lacking in my environments has been the ability to quickly test Puppet code destined for production and see [...]</p><p>The post <a href="http://higherlogic.com.au/2013/vagrant-virtualbox-puppet-osx/">Vagrant + VirtualBox + Puppet on OSX (Rapid puppet testing)</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I'm a massive fan of Puppet, its made my life so easy. At the same time Puppet is very powerful when you give it full control of your entire systems. One of the things thats been lacking in my environments has been the ability to quickly test Puppet code destined for production and see how it fares. This is where Vagrant and VirtualBox comes in :D</p>
<h4>Quickly, quickly I need to be somewhere else</h4>
<p><code><br />
# (Optional) Homebrew which gives you access to useful packages.<br />
Download and install <a href="http://mxcl.github.com/homebrew/" title="Homebrew">Homebrew</a><br />
# VirtualBox which is kinda fundamental to this.<br />
Download and install <a href="https://www.virtualbox.org/wiki/Downloads" title="VirtualBox">VirtualBox</a><br />
# Installs vagrant, puppet and puppet-line (puppet style checker)<br />
sudo gem install vagrant puppet puppet-lint --no-ri --no-rdoc<br />
# Downloads a Ubuntu 12.04 LTS image to work off (google for your poison)<br />
sudo vagrant box add precise64 http://files.vagrantup.com/precise64.box<br />
# It also sets the correct permissions to run vagrant<br />
sudo chown -R localuser ~/.vagrant.d<br />
</code></p>
<p>I choose to install vagrant, puppet and co through gems because there's enough package management crap on my system as it is without me introducing more pain :)</p>
<h4>Can I do something now</h4>
<p><code><br />
# This is the folder you want to work one set of VM's out of<br />
mkdir vm_working_dir<br />
# Let Vagrant do some magic<br />
vagrant init<br />
# Edit the VagrantFile (see below)<br />
# Add a bash file (see below)<br />
</code></p>
<p>Add a bash file to setup basic stuff on my new 12.04 LTS<br />
<code><br />
#!/bin/bash<br />
hostname xxx<br />
apt-get update<br />
#apt-get upgrade -y<br />
apt-get -y install puppet<br />
</code></p>
<p>This is powerful because you can set the hostname to which ever box in production you would like to mimic/test.</p>
<p>Edit VagrantFile to look like this:<br />
<code><br />
# This refers which base image to use, our previous downloaded precise64<br />
Vagrant::Config.run do |config|<br />
  config.vm.box = "precise64"<br />
end</p>
<p># This can be any arbitary script covered above<br />
puppet binary e.g. apt-get install puppet<br />
config.vm.provision :shell do |sh|<br />
    sh.path = "base_setup.sh"<br />
end</p>
<p># I pointed module_path to my local modules folder.<br />
# I setup a custom facter fact to set vagrant variable (useful, more later).<br />
# I pointed the manifest file at the top level puppet file so it includes my whole tree.<br />
config.vm.provision :puppet, :facter => { "vagrant" => "true" }, :module_path => "~/puppet/modules" do |puppet|<br />
    puppet.manifests_path = "~/puppet/manifests"<br />
    puppet.manifest_file = "site.pp"<br />
end<br />
</code></p>
<h4>Lets fire this baby up...</h4>
<p><code><br />
cd vm_working_dir<br />
# starts up vagrant and new base image the very first time<br />
vagrant up<br />
# If your VagrantFile is correct, it will:<br />
# Copy the precise64 to start your local image<br />
# Setup fundamental networking<br />
# Run the bash script on it once its up<br />
# Run the node against my own puppet manifests based on its own hostname</p>
<p># once its all fired up<br />
vagrant ssh (this drops you onto the box)<br />
# Shuts down the box once you are done all state is preserved for later use<br />
vagrant halt<br />
</code></p>
<h4>Explain damn you!</h4>
<ul>I prefer running it just on my local puppet files rather than through another local puppet server + new server CA + new client cert + *vomit*...
</ul>
<ul>The reason I added my own Puppet facter fact is because you don't want your local vagrant box applying production network/security settings that might prevent "vagrant ssh" to work. </ul>
<ul>
Now that this is setup, you can just run Vagrant destroy + Vagrant up to build a box from base OS image.
</ul>
<ul>
If running a full base build is too time consuming and unnecessary just shutdown using vagrant halt and vagrant up to apply the latest changes...</ul>
<h3>Useful stuff</h3>
<p><code><br />
# This will start you up from scratch and destroy anything puppet and bash script did<br />
vagrant destroy<br />
# This will delete the image you downloaded...<br />
vagrant box remove precise64<br />
</code></p>
<ul>http://puppet-lint.com/</ul>
<ul>http://rspec-puppet.com/</ul>
<ul>Let me know if I've missed anything.</ul>
<p>When I get a chance i'll put up an article on puppet continuous build and release. I <3 Vagrant!</p>
<p>The post <a href="http://higherlogic.com.au/2013/vagrant-virtualbox-puppet-osx/">Vagrant + VirtualBox + Puppet on OSX (Rapid puppet testing)</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2013/vagrant-virtualbox-puppet-osx/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to use your Android phone as a pc</title>
		<link>http://higherlogic.com.au/2011/how-to-use-your-android-phone-as-a-pc/</link>
		<comments>http://higherlogic.com.au/2011/how-to-use-your-android-phone-as-a-pc/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 22:01:57 +0000</pubDate>
		<dc:creator>neverlosty</dc:creator>
				<category><![CDATA[New Toys!]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=277</guid>
		<description><![CDATA[<p>So for anyone who doesn't know, the Samsung Galaxy SII is quite possibly the world's sexiest phone. I'm in love with Android, and wouldn't have it any other way. I'm also a big proponent of mobile devices in general and believe they will supersede personal computers in the next 5 or so years. To test [...]</p><p>The post <a href="http://higherlogic.com.au/2011/how-to-use-your-android-phone-as-a-pc/">How to use your Android phone as a pc</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>So for anyone who doesn't know, the <a href="http://www.samsung.com/global/microsite/galaxys2">Samsung Galaxy SII</a> is quite possibly the world's sexiest phone.<br />
I'm in love with Android, and wouldn't have it any other way. </p>
<p>I'm also a big proponent of mobile devices in general and believe they will supersede personal computers in the next 5 or so years.<br />
To test my theory of how relevant this was, I used only my phone at home for 3 months. No PC or laptops.<br />
The result was... interesting. I was amazed at how much I could do, but my battery hated me.<br />
It now only lasts about 60% of what it used to brand new. This was quite easy to fix as I just bought a few new ones.</p>
<p>But the critical part of how I was able to do this was the use of a few clever gadgets. The crux of which is a new standard called <a href="http://en.wikipedia.org/wiki/Mobile_High-definition_Link">MHL</a>.<br />
It allows you to link your phone to your TV via a small cable which also has an adapter for the charger.<br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/mhl.jpg" rel="lightbox[pics277]" title="mhl"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/mhl.jpg" alt="mhl" width="150" height="150" class="attachment wp-att-278 alignleft" /></a><br />
With this little connector, you can blow your phone screen on to any size TV over HDMI, and watch full 1080p videos on it. It is thus also your entertainment centre... in your pocket.</p>
<p>I also acquired a Bluetooth keyboard and mouse which worked perfectly with the phone.<br />
You have many choices for the keyboard including an <a href="http://www.apple.com/uk/keyboard/">apple keyboard</a>, the fabulous <a href="http://www.logitech.com/en-gb/keyboards/keyboard/devices/3848">Logitech Dinovo mini</a> or various other ones from ebay.<br />
For the mouse, I chose a <a href="http://www.logitech.com/en-gb/mice-pointers/mice/devices/3287">Logitech V470</a>, but any Bluetooth mouse would have done fine.</p>
<p>This allowed me to play music, write documents, surf the web, and do pretty much anything I would normally do on a PC. Since Android also has support for flash, all websites render just fine on the device.</p>
<p>This opens some interesting doors for the future, and I'm very excited. Imagine having all your files in the cloud ready to be downloaded over high speed 4G internet anywhere you are. When you get to work, you plug your phone into your monitor and you are ready to go. Get home, plug it into your TV and watch a movie in 1080p, browse the net, and catch up with some friends. All your computing needs in the palm of your hand. We are so close. I can't wait.</p>
<p><a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6034.jpg" rel="lightbox[pics277]" title="IMG_6034"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6034.jpg" alt="IMG_6034" width="150" height="99" class="attachment wp-att-287 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6035.jpg" rel="lightbox[pics277]" title="IMG_6035"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6035.jpg" alt="IMG_6035" width="150" height="99" class="attachment wp-att-288 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6037.jpg" rel="lightbox[pics277]" title="IMG_6037"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6037.jpg" alt="IMG_6037" width="150" height="99" class="attachment wp-att-289 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6043.jpg" rel="lightbox[pics277]" title="IMG_6043"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6043.jpg" alt="IMG_6043" width="150" height="99" class="attachment wp-att-290 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6044.jpg" rel="lightbox[pics277]" title="IMG_6044"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6044.jpg" alt="IMG_6044" width="150" height="99" class="attachment wp-att-291 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6046.jpg" rel="lightbox[pics277]" title="IMG_6046"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6046.jpg" alt="IMG_6046" width="150" height="99" class="attachment wp-att-292 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6047.jpg" rel="lightbox[pics277]" title="IMG_6047"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6047.jpg" alt="IMG_6047" width="150" height="99" class="attachment wp-att-293 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6048.jpg" rel="lightbox[pics277]" title="IMG_6048"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6048.jpg" alt="IMG_6048" width="150" height="99" class="attachment wp-att-294 alignleft" /></a><br />
<a href="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6050.jpg" rel="lightbox[pics277]" title="IMG_6050"><img src="http://higherlogic.com.au/wp-content/uploads/2011/10/IMG_6050.jpg" alt="IMG_6050" width="150" height="99" class="attachment wp-att-295 alignleft" /></a></p>
<p>The post <a href="http://higherlogic.com.au/2011/how-to-use-your-android-phone-as-a-pc/">How to use your Android phone as a pc</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/how-to-use-your-android-phone-as-a-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First gen Macbook Air weak link</title>
		<link>http://higherlogic.com.au/2011/first-gen-macbook-air-weak-link/</link>
		<comments>http://higherlogic.com.au/2011/first-gen-macbook-air-weak-link/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 11:59:59 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=262</guid>
		<description><![CDATA[<p>Just spent a large part of tonight trying to figure out why my macbook air had spotty wifi connection... it was driving me insane! I finally tore it up and found two wires broken from the hinge body of the air. Manually joining the b0rked wire changed wifi condition from 50% packet drops to 900 [...]</p><p>The post <a href="http://higherlogic.com.au/2011/first-gen-macbook-air-weak-link/">First gen Macbook Air weak link</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Just spent a large part of tonight trying to figure out why my macbook air had spotty wifi connection... it was driving me insane!</p>
<p>I finally tore it up and found two wires broken from the hinge body of the air. Manually joining the b0rked wire changed wifi condition from 50% packet drops to 900 kb/s  rsync. Anybody know why the wifi wires are so thin? I'm thinking of soldering it back, but i'm worried about the thinness of the connections. Is there a better way?</p>
<p><a title="sky_view" rel="lightbox[pics262]" href="http://higherlogic.com.au/wp-content/uploads/2011/10/sky_view1.jpg"><img class="attachment wp-att-270 alignleft" src="http://higherlogic.com.au/wp-content/uploads/2011/10/sky_view1.jpg" alt="sky_view" width="150" height="112" /></a><a title="close_good_wire" rel="lightbox[pics262]" href="http://higherlogic.com.au/wp-content/uploads/2011/10/close_good_wire.jpg"><img class="attachment wp-att-272 alignleft" src="http://higherlogic.com.au/wp-content/uploads/2011/10/close_good_wire.jpg" alt="close_good_wire" width="112" height="150" /></a><a title="close_okay_wire" rel="lightbox[pics262]" href="http://higherlogic.com.au/wp-content/uploads/2011/10/close_okay_wire.jpg"><img class="attachment wp-att-273 alignleft" src="http://higherlogic.com.au/wp-content/uploads/2011/10/close_okay_wire.jpg" alt="close_okay_wire" width="112" height="150" /></a></p>
<p><a title="close_b0rked_wire" rel="lightbox[pics262]" href="http://higherlogic.com.au/wp-content/uploads/2011/10/close_b0rked_wire.jpg"><img class="attachment wp-att-271 alignleft" src="http://higherlogic.com.au/wp-content/uploads/2011/10/close_b0rked_wire.jpg" alt="close_b0rked_wire" width="112" height="150" /></a></p>
<p>Update: I soldiered it two lines today and full wireless strength now w00t!</p>
<p>The post <a href="http://higherlogic.com.au/2011/first-gen-macbook-air-weak-link/">First gen Macbook Air weak link</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/first-gen-macbook-air-weak-link/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New headphones!</title>
		<link>http://higherlogic.com.au/2011/new-headphones/</link>
		<comments>http://higherlogic.com.au/2011/new-headphones/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 21:53:49 +0000</pubDate>
		<dc:creator>neverlosty</dc:creator>
				<category><![CDATA[New Toys!]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=244</guid>
		<description><![CDATA[<p>After a 6 hour research marathon, I finally decided to plonk down for a pair of Etymotic Research hf2. I've now had them for a good week and have tried every pair of the 4 different buds that come with it. I went in knowing that it would be bass light, but great clarity on [...]</p><p>The post <a href="http://higherlogic.com.au/2011/new-headphones/">New headphones!</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>After a 6 hour research marathon, I finally decided to plonk down for a pair of <a href="http://www.etymotic.com/ephp/hf2.html">Etymotic Research hf2</a>.<br />
I've now had them for a good week and have tried every pair of the 4 different buds that come with it.</p>
<p>I went in knowing that it would be bass light, but great clarity on the high/mid end. But my logic was that if I want more bass, I can simply equalise it in.<br />
So.... not quite.</p>
<p>The good news is, it has utterly phenomenal clarity. Every breath, every word is "crisp" as ice. And the noise isolation is absolutely incredible. </p>
<p>I've used the ER's signature triple flange before so I'm very used to the incredible vacuum seal/noise isolation it creates.<br />
You will hear nothing of the outside world.... Seriously. Someone could be shouting in your face and you'll see their mouth moving, but no sound.</p>
<p>Now to the flaw in my super plan. The bass is... lacking. There, I said it.<br />
The first thing you see when you open the pack is this "warning! you must create a seal for bass"... which, I've clearly got, since pulling them out feels like I'm bringing a bit of my eardrums with it.<br />
But what about EQ?? Just pump up the lows you bass head!<br />
Well, I did, and to my dread I got mud. The lows go muddy as soon as you bump it up beyond about 10-15%. These were clearly not able to reproduce the lows at a significant level.<br />
I triple checked this by comparing the sound to my ageing <a href="http://www.sennheiser.co.uk/uk/home_en.nsf/root/private_headphones_classic-line_pxseries_502816">PX100</a> and my <a href="http://www.gradolabs.com/page_headphones.php?item=f4ba8830232696b5f580bd531134b668">Grados</a>.<br />
The result was that both of them produced the bass perfectly even with the lows jacked to the heavens.</p>
<p>To be honest, this was my own fault. I tried to have my cake and eat it too. There was simply no way a single driver in-ears was going to reproduce both crisp highs and deep lows. Something had to give.</p>
<p>So would I recommend them? Yes, somewhat. I'm still well within my refund period, but I'm definitely going to keep them.<br />
They are great for most songs and for audiobooks/podcasts, especially on the train.<br />
But I'll be using something else if I want alot of bass.... maybe I'll go try a pair of Shures.</p>
<p>TL;DR - Fantastic highs/mids, excellent noise isolation, poor/muddy lows. 8/10</p>
<p>The post <a href="http://higherlogic.com.au/2011/new-headphones/">New headphones!</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/new-headphones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment strategy and symbolic links</title>
		<link>http://higherlogic.com.au/2011/deployment-strategy-and-symbolic-links/</link>
		<comments>http://higherlogic.com.au/2011/deployment-strategy-and-symbolic-links/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 18:29:05 +0000</pubDate>
		<dc:creator>neverlosty</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Infrastructure]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=227</guid>
		<description><![CDATA[<p>Here's a quick neat idea involving using symbolic links on a production environment. A most basic deployment strategy usually involves taking your site down, upgrading your database/files either manually or through svn. Some more sophisticated strategies may involve tools such as phing (for php). But there can be some problems, most of all the fact [...]</p><p>The post <a href="http://higherlogic.com.au/2011/deployment-strategy-and-symbolic-links/">Deployment strategy and symbolic links</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Here's a quick neat idea involving using symbolic links on a production environment.</p>
<p>A most basic deployment strategy usually involves taking your site down, upgrading your database/files either manually or through svn.<br />
Some more sophisticated strategies may involve tools such as <a href="http://www.phing.info">phing</a> (for php).</p>
<p>But there can be some problems, most of all the fact that the site might have to be down while maintenance is going on.</p>
<p>A better way to do this is to have your production environment sit on a symbolic link.<br />
You can then deploy the new version to an entirely new directory and test it to make sure everything is fine, and then instantly switch the symbolic link to the new version when you are ready to release it.<br />
If the flak hits the fan and you need to revert back, simply point the sym-link back to the original directory.</p>
<p>For example, lets say your site is currently on version 1.4, and you are upgrading to 1.5. The files might be here<br />
/var/sites/mysite/version1.4/</p>
<p>Now copy everything from the above directory into:<br />
/var/sites/mysite/version1.5/</p>
<p>Do your normal release strategy on this new directory.</p>
<p>Your symbolic link might looks something like:<br />
/var/www/vhosts/mysite.com   ->   /var/sites/mysite/version1.4<br />
/var/www/vhosts/staging.mysite.com   ->   /var/sites/mysite/version1.5</p>
<p>Once you are happy to do the switch, simply point the link to the same place as your staging environment<br />
/var/www/vhosts/mysite.com   ->   /var/sites/mysite/version1.5</p>
<p>Just doing this is great for mostly read only content and no database changes.<br />
Next up I'll write up something which deals with database changes and how to have a site that never goes down, even when complicated maintenance is required.</p>
<p>The post <a href="http://higherlogic.com.au/2011/deployment-strategy-and-symbolic-links/">Deployment strategy and symbolic links</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/deployment-strategy-and-symbolic-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple host-based firewall Ubuntu style</title>
		<link>http://higherlogic.com.au/2011/simple-host-based-firewall-ubuntu-style/</link>
		<comments>http://higherlogic.com.au/2011/simple-host-based-firewall-ubuntu-style/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 12:14:09 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=222</guid>
		<description><![CDATA[<p>Tired of pesky port scans? Just want to deploy a firewall for the heck of it? Like that added layer of protection? Whatever your reason lets do a simple one. Here a version where it includes a persistent ruleset and integration with your Ubuntu startup. For me personally I tend to deploy iptables firewall for [...]</p><p>The post <a href="http://higherlogic.com.au/2011/simple-host-based-firewall-ubuntu-style/">Simple host-based firewall Ubuntu style</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Tired of pesky port scans? Just want to deploy a firewall for the heck of it? Like that added layer of protection? Whatever your reason lets do a simple one. Here a version where it includes a persistent ruleset and integration with your Ubuntu startup.</p>
<p>For me personally I tend to deploy iptables firewall for simple host-based firewall, e.g. just blocking stuff and making sure no one tries too many things on your server. For something more complicated I prefer to use shorewall (thats another write up for another day :)</p>
<h2>Show me the bacon</h2>
<p>New Script: /etc/init.d/firewall (something simple for start stop and reload)<br />
This is a pretty simple script all it needs to run is the actual firewall rules in "/etc/default/firewall".</p>
<p><code><br />
#! /bin/sh<br />
### BEGIN INIT INFO<br />
# Provides:          Firewall<br />
# Required-Start:    $network<br />
# Required-Stop:<br />
# Default-Start:<br />
# Default-Stop:<br />
# Short-Description: Start/stop Firewall<br />
### END INIT INFO</code></p>
<p><code>test -r /etc/default/firewall || exit 0</p>
<p>case "$1" in<br />
start)<br />
echo -n "Starting Firewall Services"<br />
/sbin/iptables-restore &lt; /etc/default/firewall<br />
;;<br />
stop)<br />
echo -n "Stopping Clearing Firewall Rules"<br />
/sbin/iptables -F<br />
/sbin/iptables -X<br />
/sbin/iptables -t nat -F<br />
/sbin/iptables -t nat -X<br />
/sbin/iptables -t mangle -F<br />
/sbin/iptables -t mangle -X<br />
/sbin/iptables -P INPUT ACCEPT<br />
/sbin/iptables -P FORWARD ACCEPT<br />
/sbin/iptables -P OUTPUT ACCEPT<br />
;;<br />
restart|reload)<br />
echo -n "Restarting Firewall Services"<br />
/sbin/iptables-restore &lt; /etc/default/firewall<br />
;;<br />
*)<br />
echo "Usage: /etc/init.d/firewall {start|stop|restart|reload}"<br />
exit 1<br />
esac</p>
<p></code></p>
<p><code>echo<br />
exit 0<br />
</code></p>
<p>The actual firewall rules, this one is up to you but here's a simple version allowing only DNS and WEB traffic on the inbound and everything on the outbound. Store it under "/etc/default/firewall"<br />
<code><br />
# Generated by iptables-save on Mon Feb  7 19:05:46 2011<br />
*nat<br />
:PREROUTING ACCEPT [2:307]<br />
:OUTPUT ACCEPT [0:0]<br />
:POSTROUTING ACCEPT [0:0]<br />
COMMIT<br />
# Completed on Mon Feb  7 19:05:46 2011<br />
# Generated by iptables-save on Mon Feb  7 19:05:46 2011<br />
*mangle<br />
:PREROUTING ACCEPT [48:3929]<br />
:INPUT ACCEPT [48:3929]<br />
:FORWARD ACCEPT [0:0]<br />
:OUTPUT ACCEPT [22:2312]<br />
:POSTROUTING ACCEPT [22:2312]<br />
COMMIT<br />
# Completed on Mon Feb  7 19:05:46 2011<br />
# Generated by iptables-save on Mon Feb  7 19:05:46 2011<br />
*filter<br />
:INPUT DROP [2:513]<br />
:FORWARD DROP [0:0]<br />
:OUTPUT DROP [0:0]<br />
:FILTER - [0:0]<br />
-A INPUT -i lo -j ACCEPT<br />
-A INPUT -i eth0 -p icmp -j ACCEPT<br />
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT<br />
-A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT<br />
-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT<br />
-A INPUT -i eth0 -p tcp -m multiport --dports 80,443 -j ACCEPT<br />
-A OUTPUT -o lo -j ACCEPT<br />
-A OUTPUT -o eth0 -j ACCEPT<br />
COMMIT<br />
# Completed on Mon Feb  7 19:05:46 2011<br />
</code></p>
<h2>Now apply the varnish</h2>
<p><code><br />
# Make it executable<br />
chmod +x /etc/init.d/firewall<br />
# Add it to the startup levels<br />
sudo update-rc.d firewall defaults<br />
</code></p>
<h2>Kick the tire</h2>
<p><code><br />
# If you are at the console and aren't afraid of your firewall rules locking you out<br />
sudo /etc/init.d/firewall reload<br />
sudo iptables -L -n # check that its loaded<br />
# If you are over a ssh session and you are afraid of being dropped, this way you only get dropped for 10 seconds if you stuff up :)<br />
screen<br />
sudo /etc/init.d/firewall reload &amp;&amp; sleep 10 &amp;&amp; sudo /etc/init.d/firewall stop<br />
</code></p>
<p>The post <a href="http://higherlogic.com.au/2011/simple-host-based-firewall-ubuntu-style/">Simple host-based firewall Ubuntu style</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/simple-host-based-firewall-ubuntu-style/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reverse DNS wall using DJBDNS</title>
		<link>http://higherlogic.com.au/2011/reverse-dns-wall-using-djbdns/</link>
		<comments>http://higherlogic.com.au/2011/reverse-dns-wall-using-djbdns/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 12:33:43 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[djbdns]]></category>
		<category><![CDATA[dnswall]]></category>
		<category><![CDATA[reverse dns]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=215</guid>
		<description><![CDATA[<p>Another DNS post yay! Out of all aspects of DNS services this one is used least. So whats a reverse DNS wall? You know reverse DNS? thats where you look up an IP address and get the name associated as opposed to the other way round. Now "some" special needs servers on the internet (FTP, [...]</p><p>The post <a href="http://higherlogic.com.au/2011/reverse-dns-wall-using-djbdns/">Reverse DNS wall using DJBDNS</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Another DNS post yay! Out of all aspects of DNS services this one is used least. So whats a reverse DNS wall? You know reverse DNS? thats where you look up an IP address and get the name associated as opposed to the other way round.</p>
<p>Now "some" special needs servers on the internet (FTP, SSH) like to do a reverse resolve of the incoming IP and block based upon the result. Some even rarer server would then would do a A record check on the reverse to make sure that matches the originating IP.</p>
<p>Lets say I have a whole bunch of computers that don't have DNS names, not now, not ever, how do they connect to these pesky services? Tell the service provide to stop be daft! Once you recover from the slap they gave you then setup our own reverse DNS wall. When queried these things will respond with the good stuff and take you to the promise land!</p>
<p><code><br />
# Install<br />
apt-get install daemontools daemontools-run ucspi-tcp djbdns<br />
adduser --no-create-home --disabled-login --shell /bin/false walldns</code></p>
<p><code># Config<br />
walldns-conf walldns dnslog /etc/walldns 1.2.3.4<br />
mkdir /etc/service ; cd /etc/service ; ln -sf /etc/walldns/</code></p>
<p><code> </code></p>
<p><code># Start and Test<br />
initctl start svscan<br />
# Checking status<br />
svstat /etc/service/walldns<br />
# Shutting down<br />
svc -d /etc/service/walldns<br />
# Starting up<br />
svc -u /etc/service/walldns</code></p>
<p>Now get the upstream hosters of your IP address delegate the reverse zone to your server and you are good to go.</p>
<p>The post <a href="http://higherlogic.com.au/2011/reverse-dns-wall-using-djbdns/">Reverse DNS wall using DJBDNS</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/reverse-dns-wall-using-djbdns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Chrome Extensions</title>
		<link>http://higherlogic.com.au/2011/useful-chrome-extensions/</link>
		<comments>http://higherlogic.com.au/2011/useful-chrome-extensions/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 13:14:38 +0000</pubDate>
		<dc:creator>Mark Liu</dc:creator>
				<category><![CDATA[New Toys!]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://higherlogic.com.au/?p=203</guid>
		<description><![CDATA[<p>I thought I jot down a whole bunch of awesome chrome extensions which has made my life easy: AdBlock - The grand daddy of all extensions :) Chrome to Phone - If you have an Android phone this is a easy and painless way to send a link direct to your Android's browser Instapaper - [...]</p><p>The post <a href="http://higherlogic.com.au/2011/useful-chrome-extensions/">Useful Chrome Extensions</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>I thought I jot down a whole bunch of awesome chrome extensions which has made my life easy:</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/gighmmpiobklfepjocnamgkkbiglidom">AdBlock</a> - </strong>The grand daddy of all extensions :)</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/oadboiipflhobonjjffjbfekfjcgkhco?hl=en-US">Chrome to Phone</a></strong> - If you have an Android phone this is a easy and painless way to send a link direct to your Android's browser</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/pjalnmnmioafeenidfbjkghaglaenjbp?hl=en-US"> Instapaper</a> </strong>- For those of you who read Instapaper, this takes all the hassle out of adding pages</p>
<p><strong> 1Password </strong>- Install this one through your 1Password's settings. This is a life saver, a single place for all my passwords and secret information, one click login to any website.</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/nmameahlembdcigphohgiodcgjomcgeo">Official Facebook Extension</a> </strong>- Enough said.</p>
<p><a href="https://chrome.google.com/webstore/detail/dbpojpfdiliekbbiplijcphappgcgjfn"><strong>Ultimate Chrome Flag</strong></a> - I stumbled across this extension and boy is it a gem! It tells you lots of useful information about the website you are currently visiting like country, IP address, Google page rank, geo location and trust rating.</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/lhgkegeccnckoiliokondpaaalbhafoa">IP Address Information</a> </strong>- Great extension for those of us that are interested in a bit of networking. Everything you want, DNS, Reverse DNS, ASN, Spam block lists you name it its just plain awesome.</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/cpngackimfmofbokmjmljamhdncknpmg">Screen Capture (by Google)</a></strong> - take all those shiney pics of whats inside your tabs</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/dmglolhoplikcoamfgjgammjbgchgjdd">Google Tasks (by Google)</a> </strong>- Nice embedded way to access your tasks that sits with Google Calendar.</p>
<p><span style="text-decoration: underline;"><span style="text-decoration: line-through;"><strong><a href="https://chrome.google.com/webstore/detail/gmbgaklkmjakoegficnlkhebmhkjfich?hl=en-US">Google Calendar (by Google)</a></strong> - Nice way to see whats coming in your Google calendar.</span></span> I found it a little too cumbersome and no quick way of getting to my actual calendar.</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/ookhcbgokankfmjafalglpofmolfopek">Google Calendar Checker (by Google)</a> </strong>- Same as above but it acts as an instant jump to your calendar.</p>
<p><a href="https://chrome.google.com/webstore/detail/aapbdbdomjkkjkaonfhkkikfgjllcleb?hl=en-US"><strong>Google Translate (by Google)</strong></a> - If you view foreign language pages with any frequency this one will save you some hassle.</p>
<p><strong><a href="https://chrome.google.com/webstore/detail/idaeealfhcijmeigljaopafdapgijdcb?hl=en-US">Google Share Button (by Google)</a> </strong>- If you're a share-a-holic this is great :D</p>
<p>Do you have any favourite extensions? I would love to try it and put it on.</p>
<p>The post <a href="http://higherlogic.com.au/2011/useful-chrome-extensions/">Useful Chrome Extensions</a> appeared first on <a href="http://higherlogic.com.au">Higher Logic</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://higherlogic.com.au/2011/useful-chrome-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 918/1099 objects using disk: basic

 Served from: higherlogic.com.au @ 2013-05-26 05:47:17 by W3 Total Cache -->