<?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>Cubicle Generation &#187; Nuri Hodges</title>
	<atom:link href="http://cubiclegeneration.com/author/inurinternet/feed" rel="self" type="application/rss+xml" />
	<link>http://cubiclegeneration.com</link>
	<description>omgz cubicles</description>
	<lastBuildDate>Wed, 09 May 2012 20:05:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP Cannot Connect to MySQL (Error 13) But CLI Can</title>
		<link>http://cubiclegeneration.com/linux-help/php-cannot-connect-to-mysql-error-13-but-cli-can</link>
		<comments>http://cubiclegeneration.com/linux-help/php-cannot-connect-to-mysql-error-13-but-cli-can#comments</comments>
		<pubDate>Wed, 09 May 2012 20:05:00 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Linux Help]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=442</guid>
		<description><![CDATA[Sometimes More often than not, quirky things happens when initially setting up a server environment. Usually, this quirks tend to arise when getting the various components of your stack talking to each other. In this situation, PHP and MySQL have been properly configured, however a problem has presented itself: the command line interface to PHP [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fphp-cannot-connect-to-mysql-error-13-but-cli-can"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fphp-cannot-connect-to-mysql-error-13-but-cli-can&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><del datetime="2012-05-09T19:57:28+00:00">Sometimes</del> More often than not, quirky things happens when initially setting up a server environment. Usually, this quirks tend to arise when getting the various components of your stack talking to each other. In this situation, PHP and MySQL have been properly configured, however a problem has presented itself: the command line interface to PHP is connecting to MySQL just fine, however when testing the connection via a script run from a web browser, it results in the error:</p>
<p><code>Could not connect: Can't connect to MySQL server on 'MYSQL.SERVER' (13)</code></p>
<p>This particular problem popped up on a CentOS 5.8 server, however this annoyance can be experienced on a number of systems, as it has to do with the default network security behavior of SELinux, which does not allow connections from HTTP to MySQL. You can allow this behavior by running the following command:</p>
<p><code>setsebool -P httpd_can_network_connect_db=1</code></p>
<p>Alternatively, you can disable SELinux entirely; that&#8217;s a tutorial for another day, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/linux-help/php-cannot-connect-to-mysql-error-13-but-cli-can/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Ruby to 1.9.3 in OS X Lion 10.7.3</title>
		<link>http://cubiclegeneration.com/mac/update-ruby-to-1-9-3-in-os-x-lion-10-7-3</link>
		<comments>http://cubiclegeneration.com/mac/update-ruby-to-1-9-3-in-os-x-lion-10-7-3#comments</comments>
		<pubDate>Wed, 09 May 2012 05:52:45 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[10.7.3]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OS X 10.7]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RVM]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=439</guid>
		<description><![CDATA[It&#8217;s really quite simple, as annoying (possibly daunting, too) as it may seem. You don&#8217;t need Homebrew, although you can do it that way if you would like. Here&#8217;s the nitty gritty, just open up a Terminal window and follow along. Install RVM (Ruby Version Manager) curl -L get.rvm.io &#124; bash -s stable If you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Fmac%2Fupdate-ruby-to-1-9-3-in-os-x-lion-10-7-3"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Fmac%2Fupdate-ruby-to-1-9-3-in-os-x-lion-10-7-3&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s really quite simple, as annoying (possibly daunting, too) as it may seem. You don&#8217;t need Homebrew, although you can do it that way if you would like. Here&#8217;s the nitty gritty, just open up a Terminal window and follow along.</p>
<p><strong>Install RVM (Ruby Version Manager)</strong><br />
<code>curl -L get.rvm.io | bash -s stable</code></p>
<p>If you have any other Terminal windows open, use the below command in each open window at this point, replacing username with your actual username:<br />
<code>source /Users/username/.rvm/scripts/rvm</code></p>
<p><strong>Install Ruby 1.9.3</strong><br />
<code>rvm install 1.9.3</code></p>
<p><strong>Run Ruby with the version flag to double check our work.</strong><br />
<code>ruby -v<br />
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/mac/update-ruby-to-1-9-3-in-os-x-lion-10-7-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset FileMaker Server 8 Admin Password</title>
		<link>http://cubiclegeneration.com/database/reset-filemaker-server-8-admin-password</link>
		<comments>http://cubiclegeneration.com/database/reset-filemaker-server-8-admin-password#comments</comments>
		<pubDate>Thu, 23 Feb 2012 10:00:22 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[FileMaker]]></category>
		<category><![CDATA[FileMaker Server]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=435</guid>
		<description><![CDATA[In situations where the administrative bus factor was one and you are not privy to the FileMaker Server (FileMaker Server 8, that is) administrator password, fret not! You are in luck, it is indeed possible to circumvent this protection. I cannot stress enough that this is not common practice and falls into the category of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Fdatabase%2Freset-filemaker-server-8-admin-password"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Fdatabase%2Freset-filemaker-server-8-admin-password&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In situations where the administrative bus factor was one and you are not privy to the FileMaker Server (FileMaker Server 8, that is) administrator password, fret not! You are in luck, it is indeed possible to circumvent this protection. I cannot stress enough that this is not common practice and falls into the category of &#8220;database server open heart surgery&#8221; &#8230; do not attempt this if you are unfamiliar with the unix command line or the OS X architecture.</p>
<p><span style="color: #ff0000; font-weight: bold">Make sure any and all FileMaker Pro users are disconnected before attempting this process.</span></p>
<p><strong>Step #1 &#8211; Back up the existing FileMaker Server .plist file</strong></p>
<p><code>sudo cp /Library/FileMaker\ Server/Library/Preferences/ByHost/com.filemaker.fmserver.MACADDRESS.plist ~</code></p>
<p>Replace MACADDRESS with your computer&#8217;s MAC address. Alternative, you can list the directory to see what .plist yours might be:</p>
<p><code>sudo ls /Library/FileMaker\ Server/Library/Preferences/ByHost/</code></p>
<p><strong>Step #2 &#8211; Edit the .plist file and save as new .plist file</strong></p>
<p>Using a .plist editor, remove the &#8216;AdminAuth&#8217; key and value completely. When done, save the updated .plist as a new file, I chose new.plist in this example.</p>
<p><strong>Step #3 &#8211; Forcefully shut down the FileMaker Server</strong></p>
<p>This is not a recommended way to shut down your FileMaker database, as it could cause corruption, especially if the database is actively being used. Please make sure to have a recent backup before attempting this step.</p>
<p>Use <code>ps aux | grep FileMaker</code> to find the process id of fmserverd, then kill it:</p>
<p><code>kill PROCESSID</code></p>
<p><strong>Step #4 &#8211; Update the .plist file FileMaker Server uses for configuration</strong></p>
<p><code>sudo cp ~/new.plist /Library/FileMaker\ Server/Library/Preferences/ByHost/com.filemaker.fmserver.MACADDRESS.plist<br />
sudo chown fmserver:fmsadmin /Library/FileMaker\ Server/Library/Preferences/ByHost/com.filemaker.fmserver.MACADDRESS.plist</code></p>
<p><strong>Step #5 &#8211; Reboot the FileMaker Server machine</strong></p>
<p>Reboot the FileMaker Server machine and when FileMaker Server automatically launches, it will no longer require an administrator password. Use fmsadmin or a GUI administration tool to log in and set a password to resecure the FileMaker database.</p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/database/reset-filemaker-server-8-admin-password/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up A LAMP Stack on Debian Squeeze</title>
		<link>http://cubiclegeneration.com/linux-help/setting-up-a-lamp-stack-on-debian-squeeze</link>
		<comments>http://cubiclegeneration.com/linux-help/setting-up-a-lamp-stack-on-debian-squeeze#comments</comments>
		<pubDate>Tue, 14 Feb 2012 01:56:10 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Linux Help]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian 6.0]]></category>
		<category><![CDATA[Debian Squeeze]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=431</guid>
		<description><![CDATA[As it&#8217;s mostly for the sake of my own posterity, I&#8217;m going to be extremely concise with this walk through on setting up a LAMP stack on the Debian Linux distribution, specifically, Debian 6.0 (Squeeze). Note: All commands are from root&#8217;s perspective, as we&#8217;ll be setting up users for each of the sites. Further note [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fsetting-up-a-lamp-stack-on-debian-squeeze"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fsetting-up-a-lamp-stack-on-debian-squeeze&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As it&#8217;s mostly for the sake of my own posterity, I&#8217;m going to be extremely concise with this walk through on setting up a LAMP stack on the Debian Linux distribution, specifically, Debian 6.0 (Squeeze).</p>
<p><em>Note: All commands are from root&#8217;s perspective, as we&#8217;ll be setting up users for each of the sites. Further note that this tutorial does not encompass jailing users to their home directory.</em></p>
<p><strong>Step #1</strong> Installing Apache2<br />
<code>apt-get install apache2</code><br />
<em>Optionally, enable mod_rewrite using &#8216;a2enmod&#8217;</em><br />
<code>a2enmode rewrite</code></p>
<p><strong>Step #2</strong> Configure an Apache2 Virtual Host<br />
<em>Create a new sites-available configuration file for apache2.</em><br />
<code>vi /etc/apache2/sites-available/mysite.com</code><br />
<em>Enter the following contents (modify the details for the site you are setting up) into said file:</em><br />
<code>&lt;VirtualHost *:80&gt;<br />
        ServerAdmin info@mysite.com<br />
        ServerName mysite.com<br />
        ServerAlias www.mysite.com<br />
        DocumentRoot /srv/www/mysite.com/public_html<br />
        ErrorLog /srv/www/mysite.com/logs/error.log<br />
        CustomLog /srv/www/mysite.com/logs/access.log combined<br />
&lt;/VirtualHost&gt;</code></p>
<p><strong>Step #3</strong> Create the appropriate directories<br />
<code>mkdir -p /srv/www/mysite.com/public_html<br />
mkdir /srv/www/mysite.com/logs</code></p>
<p><strong>Step #4</strong> Enable apache2 site using &#8216;a2ensite&#8217;<br />
<code>a2ensite mysite.com</code><br />
<em>To disable a website, use the command &#8216;a2dissite&#8217;</em></p>
<p><strong>Step #5</strong> Install and configure the MySQL server<br />
<code>apt-get install mysql-server</code><br />
<em>Once the installation runs, execute the following command to begin a GUI based secure setup of MySQL:</em><br />
<code>mysql_secure_installation</code><br />
<em>Create a database and user after logging into the MySQL server using the &#8216;mysql&#8217; command:</em><br />
<code>create database mysitedotcom;<br />
grant all on mysitedotcom.* to 'mysitedotcom' identified by 'apassword';</code></p>
<p><strong>Step #6</strong> Install and configure PHP<br />
<code>apt-get install php5-php-pear php5-suhosin php5-mysql</code><br />
<em>Optionally, install &#8216;php5-curl&#8217; for cURL support in PHP.</em></p>
<p><strong>Step #7</strong> Create a user for this site<br />
<code>useradd mysitedotcom<br />
passwd mysitedotcom<br />
usermod -d /srv/www/mysite.com mysitedotcom<br />
chown -R mysitedotcom:mysitedotcom /srv/www/mysite.com</code></p>
<p><strong>Step #8</strong> Restart Apache2<br />
<code>/etc/init.d/apache2 restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/linux-help/setting-up-a-lamp-stack-on-debian-squeeze/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up SSL Certificates On PHP Fog Apps</title>
		<link>http://cubiclegeneration.com/cloud-services/setting-up-ssl-certificates-on-php-fog-apps</link>
		<comments>http://cubiclegeneration.com/cloud-services/setting-up-ssl-certificates-on-php-fog-apps#comments</comments>
		<pubDate>Mon, 02 Jan 2012 23:09:34 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Fog]]></category>
		<category><![CDATA[phpfog.com]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=427</guid>
		<description><![CDATA[Let me tell you, it was something of an endeavor setting up an SSL certificate on a PHP Fog application, mostly due to lack of (obvious) documentation, but their technical support was extremely fast and helpful, so we were able to get through the issues quickly. Here&#8217;s a little step-by-step write up for those of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Fcloud-services%2Fsetting-up-ssl-certificates-on-php-fog-apps"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Fcloud-services%2Fsetting-up-ssl-certificates-on-php-fog-apps&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Let me tell you, it was something of an endeavor setting up an SSL certificate on a PHP Fog application, mostly due to lack of (obvious) documentation, but their technical support was extremely fast and helpful, so we were able to get through the issues quickly. Here&#8217;s a little step-by-step write up for those of you who might still be in the dark about the whole SSL certificate installation process.</p>
<p>First of all, be ready to fork over $20 per month to enable the ability to attach an SSL certificate to your PHP Fog application. (C&#8217;mon guys, really? I get that IPs are limited, and Amazon&#8217;s ELB has a price too, but there&#8217;s got to be a better and more cost effective way to do this.)</p>
<p>Second, you&#8217;re going to want to log into a computer with OpenSSL installed, so that you can generate the private key to sign your Certificate Request (CSR) file. Run the following command to generate the private key, and be sure to not use a PEM passphrase:</p>
<p><code>openssl genrsa -out phpfog.key 2048</code></p>
<p>Now, we are going to generate the Certificate Request. Run the following command to generate the CSR file, using <em>www.yourdomain.com</em> or <em>*.yourdomain.com</em> for the &#8220;Common Name&#8221; input when it prompts you:</p>
<p><code>openssl req -new -key www.reconapi.com.key -out phpfog.csr</code></p>
<p>You can now use this .CSR file to generate your SSL certificate from your provider. I used a Comodo PositiveSSL certificate from NameCheap, which ran me a grand total of $8.95 &#8230; however they&#8217;re currently running a <a href="https://www.namecheap.com/ssl-certificates/exclusive-positive-ssl-offer.aspx?aff=26450" title="$1.99 PositiveSSL Certificate Offer" target="_blank">promotion offering PositiveSSL certificates for $1.99 with the registration or transfer of a domain name</a>. (affiliate link)</p>
<p>Once you generate your SSL certificate with your .CSR file, your provider will make the certificate available for download via e-mail or their website. Be sure to download all related certificates, including the intermediary certificate if there is one available.</p>
<p>Now, navigate to your application&#8217;s dashboard on PHP Fog, and select the SSL tab from the sidebar. You are going to be filling out two (possibly three) text boxes with relevant certificate information:</p>
<ul>
<li>Paste the contents of www_yourdomain_com.crt into the <strong>Signed Certificate</strong> text box.</li>
<li>Paste the contents of phpfog.key into the box labeled <strong>RSA or DSA Private Key Used to Sign the Certificate</strong>.</li>
<li>If you received an intermediary certificate, check the box &#8220;Use intermediate certificate&#8221; and paste the contents of the intermediary certificate file into the text box that appears.</li>
</ul>
<p>You should be good to go, just click the orange &#8216;Enable SSL&#8217; button to proceed! Remember, you will have to add some sort of redirection to your application, it won&#8217;t automatically forward your visitors to the proper secure pages. I tried using mod_rewrite, however %{HTTPS} does not seem to work, so here&#8217;s a little PHP snippet that works instead:</p>
<p><code>    if($_SERVER['HTTP_X_FORWARDED_PROTO'] !== 'https') {<br />
        header("HTTP/1.1 301 Moved Permanently");<br />
        header("Location: https://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}"); exit;<br />
    }</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/cloud-services/setting-up-ssl-certificates-on-php-fog-apps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount Box.net Storage As Network Drive</title>
		<link>http://cubiclegeneration.com/cloud-services/mount-box-net-storage-as-network-drive</link>
		<comments>http://cubiclegeneration.com/cloud-services/mount-box-net-storage-as-network-drive#comments</comments>
		<pubDate>Fri, 09 Dec 2011 06:23:23 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Box.net]]></category>
		<category><![CDATA[Cloud Storage]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=424</guid>
		<description><![CDATA[Box.net has been running a recent promotion giving away a FREE 50GB of cloud storage if you sign up for your account via one of their iOS applications. Naturally, this was very tempting. However, after signing up I realized there was no easy way to upload mass amounts of files. Well, a little Google magic [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Fcloud-services%2Fmount-box-net-storage-as-network-drive"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Fcloud-services%2Fmount-box-net-storage-as-network-drive&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Box.net has been running a recent promotion giving away a FREE 50GB of cloud storage if you sign up for your account via one of their iOS applications. Naturally, this was very tempting. However, after signing up I realized there was no easy way to upload mass amounts of files. Well, a little Google magic and I had a solution to make the newly acquired 50GB &#8220;cloud drive&#8221; mount as a network drive and be available through Windows Explorer!</p>
<ul>
<li>Mount Network Drive > Specify an alternate network location</li>
<li>Enter <strong>https://www.box.net/dav</strong> in the &#8220;Internet or network address&#8221; field</li>
<li>Once you click next, you will be prompted to enter your box.net credentials. After you enter your username and password and successfully log in, name your &#8220;Network Drive&#8221; and you&#8217;re good to go!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/cloud-services/mount-box-net-storage-as-network-drive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset the Root MySQL Password on Ubuntu 10.04</title>
		<link>http://cubiclegeneration.com/linux-help/reset-the-root-mysql-password-on-ubuntu-10-04</link>
		<comments>http://cubiclegeneration.com/linux-help/reset-the-root-mysql-password-on-ubuntu-10-04#comments</comments>
		<pubDate>Mon, 17 Oct 2011 23:12:35 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Linux Help]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Server Administrator]]></category>
		<category><![CDATA[Systems Administrator]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=412</guid>
		<description><![CDATA[It&#8217;s a commonality among sleep-deprived developers to set up a sandbox at 3AM and wake up not remembering the passwords that were set before the retreat into la-la land. Well, resetting the root user&#8217;s administrative password for MySQL is a little tedious, but it&#8217;s not impossible: sudo /etc/init.d/mysql stop sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &#038; You [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Freset-the-root-mysql-password-on-ubuntu-10-04"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Freset-the-root-mysql-password-on-ubuntu-10-04&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s a commonality among sleep-deprived developers to set up a sandbox at 3AM and wake up not remembering the passwords that were set before the retreat into la-la land. Well, resetting the root user&#8217;s administrative password for MySQL is a little tedious, but it&#8217;s not impossible:</p>
<ul>
<li><code>sudo /etc/init.d/mysql stop</code></li>
<li><code>sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &#038;</code><br />
	<em>You will now be able to log into MySQL as root with no password, since you have launched the MySQL daemon with the flag to skip the privilege index.</em></li>
<li><code>mysql -u root</code>
<ul>
<li><code>FLUSH PRIVILEGES;</code></li>
<li><code>SET PASSWORD FOR root@'localhost' = PASSWORD('password');</code></li>
<li><code>UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';</code></li>
<li><code>FLUSH PRIVILEGES;</code></li>
</ul>
</li>
<li><code>sudo /etc/init.d/mysql stop</code></li>
<li><code>sudo /etc/init.d/mysql start</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/linux-help/reset-the-root-mysql-password-on-ubuntu-10-04/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Git on Ubuntu 10.04</title>
		<link>http://cubiclegeneration.com/linux-help/installing-git-on-ubuntu-10-04</link>
		<comments>http://cubiclegeneration.com/linux-help/installing-git-on-ubuntu-10-04#comments</comments>
		<pubDate>Thu, 13 Oct 2011 22:22:59 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Linux Help]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=408</guid>
		<description><![CDATA[I&#8217;m positive there are other blog posts almost identical to this one, however since this blog serves for the purpose of posterity, I am going to post it as a reference regardless. In order to install Git (via command line) on Ubuntu 10.04, Lucid Lync, you must follow these steps: sudo aptitude build-dep git-core wget [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Finstalling-git-on-ubuntu-10-04"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Finstalling-git-on-ubuntu-10-04&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;m positive there are other blog posts almost identical to this one, however since this blog serves for the purpose of posterity, I am going to post it as a reference regardless.</p>
<p>In order to install Git (via command line) on Ubuntu 10.04, Lucid Lync, you must follow these steps:</p>
<ul>
<li><code>sudo aptitude build-dep git-core</code></li>
<li><code>wget http://git-core.googlecode.com/files/git-1.7.7.tar.gz</code></li>
<li><code>tar xvzf git-1.7.7.tar.gz</code></li>
<li><code>cd git-1.7.7</code></li>
<li><code>./configure</code></li>
<li><code>make</code></li>
<li><code>sudo make install</code></li>
<li><code>git --version</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/linux-help/installing-git-on-ubuntu-10-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pandora via the Command Line on Ubuntu 10.04</title>
		<link>http://cubiclegeneration.com/linux-help/pandora-via-the-command-line-on-ubuntu-10-04</link>
		<comments>http://cubiclegeneration.com/linux-help/pandora-via-the-command-line-on-ubuntu-10-04#comments</comments>
		<pubDate>Fri, 07 Oct 2011 09:17:22 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Linux Help]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Pandora]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=403</guid>
		<description><![CDATA[I&#8217;ve been using a really great command line app to listen to Pandora on my laptop lately, it&#8217;s called Pianobar. You can install it by running the following commands: cd ~ sudo apt-get install build-essential sudo apt-get install libao-dev libmad0-dev libfaad-dev wget https://github.com/PromyLOPh/pianobar/tarball/master tar xvf Promy*.tar.gz cd Promy* make sudo make install That&#8217;s it! You&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fpandora-via-the-command-line-on-ubuntu-10-04"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Flinux-help%2Fpandora-via-the-command-line-on-ubuntu-10-04&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been using a really great command line app to listen to Pandora on my laptop lately, it&#8217;s called <a href="http://github.com/PromyLOPh/pianobar" title="Pianobar" target="_blank">Pianobar</a>. You can install it by running the following commands:</p>
<p><code>cd ~<br />
sudo apt-get install build-essential<br />
sudo apt-get install libao-dev libmad0-dev libfaad-dev<br />
wget https://github.com/PromyLOPh/pianobar/tarball/master<br />
tar xvf Promy*.tar.gz<br />
cd Promy*<br />
make<br />
sudo make install</code></p>
<p>That&#8217;s it! You&#8217;ve installed Pianobar on Ubuntu 10.04, Lucid Lynx. Now just run <strong>pianobar</strong> to start the Pandora CLI app. Please refer to <strong>man pianobar</strong> for further usage instructions</p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/linux-help/pandora-via-the-command-line-on-ubuntu-10-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista/7 God Mode Shortcut</title>
		<link>http://cubiclegeneration.com/windows-2/windows-vista7-god-mode-shortcut</link>
		<comments>http://cubiclegeneration.com/windows-2/windows-vista7-god-mode-shortcut#comments</comments>
		<pubDate>Sun, 10 Jul 2011 23:35:45 +0000</pubDate>
		<dc:creator>Nuri Hodges</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 7 Easter Eggs]]></category>
		<category><![CDATA[Windows Easter Eggs]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows Vista Easter Eggs]]></category>

		<guid isPermaLink="false">http://cubiclegeneration.com/?p=386</guid>
		<description><![CDATA[You&#8217;ve probably heard of this little easter egg before, but in case you haven&#8217;t, Microsoft offers a myriad of various administration tools that are only available in a hidden Easter Egg shortcut, the GodMode shortcut! It&#8217;s pretty easy to get access to Windows God Mode, here&#8217;s how: Create a new folder where you would like [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcubiclegeneration.com%2Fwindows-2%2Fwindows-vista7-god-mode-shortcut"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcubiclegeneration.com%2Fwindows-2%2Fwindows-vista7-god-mode-shortcut&amp;source=TYPELiFE&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>You&#8217;ve probably heard of this little easter egg before, but in case you haven&#8217;t, Microsoft offers a myriad of various administration tools that are only available in a hidden Easter Egg shortcut, the GodMode shortcut!</p>
<p>It&#8217;s pretty easy to get access to Windows God Mode, here&#8217;s how:</p>
<ul>
<li>Create a new folder where you would like your God Mode folder to reside.</li>
<li>Rename the newly created folder to: <b>GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}</b></li>
<li>Your folder will change to a &#8220;Control Panel&#8221; looking icon, and its name will set to GodMode. You&#8217;re done!</li>
</ul>
<p>When you open the GodMode folder, you&#8217;ll be presented with a host of options, which all are a pretty granular version of your existing Windows Control Panel; however, there are new options to play with, and I&#8217;ll leave the discovery of those as an excercise for the reader.</p>
]]></content:encoded>
			<wfw:commentRss>http://cubiclegeneration.com/windows-2/windows-vista7-god-mode-shortcut/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

