<?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>NetMusician Webkit</title>
	<atom:link href="http://netmusician.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://netmusician.org</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 20 Dec 2012 03:51:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<item>
		<title>Optimizing Apache and PHP for Amazon EC2</title>
		<link>http://netmusician.org/2012/12/optimizing-apache-and-php-for-amazon/</link>
		<comments>http://netmusician.org/2012/12/optimizing-apache-and-php-for-amazon/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 00:12:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://netmusician.org/?p=777</guid>
		<description><![CDATA[Some useful performance optimization tips for optimizing Apache, PHP FPM, and APC for Amazon EC2. In this case the configuration examples are the settings that work best for our Small instances, but certainly these concepts will apply to other instance types as well. Optimizing your environment can be quite time consuming and overwhelming since there [...]]]></description>
			<content:encoded><![CDATA[<p>Some useful performance optimization tips for optimizing Apache, PHP FPM, and APC for Amazon EC2. In this case the configuration examples are the settings that work best for our Small instances, but certainly these concepts will apply to other instance types as well.</p>
<p><span id="more-777"></span></p>
<p>Optimizing your environment can be quite time consuming and overwhelming since there are an overwhelming amount of configuration options, a number of supplementary packages to evaluate, and a lot of trial and error to determine which knobs and dials provide the most bang for your buck with your environment. Here are the variables and settings we found the most useful to focus on:</p>
<h3>Apache</h3>
<p>Since Small instances only include one CPU, turning on KeepAlives seems to be a good idea. You&#8217;ll also want to adjust the &#8220;MaxClients&#8221; prefork setting, which seems to be the most important of these. Ours is set to 75, but it doesn&#8217;t seem that the defaults are a horrible mismatch, so you may not find that tweaking these makes a lot of difference. Enabling the deflate module works fine, and you can lower the &#8220;Timeout&#8221; value if you don&#8217;t want to do business for the default 300 seconds (our is set to 30 seconds).</p>
<h3>PHP-FPM</h3>
<p>Figure out where the FPM log file resides, and learn to monitor it for notices about the pool being busy, timeout values being hit, etc. This will sort of give you a &#8220;hot and cold&#8221; sense as to how the following settings are working. In Debian be sure that you edit any corresponding php.ini configuration options for FPM (/etc/php5/fpm) and not for Apache (i.e. PHP running as an Apache module), CGI, or CLI.</p>
<ul>
<li>pm.start_servers = 4</li>
<li>pm.min_spare_servers = 4</li>
<li>pm.max_spare_servers = 20</li>
<li>pm.process_idle_timeout = 5s</li>
<li>pm.max_requests = 100</li>
</ul>
<p>Monitor your RAM consumption and lower these values to ensure that as memory balloons that you do not have to use swap space. The max_requests setting is particularly helpful since it helps prevent memory ballooning from leaky PHP scripts. If you use a service like Monit you can make use of the &#8220;ping.path&#8221; argument to help monitor FPM and auto-restart it when it becomes unresponsive. You can also enable the slow log (&#8220;request_slowlog_timeout&#8221;, &#8220;slowlog&#8221;) if you wish to profile certain sites or certain PHP scripts.</p>
<h3>APC</h3>
<p>Last but not least, refining APC was by far the most beneficial to dropping load averages from as high as 20 to consistently below 1. For whatever reason, while the PHP-FPM default settings were too high for our environment, the &#8220;apc.shm_size&#8221; default setting in particular seems ridiculously low, and perhaps should be increased as to be more useful. To determine how well APC is working for you, you should track down an &#8220;apc.php&#8221; file which provides a handy stats page showing how many requests have been served via memory (i.e. are taking advantage of APC memory cache). For whatever reason this file is not included in the Debian package, so I compiled the APC package and copied the file to my server:</p>
<pre>cd APC-3.1.9
phpize
./configure --with-php-config=/opt/local/bin/php-config
scp apc.php yourserver:</pre>
<p>These instructions are for OS X and Macports, you&#8217;ll have to modify the path to php-config and/or phpize to suit your environment. If you are seeing tons of fragmentation and APC not being fully utilized being displayed on apc.php, increase the &#8220;apc.shm_size&#8221; value from its default 32M to something like 256M. Note that in Debian this path is &#8220;/etc/php5/fpm/conf.d/apc.ini&#8221; &#8211; again, there are separate config files for each of Apache (i.e. PHP running as an Apache module), CGI, CLI, and FPM.</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/12/optimizing-apache-and-php-for-amazon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Your yui3-gallery Git Fork</title>
		<link>http://netmusician.org/2012/08/update-yui3-gallery-git-fork/</link>
		<comments>http://netmusician.org/2012/08/update-yui3-gallery-git-fork/#comments</comments>
		<pubDate>Sat, 18 Aug 2012 00:25:39 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://netmusician.org/?p=764</guid>
		<description><![CDATA[Unless you are a pretty experienced Git user, updating your yui3-gallery fork for a new Yahoo CDN pull request can be tricky. Here is one way you can do this, the following steps assume that you have defined the official yui3-gallery Git repository as a remote source in your repository entitled &#8220;upstream&#8221;&#8230; Unless you are [...]]]></description>
			<content:encoded><![CDATA[<p>Unless you are a pretty experienced Git user, updating your yui3-gallery fork for a new Yahoo CDN pull request can be tricky. Here is one way you can do this, the following steps assume that you have defined the official yui3-gallery Git repository as a remote source in your repository entitled &#8220;upstream&#8221;&#8230;</p>
<p><span id="more-764"></span></p>
<p>Unless you are a pretty experienced Git user, updating your yui3-gallery fork for a new Yahoo CDN pull request can be tricky. Here is one way you can do this, the following steps assume that you have defined the official yui3-gallery Git repository as a remote source in your repository entitled &#8220;upstream&#8221;:</p>
<ol>
<li>remove your stuff that was a part of your last CDN pull request residing in the &#8220;build&#8221; directory (i.e. <code>rm -rf build/gallery-yourproject)</code></li>
<li><code>git commit -a</code> to commit this deletion to your repository. Your commit message can be something along the lines of &#8220;preparing for new git pull from upstream&#8221;</li>
<li><code>git pull upstream master</code></li>
<li>this will generate conflict messages about how your build files were &#8220;deleted in HEAD and modified in &lt;some git rev&gt;&#8221;, but you&#8217;ll notice that it also says that the git revision was &#8220;left in tree&#8221;.  You&#8217;ll notice that a fresh copy of the build files for your deleted project lives in your build directory now</li>
<li><code>git add build/gallery-yourproject</code> to add this back to the repository</li>
<li><code>git commit -a</code> to save the results of this merge</li>
<li><code>git push</code> to push your changes up to GitHub</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/08/update-yui3-gallery-git-fork/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canadian Brass: a Glimpse Of the Next NetMusician Webkit Generation</title>
		<link>http://netmusician.org/2012/05/canadian-brass-site-redesign/</link>
		<comments>http://netmusician.org/2012/05/canadian-brass-site-redesign/#comments</comments>
		<pubDate>Mon, 28 May 2012 22:16:08 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://netmusician.org/?p=755</guid>
		<description><![CDATA[Announcing the new Canadian Brass website, and providing a glimpse into some of the NetMusician technologies incorporated into their new site]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-756" title="Screen Shot 2012-05-28 at 5.58.20 PM" src="http://netmusician.org/wp-content/uploads/2012/05/Screen-Shot-2012-05-28-at-5.58.20-PM-300x235.png" alt="" width="300" height="235" />We are pleased to announce that the classical music giant, Canadian Brass, has recently launched its <a title="Canadian Brass Website" href="http://www.canadianbrass.com">new website</a>. If you are no stranger to classical music or brass instruments, you have no doubt already heard about the Canadian Brass and their decades of history and presence in the musical world. The award winning group has been going in new directions as of recent years, so therefore it seemed fitting to create a new website to express this new vision!</p>
<p>On this new site you can learn about the group&#8217;s history, its numerous recordings and videos, the instruments they play, acquaint yourself with the current and past membership, keep informed as to when they will be performing near you, access a wide range of press materials including posters, cover artwork, ringtones, learn about what the group has been working on in the area of education and outreach, access their store, or their exciting blog entitled <em>Brass Underground</em> which documents their experiences on the road and provides a special glimpse behind-the-scenes.</p>
<p><span id="more-755"></span></p>
<p><img class="alignright size-medium wp-image-756" title="Screen Shot 2012-05-28 at 5.58.20 PM" src="http://netmusician.org/wp-content/uploads/2012/05/Screen-Shot-2012-05-28-at-5.58.20-PM-300x235.png" alt="" width="300" height="235" />We are pleased to announce that the classical music giant, Canadian Brass, has recently launched its <a title="Canadian Brass Website" href="http://www.canadianbrass.com">new website</a>. If you are no stranger to classical music or brass instruments, you have no doubt already heard about the Canadian Brass and their decades of history and presence in the musical world. The award winning group has been going in new directions as of recent years, so therefore it seemed fitting to create a new website to express this new vision!</p>
<p>On this new site you can learn about the group&#8217;s history, its numerous recordings and videos, the instruments they play, acquaint yourself with the current and past membership, keep informed as to when they will be performing near you, access a wide range of press materials including posters, cover artwork, ringtones, learn about what the group has been working on in the area of education and outreach, access their store, or their exciting blog entitled <em>Brass Underground</em> which documents their experiences on the road and provides a special glimpse behind-the-scenes.</p>
<p>This website incorporates many NetMusician technologies, including (in no particular order):</p>
<ul>
<li>Facebook and Twitter integration</li>
<li>WordPress/NetMusician integration</li>
<li>The NetMusician Webkit Database Manager (information about this forthcoming)</li>
<li>The NetMusician Mobile-friendly Media Player (which continues playing the track you were listening to as you move between pages of the website, and works on iPhones, iPads, and other mobile devices)</li>
<li>The NetMusician Webkit Newsletter integration</li>
<li>The NetMusician Webkit Discography module</li>
<li>Facebook-style links to reveal more news postings (as well as a searchable news archive)</li>
<li>And more!</li>
</ul>
<p>Please check out their site, and be sure to follow the group on <a title="Canadian Brass on Facebook" href="https://www.facebook.com/canadianbrass">Facebook</a> and <a title="Canadian Brass on Twitter" href="https://twitter.com/#!/CanadianBrass">Twitter</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/05/canadian-brass-site-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Access Your WordPress Akismet Key</title>
		<link>http://netmusician.org/2012/05/accesswpakismet/</link>
		<comments>http://netmusician.org/2012/05/accesswpakismet/#comments</comments>
		<pubDate>Mon, 28 May 2012 20:30:11 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://netmusician.org/?p=753</guid>
		<description><![CDATA[If you wish to retrieve your Akismet key from your WordPress database directly via MySQL you can do so as follows: mysql> use [your WordPress database]; mysql> select option_value from wp_options where option_name = 'wordpress_api_key';]]></description>
			<content:encoded><![CDATA[<p>If you wish to retrieve your Akismet key from your WordPress database directly via MySQL you can do so as follows:</p>
<p><code><br />
mysql> use [your WordPress database];<br />
mysql> select option_value from wp_options where option_name = 'wordpress_api_key';<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/05/accesswpakismet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping Your Web-based Software Current Using Github</title>
		<link>http://netmusician.org/2012/04/keeping-your-web-based-software-current-using-github/</link>
		<comments>http://netmusician.org/2012/04/keeping-your-web-based-software-current-using-github/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 17:58:39 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=742</guid>
		<description><![CDATA[Since so much software is tracked using a Git repository on Github using public repositories, this can make for a very useful software update mechanism. Since so much software is tracked using a Git repository on Github using public repositories, this can make for a very useful software update mechanism. The first thing you&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>Since so much software is tracked using a Git repository on Github using public repositories, this can make for a very useful software update mechanism.<span id="more-742"></span></p>
<p>Since so much software is tracked using a Git repository on Github using public repositories, this can make for a very useful software update mechanism.</p>
<p>The first thing you&#8217;ll need to do is find your project on Github, and clone the entire thing to a local directory, e.g.:</p>
<p><code>git clone git://github.com/phpmyadmin/phpmyadmin.git phpmyadmin</code></p>
<p>Then, since you probably don&#8217;t want to be using the very latest development version, find out what tags are available:</p>
<p><code>git tag -l</code></p>
<p>Check out the version you want to its own branch:</p>
<p><code>git checkout -b versionnum [tag_name]</code></p>
<p>This will checkout that version as its own branch and make this branch active, so that the code that resides in this directory corresponds to this tag. You can then take this directory, copy it, export it, rsync it, whatever to wherever you need this.</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/04/keeping-your-web-based-software-current-using-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handy Command-line Video and Audio Conversion Commands</title>
		<link>http://netmusician.org/2012/03/handy-command-line-video-and-audio-conversion-commands/</link>
		<comments>http://netmusician.org/2012/03/handy-command-line-video-and-audio-conversion-commands/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 03:18:55 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=734</guid>
		<description><![CDATA[A quick list of commands for audio/video conversion on the command line Convert from H.264 or WMV to WebM (requires ffmpeg) Adjust the bitrate to your liking `which ffmpeg` -y -i /path/to/h264/file.mp4/or/file.wmv -acodec libvorbis -b 1500k /path/to/webm/output.ogv Convert from WebM or WMV to H.264 (requires ffmpeg) Adjust the bitrate to your liking `which ffmpeg` -y [...]]]></description>
			<content:encoded><![CDATA[<p>A quick list of commands for audio/video conversion on the command line<span id="more-734"></span></p>
<h4>Convert from H.264 or WMV to WebM (requires ffmpeg)</h4>
<p>Adjust the bitrate to your liking</p>
<p><strong>`which ffmpeg` -y -i /path/to/h264/file.mp4/or/file.wmv -acodec libvorbis -b 1500k /path/to/webm/output.ogv</strong></p>
<h4>Convert from WebM or WMV to H.264 (requires ffmpeg)</h4>
<p>Adjust the bitrate to your liking</p>
<p><strong>`which ffmpeg` -y -i /path/to/webm/file.ogv/or/file.wmv -acodec libfaac -vcodec libx264 -b 1500k /path/to/h264/output.mp4</strong></p>
<h4> Convert to OggVorbis from MP3 (requires mpg321)</h4>
<p><strong>`which mpg321` -q /path/to/mp3file.mp3 -w &#8211; | `which oggenc` -Q -o /path/to/output.ogg -</strong></p>
<h4>Convert from WAV to MP3 (requires lame)</h4>
<p><strong>`which lame` &#8211;silent &#8211;preset standard /path/to/wavfile.wav /path/to/output.mp3</strong></p>
<h4>Convert from WAV to OggVorbis (requires libogg)</h4>
<p><strong>`which oggenc` -Q -o /path/to/output.ogg /path/to/wavfile.wav</strong></p>
<h4>Convert from AAC to MP3 (requires faad, lame)</h4>
<p>create WAV file first:</p>
<p><strong>`which faad` -q -o /path/to/output.wav /path/to/aacfile.m4a</strong></p>
<p>create MP3 from WAV:</p>
<p><strong>`which lame` &#8211;silent &#8211;preset standard /path/to/wavfile.wav /path/to/output.mp3</strong></p>
<h4>Convert from AAC to OggVorbis (requires faad, libogg)</h4>
<p>create WAV file first:</p>
<p><strong>`which faad` -q -o /path/to/output.wav /path/to/aacfile.m4a</strong></p>
<p>create OggVorbis from WAV:</p>
<p><strong>`which oggenc` -Q -o /path/to/output.ogg /path/to/wavfile.wav</strong></p>
<h4>Convert from OggVorbis to MP3 (requires libogg, lame)</h4>
<p>create WAV file first:</p>
<p><strong>`which oggdec` -Q -o /path/to/output.wav /path/to/oggfile.ogg</strong></p>
<p>create MP3 from WAV:</p>
<p><strong>`which lame` &#8211;silent &#8211;preset standard /path/to/wavfile.wav /path/to/output.mp3</strong></p>
<h4>Updating files in bulk</h4>
<p><strong>Remove spaces from all filenames in current directory:</strong></p>
<p>for i in *; do mv &#8220;$i&#8221; `echo $i | sed &#8216;s/ //g&#8217;`; done</p>
<p><strong>Convert all WAV files in current directory to MP3 files:</strong></p>
<p>for i in *.wav; do `which lame` &#8211;preset standard &#8220;$i&#8221; &#8220;`echo $i | sed &#8216;s/(.*).wav/1.mp3/&#8217;`&#8221;; done</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/03/handy-command-line-video-and-audio-conversion-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrating Your Local FreeBSD User Accounts To a Linux-based OS</title>
		<link>http://netmusician.org/2012/03/migrate-freebsd-accounts-to-linu/</link>
		<comments>http://netmusician.org/2012/03/migrate-freebsd-accounts-to-linu/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 02:49:44 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=730</guid>
		<description><![CDATA[If you are interested in switching from FreeBSD to Linux, you will need to come up with a plan for migrating your user accounts to Linux. Here are some tips, some things to consider, and a tutorial outlining one way to go about this. If you are interested in switching from FreeBSD to Linux, you [...]]]></description>
			<content:encoded><![CDATA[<p>If you are interested in switching from FreeBSD to Linux, you will need to come up with a plan for migrating your user accounts to Linux. Here are some tips, some things to consider, and a tutorial outlining one way to go about this.</p>
<p><span id="more-730"></span></p>
<p>If you are interested in switching from FreeBSD to Linux, you will need to come up with a plan for migrating your user accounts to Linux. If your account info is already stored on an LDAP server you won&#8217;t have to do much but ensure that the path to your user&#8217;s bash shell is /bin/bash rather than /usr/local/bin/bash (if you have installed bash from FreeBSD&#8217;s ports system), but you may still want to migrate a few accounts to have around as a backup in case there are problems with accessing your LDAP server. If your accounts are not stored on LDAP, now actually might be a good time to look into doing this (although the details of doing so are obviously outside of the scope of this document), however you might find it easiest to import accounts to your LDAP server using the provided scripts for doing this, and using these scripts requires that you have local Linux based accounts, unless you can find a script that will work with FreeBSD/BSD based accounts. So, one way or another, learning how to migrate your local accounts is probably going to be useful to you. Here is how to do so&#8230;</p>
<h4>Local accounts created by various services/packages you have installed</h4>
<p>Keep in mind that you probably do not want to migrate the accounts created by packages such as Apache or MySQL, as it is probably easiest to allow the packages you use to install these services to do this for you since the UID/GIDs will be different and the names may mismatch what is supplied in the included config files. Ditto for special accounts that were created by the OS itself. With the following instructions, it will be assumed that you will skip migrating these accounts.</p>
<h4>Reading /etc/master.passwd</h4>
<p>In FreeBSD the account info and passwords reside in this file, whereas in Linux there are separate files for account info and passwords. There are probably a number of superior ways to do the following, this method is admittedly rather crude, but it will work in a pinch. Using awk you can read your /etc/master.passwd and come up with some commands you can use to help to generate both the /etc/passwd (for accounts) and /etc/shadow (for passwords) files.</p>
<h4>For generating /etc/passwd:</h4>
<p>awk -F: &#8216;$2 ~/^$/ {print &#8220;useradd &#8221; $1 &#8221; -d &#8221; $9 &#8221; -c &#8220;&#8221; $8 &#8220;&#8221; -s /bin/bash&#8221;}&#8217; /etc/master.passwd</p>
<p>You will then need to copy and paste this output to your shell to create these accounts one-by-one.</p>
<h4>For generating /etc/shadow:</h4>
<p>awk -F: &#8216;$2 ~/^$/ {print $1&#8243;:&#8221;$2&#8243;:15282:0:99999:7:::&#8221;}&#8217; /etc/master.passwd</p>
<p>This output can be pasted directly into your /etc/shadow file</p>
<h4>Notes</h4>
<ul>
<li>If you wish you can of course redirect output for both of these to a file (by appending &#8220;&gt; /path/to/your/file&#8221; to the end of these commands)</li>
<li>Again, be sure to weed out accounts that should not be migrated, be careful!</li>
</ul>
<p>If there is a better way to do any of this, please comment below!</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/03/migrate-freebsd-accounts-to-linu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Setting Up Git Push, a Local Quasi-Github On Your Server</title>
		<link>http://netmusician.org/2012/03/gitpush/</link>
		<comments>http://netmusician.org/2012/03/gitpush/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 02:19:32 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=728</guid>
		<description><![CDATA[Those who have used Github know how nice it is to be able to &#8220;git push&#8221; your work to the cloud, how nice it is to have this repository function as a backup of your work, and how nice it is to be able to so easily &#8220;git pull&#8221; this project down to another machine. [...]]]></description>
			<content:encoded><![CDATA[<p>Those who have used Github know how nice it is to be able to &#8220;git push&#8221; your work to the cloud, how nice it is to have this repository function as a backup of your work, and how nice it is to be able to so easily &#8220;git pull&#8221; this project down to another machine. The following tutorial details how you can setup your own private Github repository, minus the web interface and all of the features that go along with this (e.g. comments, pull requests, etc.). This approach is great for when you might want to store some sensitive and/or proprietary information in your project (other than database passwords and content which can be easily added to your .gitignore file), and you don&#8217;t wish to purchase a private Github repository.</p>
<p><span id="more-728"></span></p>
<p>Those who have used Github know how nice it is to be able to &#8220;git push&#8221; your work to the cloud, how nice it is to have this repository function as a backup of your work, and how nice it is to be able to so easily &#8220;git pull&#8221; this project down to another machine. The following tutorial details how you can setup your own private Github repository, minus the web interface and all of the features that go along with this (e.g. comments, pull requests, etc.). This approach is great for when you might want to store some sensitive and/or proprietary information in your project (other than database passwords and content which can be easily added to your .gitignore file), and you don&#8217;t wish to purchase a private Github repository.</p>
<p>On your server:</p>
<ol>
<li>Make a new directory where you want your project&#8217;s copy to live</li>
<li>In this directory run <code>git init --bare</code>. You&#8217;ll of course need Git installed on this machine</li>
</ol>
<h4>If your changes are already being tracked Git:</h4>
<ol>
<li>See what remote sources you have defined via <code>git remote</code></li>
<li>If you have an origin defined, change it to the directory of your new repository you have created in the above steps by editing your .git/config file. If the repository resides on another machine accessible via SSH you can define the origin as ssh://[hostname]/path/to/repository</li>
<li>If the origin is not defined define it via <code>git remote add origin [path or URL to repository]</code></li>
</ol>
<h4>If they aren&#8217;t:</h4>
<p>In your main project directory do a:</p>
<ol>
<li><code>git init</code></li>
<li><code>git add *</code></li>
<li>be sure to also git add your .htaccess or .gitignore files if you have them</li>
<li><code>git commit -am "initial commit of my project"</code>  (your comment can obviously be whatever you like)</li>
<li><code>git remote add origin [path or URL to repository]</code></li>
</ol>
<h4>Push your project files to the server for the first time</h4>
<p><code>git push -u origin master</code></p>
<p>You can then clone your server&#8217;s repository via a git clone to download this project to other machines. You can create a great workflow using the above instructions that will allow you to setup a testing environment, and publish changes to your live server via a simple git push command! This, along with using Ruby on Rail&#8217;s database migration tools makes for a powerful environment that will not only allow you to publish code changes to your live site, but also track database schema changes and apply them as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2012/03/gitpush/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official Website for Ron Romm Now Live!</title>
		<link>http://netmusician.org/2011/09/rommlaunch/</link>
		<comments>http://netmusician.org/2011/09/rommlaunch/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 22:19:36 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=714</guid>
		<description><![CDATA[The official website for virtuosic, world renown, former Canadian Brass trumpet alum Ron Romm is now live!]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce that the new website for virtuosic, world renown, former Canadian Brass trumpet alum Ron Romm is <a href="http://www.musicromm.com">now live</a>!</p>
<p><span id="more-714"></span>We are pleased to announce that the new website for virtuosic, world renown, former Canadian Brass trumpet alum Ron Romm is <a href="http://www.musicromm.com">now live</a>!</p>
<p>This site is one of the first sites released incorporating a new service that has not been formally announced, which entails building a NetMusician site using a premade design template, saving money in not having to go through the design and branding process &#8211; perfect for musicians or companies on a strict budget! These templates can be downloaded or purchased from a site such as wordpress.org or templatemonster.com where there are many quality templates or &#8220;themes&#8221; to choose from. The TemplateMonster site provides customers an option to purchase exclusive rights over the design, for those that do not wish to have any site potentially using the same theme, although this additional feature is completely optional.</p>
<p>This site is also one of the first NetMusician sites to feature our new mobile-friendly media player, as well as several revamped versions of our existing modules in preparation of our next major launch. Details on this will be made available in the coming weeks/months!</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2011/09/rommlaunch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with iOS Mail &#8220;Can&#8217;t Connect to the Server&#8221; Errors</title>
		<link>http://netmusician.org/2011/05/ios-mail-cant-connect-to-the-server-errors/</link>
		<comments>http://netmusician.org/2011/05/ios-mail-cant-connect-to-the-server-errors/#comments</comments>
		<pubDate>Fri, 27 May 2011 18:49:31 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.netmusician.org/?p=710</guid>
		<description><![CDATA[If your iPhone/iPad/iPod Touch Mail app is generating these errors despite connecting to the same server without difficulty prior, a quick fix is to: Double tap your home icon while on the home screen to bring up a list of all running apps Press and hold on the Mail icon until a red minus appears, [...]]]></description>
			<content:encoded><![CDATA[<p>If your iPhone/iPad/iPod Touch Mail app is generating these errors despite connecting to the same server without difficulty prior, a quick fix is to:</p>
<ol>
<li>Double tap your home icon while on the home screen to bring up a list of all running apps</li>
<li>Press and hold on the Mail icon until a red minus appears, press that minus</li>
</ol>
<p>This will quit that currently running app (whereas pressing the home icon normally simply switches GUI control to a new process &#8211; i.e. the app is left to run in the background). Once the app has been quit and relaunched these errors should go away.</p>
<p>I can&#8217;t substantiate this, this is just a theory, but I suspect that since the iOS Mail client (and OS X Mail) are not particularly good about limiting the number of connections to an IMAP server to sane and reasonable numbers that these errors are generated when no more connections are permitted, and will go away on their own after unused connections timeout. Quitting the app presumably kills these IMAP connections in IMAP IDLE state.</p>
]]></content:encoded>
			<wfw:commentRss>http://netmusician.org/2011/05/ios-mail-cant-connect-to-the-server-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
