<?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>dragffy.com &#187; Programming</title>
	<atom:link href="http://dragffy.com/blog/posts/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Patched Python Paramiko 1.7.7.1 Windows 32 and 64 bit installers</title>
		<link>http://dragffy.com/blog/posts/patched-python-paramiko-1-7-7-1-windows-32-and-64-bit-installers</link>
		<comments>http://dragffy.com/blog/posts/patched-python-paramiko-1-7-7-1-windows-32-and-64-bit-installers#comments</comments>
		<pubDate>Wed, 16 Nov 2011 11:16:57 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=186</guid>
		<description><![CDATA[Taking the Latest code from Robey the Paramiko maintainer and applying a patch submitted by Jaraco at: https://github.com/jaraco/paramiko/commit/1939b1c55270bf7a92fdb1d43208a3b65342f4b2 these builds of Paramiko will not suffer from the following Exception: File "C:\Python27\lib\site-packages\paramiko\agent.py", line 118, in _read_all raise SSHException('lost ssh-agent') SSHException: lost ssh-agent Most notably the 64bit version will not suffer this problem, the 32bit versions never [...]]]></description>
			<content:encoded><![CDATA[<p>Taking the Latest code from Robey the Paramiko maintainer and applying a patch submitted by Jaraco at:<br />
<a href="https://github.com/jaraco/paramiko/commit/1939b1c55270bf7a92fdb1d43208a3b65342f4b2">https://github.com/jaraco/paramiko/commit/1939b1c55270bf7a92fdb1d43208a3b65342f4b2</a><br />
these builds of Paramiko will not suffer from the following Exception:<br />
<code>  File "C:\Python27\lib\site-packages\paramiko\agent.py", line 118, in _read_all<br />
    raise SSHException('lost ssh-agent')<br />
SSHException: lost ssh-agent</code></p>
<p>Most notably the 64bit version will not suffer this problem, the 32bit versions never did. More details on the issue can be found here:<br />
<a href="https://bugs.launchpad.net/bzr/+bug/644995">https://bugs.launchpad.net/bzr/+bug/644995</a><br />
and here:<br />
<a href="https://bugs.launchpad.net/paramiko/+bug/736955">https://bugs.launchpad.net/paramiko/+bug/736955</a></p>
<p>32bit Installer:<br />
<a href='http://dragffy.com/blog/wp-content/uploads/2011/11/paramiko-1.7.7.1.win32_Jaraco_patch.exe'>paramiko-1.7.7.1.win32_Jaraco_patch</a></p>
<p>64bit Version for Windows and Python 64bit (AMD/Intel):<br />
<a href='http://dragffy.com/blog/wp-content/uploads/2011/11/paramiko-1.7.7.1.win-amd64_Jaraco_patch.exe'>paramiko-1.7.7.1.win-amd64_Jaraco_patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/patched-python-paramiko-1-7-7-1-windows-32-and-64-bit-installers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python PyCrypto 2.4.1 32 and 64 bit Windows 32/x64 AMD/Intel Installers Python 2.7</title>
		<link>http://dragffy.com/blog/posts/ython-pycrypto-2-4-1-32-and-64-bit-windows-32x64-amdintel-installers</link>
		<comments>http://dragffy.com/blog/posts/ython-pycrypto-2-4-1-32-and-64-bit-windows-32x64-amdintel-installers#comments</comments>
		<pubDate>Mon, 14 Nov 2011 14:33:06 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=180</guid>
		<description><![CDATA[Python PyCrypto 2.4.1 64bit and 32 bit Windows x64 AMD/Intel Installer. Frustrated that there were only 32 bit builds available. I compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit. 32 bit version: pycrypto-2.4.1.win32-py2.7 64 bit version for x64 Python installs on 64bit Windows pycrypto-2.4.1.win-amd64-py2.7]]></description>
			<content:encoded><![CDATA[<p>Python PyCrypto 2.4.1 64bit and 32 bit Windows x64 AMD/Intel Installer.</p>
<p>Frustrated that there were only 32 bit builds available. I compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit.</p>
<p>32 bit version:<br />
<a href='http://dragffy.com/blog/wp-content/uploads/2011/11/pycrypto-2.4.1.win32-py2.7.exe'>pycrypto-2.4.1.win32-py2.7</a></p>
<p>64 bit version for x64 Python installs on 64bit Windows<br />
<a href='http://dragffy.com/blog/wp-content/uploads/2011/11/pycrypto-2.4.1.win-amd64-py2.7.exe'>pycrypto-2.4.1.win-amd64-py2.7</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/ython-pycrypto-2-4-1-32-and-64-bit-windows-32x64-amdintel-installers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python paramiko 1.7.7.1 Windows 32 and 64 bit installers</title>
		<link>http://dragffy.com/blog/posts/python-paramiko-1-7-7-1-windows-32-and-64-bit-installers</link>
		<comments>http://dragffy.com/blog/posts/python-paramiko-1-7-7-1-windows-32-and-64-bit-installers#comments</comments>
		<pubDate>Mon, 14 Nov 2011 14:02:18 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=176</guid>
		<description><![CDATA[For your convenience. Please find below installers for 32 and 64 bit versions. Works with Python 2.7. Choose the correct installer for your Python installation. paramiko-1.7.7.1.win32 paramiko-1.7.7.1.win-amd64]]></description>
			<content:encoded><![CDATA[<p>For your convenience. Please find below installers for 32 and 64 bit versions. Works with Python 2.7. Choose the correct installer for your Python installation.</p>
<p><a href='http://dragffy.com/blog/wp-content/uploads/2011/11/paramiko-1.7.7.1.win32.exe'>paramiko-1.7.7.1.win32</a></p>
<p><a href='http://dragffy.com/blog/wp-content/uploads/2011/11/paramiko-1.7.7.1.win-amd64.exe'>paramiko-1.7.7.1.win-amd64</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/python-paramiko-1-7-7-1-windows-32-and-64-bit-installers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python PyCrypto 2.0.1 64bit Windows x64 AMD/Intel Installer</title>
		<link>http://dragffy.com/blog/posts/python-pycrypto-2-0-1-64bit-windows-x64-amdintel-installer</link>
		<comments>http://dragffy.com/blog/posts/python-pycrypto-2-0-1-64bit-windows-x64-amdintel-installer#comments</comments>
		<pubDate>Mon, 14 Nov 2011 13:55:59 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=172</guid>
		<description><![CDATA[Python pycrypto-2.0.1.win-amd64-py2.7.exe 64bit Windows x64 AMD/Intel Installer. Frustrated that there were only 32 bit builds available. I compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit. pycrypto-2.0.1.win-amd64-py2.7]]></description>
			<content:encoded><![CDATA[<p>Python pycrypto-2.0.1.win-amd64-py2.7.exe 64bit Windows x64 AMD/Intel Installer.</p>
<p>Frustrated that there were only 32 bit builds available. I compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit.</p>
<p><a href='http://dragffy.com/blog/wp-content/uploads/2011/11/pycrypto-2.0.1.win-amd64-py2.7.exe'>pycrypto-2.0.1.win-amd64-py2.7</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/python-pycrypto-2-0-1-64bit-windows-x64-amdintel-installer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python setuptools 0.6c11 64bit Windows x64 AMD/Intel Installer</title>
		<link>http://dragffy.com/blog/posts/python-setuptools-0-6c11-64bit-windows-x64-amdintel-installer</link>
		<comments>http://dragffy.com/blog/posts/python-setuptools-0-6c11-64bit-windows-x64-amdintel-installer#comments</comments>
		<pubDate>Mon, 14 Nov 2011 13:51:52 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=169</guid>
		<description><![CDATA[Found 32 bit versions knocking about but no 64bit, thought some like-minded people might appreciate a 64 bit build. Have compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit. setuptools-0.6c11.win-amd64]]></description>
			<content:encoded><![CDATA[<p>Found 32 bit versions knocking about but no 64bit, thought some like-minded people might appreciate a 64 bit build. Have compiled and tested this as working using Python 2.7.2 64 bit running on Windows 7 64bit.<br />
<a href='http://dragffy.com/blog/wp-content/uploads/2011/11/setuptools-0.6c11.win-amd64.exe'>setuptools-0.6c11.win-amd64</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/python-setuptools-0-6c11-64bit-windows-x64-amdintel-installer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>selecting in to a same table in mysql</title>
		<link>http://dragffy.com/blog/posts/selecting-in-to-a-same-table-in-mysql</link>
		<comments>http://dragffy.com/blog/posts/selecting-in-to-a-same-table-in-mysql#comments</comments>
		<pubDate>Fri, 19 Nov 2010 15:42:02 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=150</guid>
		<description><![CDATA[create temporary table XYZ select * from category_to_store where store_id = 0 ; insert into category_to_store select category_id, 1 from XYZ ;]]></description>
			<content:encoded><![CDATA[<p>create temporary table XYZ<br />
select * from category_to_store where store_id = 0<br />
;<br />
insert into category_to_store<br />
select category_id, 1 from XYZ<br />
;</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/selecting-in-to-a-same-table-in-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Effectively repair MySQL Tables</title>
		<link>http://dragffy.com/blog/posts/effectively-repair-mysql-tables</link>
		<comments>http://dragffy.com/blog/posts/effectively-repair-mysql-tables#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:23:44 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=148</guid>
		<description><![CDATA[$ cd /var/lib/mysql find -type f -name '*.MYI' -exec myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M {} \;]]></description>
			<content:encoded><![CDATA[<p><code>$ cd /var/lib/mysql</code></p>
<p><code>find -type f -name '*.MYI' -exec myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M {} \;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/effectively-repair-mysql-tables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access denied for user &#8216;debian-sys-maint&#8217;@&#039;localhost&#8217; (using password: YES)</title>
		<link>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes</link>
		<comments>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:26:59 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=146</guid>
		<description><![CDATA[Find your debian-sys-maint password in /etc/mysql/debian.cnf. GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY ' ' WITH GRANT OPTION; Replace with your debian-sys-maint password.]]></description>
			<content:encoded><![CDATA[<p>Find your debian-sys-maint password in <code>/etc/mysql/debian.cnf.</p>
<p></code><code>GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '
<password>' WITH GRANT OPTION;</password></code></p>
<p>Replace <code>
<password></password></code> with your debian-sys-maint password.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a PHP array of ISO 3166-1 Country Codes</title>
		<link>http://dragffy.com/blog/posts/creating-a-php-array-of-iso-3166-1-country-codes</link>
		<comments>http://dragffy.com/blog/posts/creating-a-php-array-of-iso-3166-1-country-codes#comments</comments>
		<pubDate>Thu, 07 Jan 2010 09:42:04 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=142</guid>
		<description><![CDATA[I recently came across http://opencountrycodes.appspot.com/ which has an ISO 3166-1 list of country codes for various programming languages. I wanted to generate an HTML drop down list for customer to choose from based on these codes. However, there is no PHP version provoided. So taking the XML version found at http://opencountrycodes.appspot.com/xml/ I made a trivial [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across http://opencountrycodes.appspot.com/ which has an ISO 3166-1 list of country codes for various programming languages. I wanted to generate an HTML drop down list for customer to choose from based on these codes. However, there is no PHP version provoided. So taking the XML version found at http://opencountrycodes.appspot.com/xml/ I made a trivial script that would take the codes found in the XML document and organise them in to a PHP array called $XML2PHPCountryCodes and save that array in a file called country_names.php. The output file can then be included in any PHP script making the contained array available.</p>
<pre>
< ?php
$str = file_get_contents('http://opencountrycodes.appspot.com/xml/');
$xml = new SimpleXMLElement($str);
$out = '$countries'." = array(\n";
foreach ($xml->country as $country)
{
	$out .= "'{$country['code']}' => \"{$country['name']}\",\n";
}
$out .= ");";

file_put_contents('country_names.php', $out);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/creating-a-php-array-of-iso-3166-1-country-codes/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bzr over SMB/CIFS using SMBMOUNT</title>
		<link>http://dragffy.com/blog/posts/bzr-over-smbcifs-using-smbmount</link>
		<comments>http://dragffy.com/blog/posts/bzr-over-smbcifs-using-smbmount#comments</comments>
		<pubDate>Wed, 16 Sep 2009 11:55:10 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Bazaar]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=138</guid>
		<description><![CDATA[Ensure that the remote uig and gid are set correctly! smbmount //foo/bar /media/bar -o username=myusername, password=mypassword, dir_mode=0755, file_mode=0664, noperm, uid=501, gid=501]]></description>
			<content:encoded><![CDATA[<p>Ensure that the remote uig and gid are set correctly!</p>
<p>smbmount //foo/bar /media/bar -o username=myusername, password=mypassword, dir_mode=0755, file_mode=0664, noperm, uid=501, gid=501</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/bzr-over-smbcifs-using-smbmount/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

