<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Bits n Bobs</title>
	<link>http://www.alwayssunny.com/blog</link>
	<description>Probably of no interest to anyone other than me</description>
	<lastBuildDate>Tue, 25 May 2010 13:11:30 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Actionscript 2 with UTF8 and BOM</title>
		<description><![CDATA[This none has had me baffled for a while&#8230;.
My AS2 source code files are all UTF-8. However in one of these i have extended characters (its a function that strips accents and the like from a text string).
With MTASC compiler this was working just fine but with the MMC compiler String.indexOf does not work.
After some [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=201</link>
			</item>
	<item>
		<title>Right click on HP Mini with Ubuntu UNR</title>
		<description><![CDATA[Just bought a notebook: HP Mini 210-1015es. 
Installing Ubuntu Network Remix was a doddle however it has the mouse buttons integrated into the touch pad and they don&#8217;t get recognized.
This is not a problem for the left click since you can just tap the pad however there was no right click.
You can activate the right [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=195</link>
			</item>
	<item>
		<title>Setting up developer permissions on apache</title>
		<description><![CDATA[I&#8217;m administrating a small server that hosts various web sites on an apache. Each web site has a group of developers who update their sites via ssh or sftp.
I needed to set up their permissions so that only the developers of each site and the apache user (www-data) could modify their sites files.
Each site is [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=190</link>
			</item>
	<item>
		<title>Debian Java Socket Problems and IPV6</title>
		<description><![CDATA[After my last system update all java code that attempted to connect to remote sockets started failing. Having tried everything, including pulling my hair out, i finally found the solution here
There are two solutions
1) Set bindv6only to 0
sudo sysctl net.ipv6.bindv6only=0
2) Everywhere you start a virtual machine (tomcat, eclipse, maven etc) pass a vm parameter
-Djava.net.preferIPv4Stack=true
]]></description>
		<link>http://www.alwayssunny.com/blog/?p=188</link>
			</item>
	<item>
		<title>Using limit in mysql join</title>
		<description><![CDATA[Just found myself in the scenario of needing to join two tables which have a 1 &#8211; n relationship. In the second table i only wanted to return the first two results.
This is one way to do it.

SELECT
    f1.col1,
    f1.col2
FROM foo f1
LEFT JOIN foo f2 ON f2.col2 = f1.col2 [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=186</link>
			</item>
	<item>
		<title>Import Git to Subversion</title>
		<description><![CDATA[There are lots of docs out there for how to use git-svn starting with a subversion repository that already exists, however not so many if you are starting with a git repository that you want to import into subversion.
I still consider myself a beginner with git but here is how i managed it.
1) Create and [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=185</link>
			</item>
	<item>
		<title>GIT: Setting up new remote repo</title>
		<description><![CDATA[This is quick reminder for me of an excellent article from Toolman Tim.
Set up the new bare repo on the server:
$ ssh myserver.com
Welcome to myserver.com!
$ mkdir /var/git/myapp.git &#038;&#038; cd /var/git/myapp.git
$ git --bare init
Initialized empty Git repository in /var/git/myapp.git
$ exit
Bye!

Add the remote repository to your existing local git repo and push:
$ cd ~/Sites/myapp
$ git remote add [...]]]></description>
		<link>http://www.alwayssunny.com/blog/?p=184</link>
			</item>
	<item>
		<title>Using spaces in fstab</title>
		<description><![CDATA[I frequently have to mount windows file systems that have spaces in their names.
If you put something like//path/to/windows/file system /local/mount/pointin ftstab it complains with
line XX in /etc/fstab is bad
The solution is to use the escape code \040 instead of the space//path/to/windows/file\040system /local/mount/point
]]></description>
		<link>http://www.alwayssunny.com/blog/?p=182</link>
			</item>
	<item>
		<title>Allowing remote access to MySQL server on Debian</title>
		<description><![CDATA[By default MySQL on Debian is configured to only allow local access. If you try to access from another machine you will get the following error:
Can&#8217;t connect to MySQL on  (10061)
In order to allow remote access you must edit /etc/init.d/my.cnf and change the bind address from 127.0.0.1 to your local ip address.
]]></description>
		<link>http://www.alwayssunny.com/blog/?p=183</link>
			</item>
	<item>
		<title>List all files in directory tree by modification date</title>
		<description><![CDATA[ find app -type f -printf "%T@\t%t\t%p\n" &#124; sort -r -n
]]></description>
		<link>http://www.alwayssunny.com/blog/?p=181</link>
			</item>
</channel>
</rss>
