<?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>Nessy&#039;s Blog</title>
	<atom:link href="http://blog.flip-edesign.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.flip-edesign.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Sep 2010 13:02:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Linux xkcd Comic Wallpaper Switcher</title>
		<link>http://blog.flip-edesign.com/?p=361</link>
		<comments>http://blog.flip-edesign.com/?p=361#comments</comments>
		<pubDate>Fri, 03 Sep 2010 13:02:01 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=361</guid>
		<description><![CDATA[Created a new bash script which rotates my GNOME wallpaper every 15minutes with a new xkcd comic. http://github.com/jness/xkcd-wallpaper]]></description>
			<content:encoded><![CDATA[<p>Created a new bash script which rotates my GNOME wallpaper every 15minutes with a new xkcd comic.</p>
<p><a href="http://github.com/jness/xkcd-wallpaper">http://github.com/jness/xkcd-wallpaper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=361</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new Magic the Gathering Blog</title>
		<link>http://blog.flip-edesign.com/?p=356</link>
		<comments>http://blog.flip-edesign.com/?p=356#comments</comments>
		<pubDate>Fri, 13 Aug 2010 18:07:33 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=356</guid>
		<description><![CDATA[Just put up a new Magic the Gathering Blog site: http://mtg.flip-edesign.com/]]></description>
			<content:encoded><![CDATA[<p>Just put up a new Magic the Gathering Blog site:</p>
<p><a href="http://mtg.flip-edesign.com/"> http://mtg.flip-edesign.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=356</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Documentation Location</title>
		<link>http://blog.flip-edesign.com/?p=352</link>
		<comments>http://blog.flip-edesign.com/?p=352#comments</comments>
		<pubDate>Mon, 22 Mar 2010 22:14:18 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=352</guid>
		<description><![CDATA[I have began written up documentation and placing them at http://flip-edesign.com/docs/]]></description>
			<content:encoded><![CDATA[<p>I have began written up documentation and placing them at <a href="http://flip-edesign.com/docs/">http://flip-edesign.com/docs/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=352</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LVM Snapshots for MySQL Backups</title>
		<link>http://blog.flip-edesign.com/?p=325</link>
		<comments>http://blog.flip-edesign.com/?p=325#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:49:52 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[RHEL Logical Volume Manager]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=325</guid>
		<description><![CDATA[Say that you are working with some data that is constantly changing, like some MySQL databases, and you are charged to take a valid backup without any data inconsistency or downtime. You may consider using mysqldump; however, this utility will lock tables during the duration of the backup and can cause down time (especially if [...]]]></description>
			<content:encoded><![CDATA[<p>Say that you are working with some data that is constantly changing, like some MySQL databases, and you are charged to take a valid backup without any data inconsistency  or downtime.  You may consider using mysqldump; however, this utility will lock tables during the duration of the backup and can cause down time (especially if using MyISAM table engine which performs Table level locking). Then, you think you may just copy or archive the MySQL table files (/var/lib/mysql/DB), however, this can cause data inconsistent as during the copy some of the data may of changed.  Not to mention, if it is InnoDB table engine all table data is stored in the ibdata files.</p>
<p>At this point you may be scratching your head not knowing what to do.  You could stand up another server and setup MySQL replication.  Unfortunately, you do not have any available server&#8217;s or workstation to setup for this purpose.  Fortunately, for you, this server will setup by default with LVM (Logical Volume Management) by your distribution. Using LVM, we are able to create a snapshot of an existing  Logical Volume using free space on the Volume Group.  Lets go ahead and see some of the syntax and examples below.</p>
<p>Below we have our Logical Volume mounted on /var/lib/mysql.</p>
<pre><code>
# df -h /var/lib/mysql/

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/mysql-lvol0

591M   38M  524M   7% /var/lib/mysql
</code></pre>
<p>So lets go ahead and check out the information about this Logical Volume.</p>
<pre><code>
# lvdisplay /dev/mysql/lvol0

--- Logical volume ---

LV Name                /dev/mysql/lvol0

VG Name                mysql

LV UUID                BW3zO3-KVvQ-ABvt-4ylN-bw8t-ivvj-Vsp48P

LV Write Access        read/write

LV Status              available

# open                 1

LV Size                600.00 MB

Current LE             150

Segments               1

Allocation             inherit

Read ahead sectors     auto

- currently set to     256

Block device           253:2
</code></pre>
<p>Now lets check the Volume Group this Logical Volume is apart of and see if there is any free space.</p>
<pre><code>
# vgdisplay mysql

--- Volume group ---

VG Name               mysql

System ID

Format                lvm2

Metadata Areas        1

Metadata Sequence No  2

VG Access             read/write

VG Status             resizable

MAX LV                0

Cur LV                1

Open LV               1

Max PV                0

Cur PV                1

Act PV                1

VG Size               1020.00 MB

PE Size               4.00 MB

Total PE              255

Alloc PE / Size       150 / 600.00 MB

Free  PE / Size       105 / 420.00 MB

VG UUID               PtaSHo-cdQ4-ofy1-ug6O-7q3z-OLS6-4oAyRt
</code></pre>
<p>As we do have an available 420 MB or 105 PE (Physical extents) lets go ahead and create a snapshot, mount it and view its contents.</p>
<pre><code>
# lvcreate --size 400MB --snapshot --name snap /dev/mysql/lvol0

Logical volume "snap" created

# mount /dev/mysql/snap /mnt/

# ls -l /mnt

total 20568

-rw-rw---- 1 mysql mysql 10485760 Feb 24 09:19 ibdata1

-rw-rw---- 1 mysql mysql  5242880 Feb 24 09:25 ib_logfile0

-rw-rw---- 1 mysql mysql  5242880 Feb 24 09:18 ib_logfile1

drwx------ 2 mysql mysql    16384 Feb 24 09:14 lost+found

drwx------ 2 mysql mysql     4096 Feb 24 09:18 mysql

srwxrwxrwx 1 mysql mysql        0 Feb 24 09:25 mysql.sock

drwx------ 2 mysql mysql     4096 Feb 24 09:18 test
</code></pre>
<p>Now we have a snapshot of our MySQL data which will not change even though the live data mounted at /var/lib/mysql is contently changing. Using this snapshot we can safely copy the contents and if need be use for a restore in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=325</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Daily Linux Questions</title>
		<link>http://blog.flip-edesign.com/?p=322</link>
		<comments>http://blog.flip-edesign.com/?p=322#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:21:04 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=322</guid>
		<description><![CDATA[Hey just wanted to throw out there a new project I have been working on, its a site which has rotating Linux Questions. Have a look at http://dailylinux.info]]></description>
			<content:encoded><![CDATA[<p>Hey just wanted to throw out there a new project I have been working on, its a site which has rotating Linux Questions. Have a look at <a href="http://dailylinux.info">http://dailylinux.info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=322</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBMC Manually adding non scrapped TV Show&#8217;s to TV Library</title>
		<link>http://blog.flip-edesign.com/?p=310</link>
		<comments>http://blog.flip-edesign.com/?p=310#comments</comments>
		<pubDate>Sun, 31 Jan 2010 16:48:54 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=310</guid>
		<description><![CDATA[So last night I placed a couple Japanese anime episodes on my XBMC, the only the problem was all the TV scrappers did not have these episodes listed as the US versions have not caught up to this season (I&#8217;m sure this also goes for series that do not exist in the US). My solution [...]]]></description>
			<content:encoded><![CDATA[<p>So last night I placed a couple Japanese anime episodes on my XBMC, the only the problem was all the TV scrappers did not have these episodes listed as the US versions have not caught up to this season (I&#8217;m sure this also goes for series that do not exist in the US). My solution however was to create .nfo files for each of these movies and I came up with a simple one liner to make this more automated.</p>
<pre><span style="color: #ff0000;">for i in `ls`
   do
     echo "&lt;tvshow&gt; &lt;title&gt;`echo $i | awk -F\. '{print $1}'`&lt;/title&gt; &lt;/tvshow&gt;" &gt; `echo $i | awk -F\. '{print $1}'`.nfo
   done</span>
</pre>
<pre><span style="color: #808080;">-- Before Script ---
jness@XBMCLive:~/tmp$ ls -l
total 0
-rw-r--r-- 1 jness jness 0 2010-01-31 10:38 230.avi
-rw-r--r-- 1 jness jness 0 2010-01-31 10:38 231.avi
-rw-r--r-- 1 jness jness 0 2010-01-31 10:38 233.avi

-- After Script ---
jness@XBMCLive:~/tmp$ ls -l
total 12
-rw-r--r-- 1 jness jness  0 2010-01-31 10:38 230.avi
-rw-r--r-- 1 jness jness 38 2010-01-31 10:40 230.nfo
-rw-r--r-- 1 jness jness  0 2010-01-31 10:38 231.avi
-rw-r--r-- 1 jness jness 38 2010-01-31 10:40 231.nfo
-rw-r--r-- 1 jness jness  0 2010-01-31 10:38 233.avi
-rw-r--r-- 1 jness jness 38 2010-01-31 10:40 233.nfo</span>
</pre>
<p>Looking in one of the files you will see I just took the initial Number (minus extension) and placed that as the Title of the movie, this way you will see a list of Episode numbers in your TV Library for this Series.</p>
<pre><code><span style="color: #808080;">
-- File contents --
</span></code><span style="color: #808080;">jness@XBMCLive:~/tmp$ cat 230.nfo
&lt;tvshow&gt; &lt;title&gt;230&lt;/title&gt; &lt;/tvshow&gt;
</span></pre>
<p>And if you wanted to get a bit more complex you can have a look at the XBMC TVShow NFO standards at <a href="http://xbmc.org/wiki/?title=Import_-_Export_Library#TV_Shows">http://xbmc.org/wiki/?title=Import_-_Export_Library#TV_Shows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=310</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s inside the iPad?</title>
		<link>http://blog.flip-edesign.com/?p=306</link>
		<comments>http://blog.flip-edesign.com/?p=306#comments</comments>
		<pubDate>Sat, 30 Jan 2010 20:31:17 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=306</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.flip-edesign.com/wp-content/uploads/2010/01/ipad.jpg"><img class="alignnone size-medium wp-image-307" title="ipad" src="http://blog.flip-edesign.com/wp-content/uploads/2010/01/ipad-240x300.jpg" alt="" width="240" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=306</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic on Dell Mini 10</title>
		<link>http://blog.flip-edesign.com/?p=296</link>
		<comments>http://blog.flip-edesign.com/?p=296#comments</comments>
		<pubDate>Fri, 29 Jan 2010 18:44:13 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Linux and Dell Mini 10]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=296</guid>
		<description><![CDATA[UBUNTU 9.10 Installation on Dell Mini 10 Install Ubuntu 9.10 x86 (http://www.ubuntu.com/getubuntu/download) Install Video drivers: https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo/ ﻿﻿﻿ # sudo wget http://dl.dropbox.com/u/1338581/Gma500/scripts/poulsbo.sh &#38;&#38; sh ./poulsbo.sh Add the &#8220;partner&#8221; Karmic repo in: System -&#62; Admin -&#62; Software Sources -&#62; Other Software (tab) Performed a full update Rebooted, when GUI failed dropped to shell and ran: # sudo [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #333333;"><strong>UBUNTU 9.10 Installation on Dell Mini 10</strong></span></p>
<ol>
<li><span style="color: #333333;"> Install Ubuntu 9.10 x86 (<a href="http://www.ubuntu.com/getubuntu/download">http://www.ubuntu.com/getubuntu/download</a>)</span></li>
<li><span style="color: #333333;"> Install Video drivers: https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo/</span></li>
</ol>
<ul>
<li><span style="color: #333333;">﻿﻿﻿ <span style="color: #ff0000;"># sudo wget http://dl.dropbox.com/u/1338581/Gma500/scripts/poulsbo.sh &amp;&amp; sh ./poulsbo.sh</span></span></li>
</ul>
<ol>
<li><span style="color: #333333;"> Add the &#8220;partner&#8221; Karmic repo in: System -&gt; Admin -&gt; Software Sources -&gt; Other Software (tab)</span></li>
<li><span style="color: #333333;"> Performed a full update</span></li>
<li><span style="color: #333333;">Rebooted, when GUI failed dropped to shell and ran:</span></li>
</ol>
<ul>
<li><span style="color: #ff0000;"> # sudo dpkg-reconfigure psb-kernel-source</span></li>
</ul>
<ol>
<li><span style="color: #333333;">Rebooted, ran:</span></li>
</ol>
<ul>
<li><span style="color: #ff0000;"> # sudo apt-get install linux-backports-modules-alsa-karmic-generic</span></li>
</ul>
<ol>
<li><span style="color: #333333;"> Rebooted and verified internal mic worked</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=296</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running XBMC on my Acer Revo</title>
		<link>http://blog.flip-edesign.com/?p=291</link>
		<comments>http://blog.flip-edesign.com/?p=291#comments</comments>
		<pubDate>Thu, 28 Jan 2010 17:31:22 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=291</guid>
		<description><![CDATA[I haven&#8217;t been able to put up all the information about my experience with XBMC on the Acer Revo yet, but feel free to watch a short video of the final product.]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t been able to put up all the information about my experience with XBMC on the Acer Revo yet, but feel free to watch a short video of the final product.</p>
<p><object width="400" height="300" ><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.facebook.com/v/1077402071784" /><embed src="http://www.facebook.com/v/1077402071784" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="300"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=291</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automate Twitter Advertisements</title>
		<link>http://blog.flip-edesign.com/?p=284</link>
		<comments>http://blog.flip-edesign.com/?p=284#comments</comments>
		<pubDate>Wed, 27 Jan 2010 00:50:11 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[TwitterBot]]></category>

		<guid isPermaLink="false">http://blog.flip-edesign.com/?p=284</guid>
		<description><![CDATA[I have created a PHP Graphic Interface to &#8220;phptwitterbot&#8221;  (http://code.google.com/p/phptwitterbot/), using this easily to use Interface you can automate Search&#8217;s and responses on Keywords you choose, making it easy to get visitors or make cash. This software is only $5.00 and available via PayPal. This PHP interface allows you to add multiple Twitter accounts which [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a PHP Graphic Interface to &#8220;phptwitterbot&#8221;  (http://code.google.com/p/phptwitterbot/), using this easily to use Interface you can automate Search&#8217;s and responses on Keywords you choose, making it easy to get visitors or make cash. This software is only $5.00 and available via PayPal.</p>
<p>This PHP interface allows you to add multiple Twitter accounts which are randomly rotated through, as well as allow&#8217;s the creation of multiple Tweets as well as altering these Tweets.</p>
<p><a href="http://phptwitterbot.info"><img class="alignnone size-medium wp-image-286" title="interface" src="http://blog.flip-edesign.com/wp-content/uploads/2010/01/interface-300x168.jpg" alt="" width="300" height="168" /></a></p>
<p><a href="http://phptwitterbot.info">http://phptwitterbot.info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flip-edesign.com/?feed=rss2&amp;p=284</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
