<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>The Harmonious Programmer</title>
	
	<link>http://blog.maestropublishing.com</link>
	<description>Covering a symphony of technical and sometimes off-topic subjects</description>
	<lastBuildDate>Thu, 25 Apr 2013 00:04:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain="blog.maestropublishing.com" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Harmonious Programmer</title>
		<link>http://blog.maestropublishing.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.maestropublishing.com/osd.xml" title="The Harmonious Programmer" />
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheHarmoniousProgrammer" /><feedburner:info uri="theharmoniousprogrammer" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://blog.maestropublishing.com/?pushpress=hub" /><item>
		<title>Twitter Bootstrap JS: Using ButtonGroup (radio type) selected button in a form</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/DUGih-4Opuc/</link>
		<comments>http://blog.maestropublishing.com/2013/04/24/twitter-bootstrap-js-using-buttongroup-selected-button-in-a-form/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 23:31:44 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Twitter Bootstrap]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=279</guid>
		<description><![CDATA[This is the function that we use to watch which buttons have been activated in a Twitter Bootstrap `buttonGroup` of a radio type.  You need to have a hidden form field so the function can put the values from the selected buttons in there for your form post. Using it is as simple as adding [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=279&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is the function that we use to watch which buttons have been activated in a Twitter Bootstrap `buttonGroup` of a radio type.  You need to have a hidden form field so the function can put the values from the selected buttons in there for your form post.</p>
<p>Using it is as simple as adding this to your document ready of your page.  The first argument of the function call is the id of the `buttonGroup` and the second argument is the id of the hidden input where the function will store the values of the activated buttons:</p>
<pre>    $(document).ready(function() {
        watchButtonsRadio('#utilitiesLocatedBtnGroup', '#utilities_located');
    });</pre>
<p>Add this function to the general or utility JS file that is loaded on every page:</p>
<pre>function watchButtonsRadio(buttonGroup, hiddenInput) {
    $('button', $(buttonGroup)).each(function() {

        var originalValue = $(hiddenInput).val();

        //Convert booleans to numeric
        if (originalValue == 'true') {
            originalValue = 1;
        } else if (originalValue == 'false') {
            originalValue = 0;
        }

        if ($(this).val() == originalValue) {
            $(this).trigger('click');
        }

        $(this).live('click', function() {
            // Hidden by default doesn't trigger the change event so manually fire it
            $(hiddenInput).val($(this).val()).change();
            console.log(hiddenInput + ': ' + $(hiddenInput).val());
        });
    });
}</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=279&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/DUGih-4Opuc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/04/24/twitter-bootstrap-js-using-buttongroup-selected-button-in-a-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/04/24/twitter-bootstrap-js-using-buttongroup-selected-button-in-a-form/</feedburner:origLink></item>
		<item>
		<title>Judgemental Maps: Minneapolis</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/JdqLxKn-VWE/</link>
		<comments>http://blog.maestropublishing.com/2013/04/23/judgement-maps-minneapolis/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 02:23:31 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Minneapolis]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/2013/04/23/judgement-maps-minneapolis/</guid>
		<description><![CDATA[So true in many ways!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=274&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://judgmentalmaps.com/post/48615076593/minneapolis"><img class="size-full" alt="Judgement Maps: Minneapolis" src="http://maepub.files.wordpress.com/2013/04/tumblr_mhz56ec6mm1s4df8ko1_1280.jpg?w=520" /></a></p>
<p>So true in many ways!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=274&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/JdqLxKn-VWE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/04/23/judgement-maps-minneapolis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>

		<media:content url="http://maepub.files.wordpress.com/2013/04/tumblr_mhz56ec6mm1s4df8ko1_1280.jpg" medium="image">
			<media:title type="html">Judgement Maps: Minneapolis</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/04/23/judgement-maps-minneapolis/</feedburner:origLink></item>
		<item>
		<title>Tomcat7 Service Start/Stop Script</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/B4a9EJKFsw8/</link>
		<comments>http://blog.maestropublishing.com/2013/04/23/tomcat7-service-startstop-script/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 01:03:11 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Reminders]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=269</guid>
		<description><![CDATA[I&#8217;m posting this because I forget the script I used because I setup systems so infrequently.  Place this in a file called tomcat7 in /etc/init.d/ Be sure to sudo chmod 777 tomcat7 so it will run. #!/bin/bash                                                                                                                                                                                                #                                                                                                                                                                                                          # tomcat7     This shell script takes care of starting and stopping Tomcat                                                                                                                                 # Description: This shell script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=269&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m posting this because I forget the script I used because I setup systems so infrequently.  Place this in a file called tomcat7 in /etc/init.d/ Be sure to sudo chmod 777 tomcat7 so it will run.</p>
<pre>#!/bin/bash                                                                                                                                                                                                #                                                                                                                                                                                                          # tomcat7     This shell script takes care of starting and stopping Tomcat                                                                                                                                 <br /># Description: This shell script takes care of starting and stopping Tomcat<br /># chkconfig: - 80 20<br />#<br />## Source function library.<br />#. /etc/rc.d/init.d/functions<br />TOMCAT_HOME=/home/peter/tomcat<br />SHUTDOWN_WAIT=20<br /><br />tomcat_pid() {<br />  echo `ps aux | grep org.apache.catalina.startup.Bootstrap | grep -v grep | awk '{ print $2 }'`<br />}<br /><br />start() {<br />  pid=$(tomcat_pid)<br />  if [ -n "$pid" ] <br />  then<br />    echo "Tomcat is already running (pid: $pid)"<br />  else<br />    # Start tomcat<br />    echo "Starting tomcat"<br />    ulimit -n 100000<br />    umask 007<br />    /bin/su -p -s /bin/sh root $TOMCAT_HOME/bin/startup.sh<br />  fi<br /><br /><br />  return 0<br />}<br /><br />stop() {<br />  pid=$(tomcat_pid)<br />  if [ -n "$pid" ]<br />  then<br />    echo "Stoping Tomcat"<br />    /bin/su -p -s /bin/sh root $TOMCAT_HOME/bin/shutdown.sh<br /><br />    let kwait=$SHUTDOWN_WAIT<br />    count=0;<br />    until [ `ps -p $pid | grep -c $pid` = '0' ] || [ $count -gt $kwait ]<br />    do<br />      echo -n -e "\nwaiting for processes to exit";<br />      sleep 1<br />      let count=$count+1;<br />    done<br /><br />    if [ $count -gt $kwait ]; then<br />      echo -n -e "\nkilling processes which didn't stop after $SHUTDOWN_WAIT seconds"<br />      kill -9 $pid<br />    fi<br />  else<br />    echo "Tomcat is not running"<br />  fi<br /> <br />  return 0<br />}<br /><br />case $1 in<br />start)<br />  start<br />;; <br />stop)   <br />  stop<br />;; <br />restart)<br />  stop<br />  start<br />;;<br />status)<br />  pid=$(tomcat_pid)<br />  if [ -n "$pid" ]<br />  then<br />    echo "Tomcat is running with pid: $pid"<br />  else<br />    echo "Tomcat is not running"<br />  fi<br />;; <br />esac<br />exit 0</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=269&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/B4a9EJKFsw8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/04/23/tomcat7-service-startstop-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/04/23/tomcat7-service-startstop-script/</feedburner:origLink></item>
		<item>
		<title>Yet another reason Twitter needs Two Factor Authentication</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/p8a_C8xa0es/</link>
		<comments>http://blog.maestropublishing.com/2013/04/23/yet-another-reason-twitter-needs-two-factor-authentication/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 00:15:40 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[YubiKey]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=264</guid>
		<description><![CDATA[AP Hack Highlights Two Crucial Features Twitter Needs &#8211; Forbes I swear they haven&#8217;t added support for Google Authenticator or Yubikey because any publicity about Twitter is good publicity about Twitter, right? Get with the program Twitter &#8212; you need two factor authentication now more than ever.  It&#8217;s not surprising I blogged about it just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=264&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.forbes.com/sites/kashmirhill/2013/04/23/ap-twitter-account-hacked-to-falsely-report-explosions-at-the-white-house-and-obama-injury/">AP Hack Highlights Two Crucial Features Twitter Needs &#8211; Forbes</a></p>
<p>I swear they haven&#8217;t added support for Google Authenticator or Yubikey because any publicity about Twitter is good publicity about Twitter, right?</p>
<p>Get with the program Twitter &#8212; you need two factor authentication now more than ever.  It&#8217;s not surprising <a href="http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=9&amp;cad=rja&amp;sqi=2&amp;ved=0CIIBEBYwCA&amp;url=http%3A%2F%2Fblog.maestropublishing.com%2F2013%2F02%2F18%2Ftwitter-needs-to-add-two-factor-authentication%2F&amp;ei=6iJ3UYrPBOfp2QWpzoGIAQ&amp;usg=AFQjCNFAO28bbUW42yCczis8qBiEv8jUXQ&amp;sig2=vk93OxmUG7OBfvpFqGwWfw&amp;bvm=bv.45580626,d.b2I">I blogged about it just in February about the hacking of Burger King&#8217;s Twitter account</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=264&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/p8a_C8xa0es" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/04/23/yet-another-reason-twitter-needs-two-factor-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/04/23/yet-another-reason-twitter-needs-two-factor-authentication/</feedburner:origLink></item>
		<item>
		<title>Code Python anywhere online via your browser – PythonAnywhere</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/xCyQpWcW1xk/</link>
		<comments>http://blog.maestropublishing.com/2013/04/14/code-python-anywhere-online-via-your-browser-pythonanywhere/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 05:03:53 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=259</guid>
		<description><![CDATA[Code Python anywhere online via your browser &#8211; PythonAnywhere Totally awesome with Python, Bash, MySQL consoles&#8230; GitHub integration, etc.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=259&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="https://www.pythonanywhere.com/" title="Code Python anywhere online via your browser - PythonAnywhere">Code Python anywhere online via your browser &#8211; PythonAnywhere</a></p>
<p>Totally awesome with Python, Bash, MySQL consoles&#8230; GitHub integration, etc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=259&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/xCyQpWcW1xk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/04/14/code-python-anywhere-online-via-your-browser-pythonanywhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/04/14/code-python-anywhere-online-via-your-browser-pythonanywhere/</feedburner:origLink></item>
		<item>
		<title>SSH Tunnel to Remote MySQL (Port Forwarding)</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/7xbVwwsDmTE/</link>
		<comments>http://blog.maestropublishing.com/2013/03/10/ssh-tunnel-to-remote-mysql-port-forwarding/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 02:31:25 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=245</guid>
		<description><![CDATA[ssh -f -L 13306:localhost:3306 root@example.com -p 10022 -N We block access to production MySQL servers over port 3306 for security reasons.  Here is an example connection string that proxies localhost port 13306 to port 3306 on the target system. We use a few switched to make this easier to use: Use -f to force SSH [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=245&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><pre>ssh -f -L 13306:localhost:3306 root@example.com -p 10022 -N</pre>
</blockquote>
<p>We block access to production MySQL servers over port 3306 for security reasons.  Here is an example connection string that proxies localhost port 13306 to port 3306 on the target system.</p>
<p>We use a few switched to make this easier to use:</p>
<p>Use -f to force SSH to go into background just before the SSH session starts.  This way you can get still be prompted for passwords but then run this in background.  We like this because then we don&#8217;t have to have an open terminal all the time.</p>
<p>The -L switch indicates port:host:remoteport format. In this case, listen to socket 13306 on localhost and proxy to remote host port 3306.</p>
<p>The -p switch is special.  You might have to connect to SSH on a remote host on a port other than the standard 22.  It is starting to become common practice to change the SSH port on remote hosts to something else for security reasons.  In this example, the remote host only responds to SSH on port 10022.</p>
<p>Using -N tells SSH to NOT execute remote commands.  Useful when all you want this SSH session to do is port forwarding.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=245&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/7xbVwwsDmTE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/03/10/ssh-tunnel-to-remote-mysql-port-forwarding/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/03/10/ssh-tunnel-to-remote-mysql-port-forwarding/</feedburner:origLink></item>
		<item>
		<title>Recover Lost Admin Password in Django</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/3z172buzjNI/</link>
		<comments>http://blog.maestropublishing.com/2013/03/08/recover-lost-admin-password-in-django/#comments</comments>
		<pubDate>Fri, 08 Mar 2013 08:16:20 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/2013/03/08/recover-lost-admin-password-in-django/</guid>
		<description><![CDATA[./manage.py changepassword &#60;username&#62; Run this in your project directory.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=241&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote>
<pre>./manage.py changepassword &lt;username&gt;</pre>
</blockquote>
<p>Run this in your project directory.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=241&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/3z172buzjNI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/03/08/recover-lost-admin-password-in-django/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/03/08/recover-lost-admin-password-in-django/</feedburner:origLink></item>
		<item>
		<title>AirDroid – Manage your Android from your Computer Browser</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/xUoPF9wqlJg/</link>
		<comments>http://blog.maestropublishing.com/2013/03/08/airdroid-manage-your-android-from-your-computer-browser/#comments</comments>
		<pubDate>Fri, 08 Mar 2013 07:43:17 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MTP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=236</guid>
		<description><![CDATA[I need to transfer some video files from my Ubuntu computer to my Nexus 7. I couldn&#8217;t get MTP via USB to work right. Luckily, I found this nice Android application (free &#8211; no ads) that gives you a simple virtual desktop of your Android in your browser. I was able to upload my videos [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=236&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='520' height='323' src='http://www.youtube.com/embed/WfNnQxpw7Uw?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
<p>I need to transfer some video files from my Ubuntu computer to my Nexus 7. I couldn&#8217;t get MTP via USB to work right.</p>
<p>Luckily, I found this nice Android application (free &#8211; no ads) that gives you a simple virtual desktop of your Android in your browser. I was able to upload my videos over WiFi in just a few seconds.</p>
<p>You can get <a href="https://play.google.com/store/apps/details?id=com.sand.airdroid&amp;hl=en">AirDroid</a> in the Google Play Store</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=236&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/xUoPF9wqlJg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/03/08/airdroid-manage-your-android-from-your-computer-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/03/08/airdroid-manage-your-android-from-your-computer-browser/</feedburner:origLink></item>
		<item>
		<title>Quick YubiKey PAM Bash Installer</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/Wfysa6_W4js/</link>
		<comments>http://blog.maestropublishing.com/2013/02/26/quick-yubikey-pam-bash-installer/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 02:35:42 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PAM]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[YubiKey]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=231</guid>
		<description><![CDATA[Quick YubiKey PAM Bash Installer A quick and easy way to install YubiKey PAM for Ubuntu.  There is also a Bash installer for Debian in the same GitHub repo.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=231&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="https://github.com/rickard2/Yubikey-PAM-Installer/blob/master/install-yubikey-pam-ubuntu.sh" title="Quick YubiKey PAM Bash Installer">Quick YubiKey PAM Bash Installer</a></p>
<p>A quick and easy way to install YubiKey PAM for Ubuntu.  There is also a Bash installer for Debian in the same GitHub repo.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=231&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/Wfysa6_W4js" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/02/26/quick-yubikey-pam-bash-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/02/26/quick-yubikey-pam-bash-installer/</feedburner:origLink></item>
		<item>
		<title>MySQL FOUND_ROWS() and OpenBD</title>
		<link>http://feedproxy.google.com/~r/TheHarmoniousProgrammer/~3/z_bRPlwvsI4/</link>
		<comments>http://blog.maestropublishing.com/2013/02/26/mysql-found_rows-and-openbd/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 02:29:21 +0000</pubDate>
		<dc:creator>Peter J. Farrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CFML]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OpenBD]]></category>

		<guid isPermaLink="false">http://blog.maestropublishing.com/?p=226</guid>
		<description><![CDATA[We recently switched to OpenBD on a production website and it uses MySQL FOUND_ROWS().  There a couple of things to ensure it works properly on OpenBD. You need to add this setting to the &#8220;Connection Settings&#8221; in the datasource useDynamicCharsetInfo=false The queries need to be in a cftransaction block otherwise they will use a different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=226&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div>We recently switched to OpenBD on a production website and it uses MySQL FOUND_ROWS().  There a couple of things to ensure it works properly on OpenBD.</div>
<div></div>
<div>You need to add this setting to the &#8220;Connection Settings&#8221; in the datasource</div>
<blockquote>
<pre>useDynamicCharsetInfo=false</pre>
</blockquote>
<div>The queries need to be in a cftransaction block otherwise they will use a different MySQL connection.   It would look something like:</div>
<div>
<blockquote>
<pre>&lt;cftransaction&gt;
  &lt;cfquery name="foo" datasource="foo"&gt;
    SELECT SQL_CALC_FOUND_ROWS * FROM foo 
    WHERE id &gt; 2 LIMIT 2
  &lt;/cfquery&gt;
  &lt;cfquery name="bar" datasource="foo"&gt;
    SELECT FOUND_ROWS() AS numRows
  &lt;/cfquery&gt;
&lt;/cftransaction&gt;</pre>
</blockquote>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maepub.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maepub.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.maestropublishing.com&#038;blog=46541926&#038;post=226&#038;subd=maepub&#038;ref=&#038;feed=1" width="1" height="1" /><img src="http://feeds.feedburner.com/~r/TheHarmoniousProgrammer/~4/z_bRPlwvsI4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.maestropublishing.com/2013/02/26/mysql-found_rows-and-openbd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/310863251fbdad588b6f0d39b395ac55?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">akismet-d4fd1109d22893b361860ca5fe2c5cf3</media:title>
		</media:content>
	<feedburner:origLink>http://blog.maestropublishing.com/2013/02/26/mysql-found_rows-and-openbd/</feedburner:origLink></item>
	</channel>
</rss>
