<?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>geekbin.net &#187; Scripts / Code</title>
	<atom:link href="http://www.geekbin.net/main/category/scripts-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekbin.net/main</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 05:37:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Conky in kde 4.4.4</title>
		<link>http://www.geekbin.net/main/2010/06/conky-in-kde-4-4-4/</link>
		<comments>http://www.geekbin.net/main/2010/06/conky-in-kde-4-4-4/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:15:10 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Conky]]></category>
		<category><![CDATA[Kde]]></category>
		<category><![CDATA[Scripts / Code]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=351</guid>
		<description><![CDATA[Yep, it works! and it looks great too. I pulled the latest version of conky and made some minor tweaks to get it working properly. [ebuild &#160; R &#160; ] app-admin/conky-1.8.0 &#160;USE=&#34;X curl imlib ncurses portmon rss truetype wifi -apcupsd -audacious -debug -eve -hddtemp -iostats -lua -lua-cairo -lua-imlib -math -moc -mpd -nano-syntax -nvidia -thinkpad -vim-syntax [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, it works!  and it looks great too.  I pulled the latest version of conky and made some minor tweaks to get it working properly.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[ebuild &nbsp; R &nbsp; ] app-admin/conky-1.8.0 &nbsp;USE=&quot;X curl imlib ncurses portmon rss truetype wifi -apcupsd -audacious -debug -eve -hddtemp -iostats -lua -lua-cairo -lua-imlib -math -moc -mpd -nano-syntax -nvidia -thinkpad -vim-syntax -weather-metar -weather-xoap&quot; 0 kB</div></div>
<p>As for your conf file, just edit &#8216;/etc/conky/conky.conf and make this your top section before the &#8216;TEXT&#8217; area&#8230;</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">background yes<br />
use_xft yes<br />
xftfont Trebuchet MS:size=8<br />
xftalpha 0.9<br />
update_interval 1.0<br />
total_run_times 0<br />
out_to_consoleu no<br />
out_to_x yes<br />
own_window yes<br />
own_window_type override<br />
own_window_transparent yes<br />
own_window_class conky<br />
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager<br />
double_buffer yes<br />
minimum_size 300 10<br />
maximum_width 300<br />
draw_shades no<br />
draw_outline no<br />
draw_borders no<br />
draw_graph_borders no<br />
default_color white<br />
default_shade_color black<br />
default_outline_color black<br />
alignment bottom_right<br />
gap_x 12<br />
gap_y 30<br />
no_buffers no<br />
uppercase no<br />
cpu_avg_samples 2<br />
override_utf8_locale no</div></div>
<p>Enjoy!!  (if you want to my conky scripts, just ask and I can post them)</p>
<p><a href="http://www.geekbin.net/main/wp-content/uploads/2010/06/desktop-conky-15jun.png"><img src="http://www.geekbin.net/main/wp-content/uploads/2010/06/desktop-conky-15jun-300x187.png" alt="" title="desktop-conky-15jun" width="300" height="187"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/06/conky-in-kde-4-4-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS-321 Added to My Collection</title>
		<link>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/</link>
		<comments>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/#comments</comments>
		<pubDate>Mon, 17 May 2010 07:21:30 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[DNS-321]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Mods]]></category>
		<category><![CDATA[Scripts / Code]]></category>
		<category><![CDATA[UPnP]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=342</guid>
		<description><![CDATA[As I said earlier this weekend, I recently obtained an NAS drive. I was having problems streaming HD movies over my wireless network, and was seeking another solution. After reading some reviews about this drive, I was shocked to find out how it operated. Most of the cons that swayed me to purchase it was; [...]]]></description>
			<content:encoded><![CDATA[<p>As I said earlier this weekend, I recently obtained an NAS drive.  I was having problems streaming HD movies over my wireless network, and was seeking another solution.  After reading some reviews about this drive, I was shocked to find out how it operated.  Most of the cons that swayed me to purchase it was; </p>
<p>one, it basically (as in fully) runs a small linux OS<br />
two, it streams uPnP by default<br />
three, it can be modified (hacked) to allow more options (ssh, web server, MediaTomb, package manager for more goodies, etc)<br />
finally, which is obvious from the first reason, it doesn&#8217;t use NTFS or FAT for it&#8217;s partition, it uses EXT2 or EXT3.</p>
<p>Out of the box, I loaded it with all of my music and movies, and boom, it was sharing.  I later found that it supported NFS so that I could mount it locally, and transfer even faster than ftp.  All around, this was a GREAT purchase.</p>
<p>Not being satisfied, I ventured out a little, and started looking for modifications, after all, it isn&#8217;t perfect.  I stumbled across <a href="http://wiki.dns323.info/howto:fun_plug" target=new >fun_plug</a>.  This allows some great new features to be activated, and unlocks a lot of features that are locked otherwise.  To sum it up, you interrupt the boot process, and obtain access to the core.  This allows you to start ssh and unlock other features on the drive.  This can be down with a few steps, download and copy <a href="http://www.inreto.de/dns323/fun-plug/0.5/">the files</a> over,  reboot, and punch in a couple of commands.</p>
<p>A walkthrough will be under-way soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a 32 Bit Chroot with Funtoo Sources (For Wine)</title>
		<link>http://www.geekbin.net/main/2010/03/creating-a-32-bit-chroot-with-funtoo-sources-for-wine/</link>
		<comments>http://www.geekbin.net/main/2010/03/creating-a-32-bit-chroot-with-funtoo-sources-for-wine/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 09:28:04 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Funtoo]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Scripts / Code]]></category>
		<category><![CDATA[Wine]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=327</guid>
		<description><![CDATA[Since I can&#8217;t seem to get wine to work properly on the 64 bit build, I decided to break down and stop fighting the system. Just create a damn 32bit chroot so that everything works fine. The following (modified from the official gentoo site) were the steps that I took, and everything seemed to build [...]]]></description>
			<content:encoded><![CDATA[<p>Since I can&#8217;t seem to get wine to work properly on the 64 bit build, I decided to break down and stop fighting the system.  Just create a damn 32bit chroot so that everything works fine.  The following (modified from the official gentoo site) were the steps that I took, and everything seemed to build fine with no problems.  I put this is script format so if anyone wants to save 15 minutes of time, then they can just cut/paste this into vim, chmod it, and execute it.  If you decide to be lazy like me, make sure that you review what you are stuffing into your make.conf file.  It might not be what you wanted.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
mkdir /mnt/gentoo32<br />
wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/x86/stage3-x86-current.tar.bz2<br />
tar -xvjpf stage3-x86-current.tar.bz2<br />
cp -L /etc/resolv.conf /mnt/gentoo32/etc/resolv.conf<br />
cp -L /etc/passwd /mnt/gentoo32/etc/passwd<br />
rm /mnt/gentoo32/etc/make.conf<br />
echo &quot;CFLAGS=\&quot;-O2 -march=native -msse2 -pipe -fomit-frame-pointer\&quot;&quot; &gt;&gt; /mnt/gentoo32/etc/make.conf<br />
echo &quot;CHOST=\&quot;i686-pc-linux-gnu\&quot;&quot; &gt;&gt; /mnt/gentoo32/etc/make.conf<br />
echo &quot;CXXFLAGS=\&quot;${CFLAGS}\&quot;&quot; &gt;&gt; /mnt/gentoo32/etc/make.conf<br />
echo &quot;MAKEOPTS=\&quot;-j2\&quot;&quot; &gt;&gt; /mnt/gentoo32/etc/make.conf<br />
mount -o bind /dev /mnt/gentoo32/dev<br />
mount -o bind /dev/pts /mnt/gentoo32/dev/pts<br />
mount -o bind /dev/shm /mnt/gentoo32/dev/shm<br />
mount -o bind /proc /mnt/gentoo32/proc<br />
mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb<br />
mount -o bind /sys /mnt/gentoo32/sys<br />
mkdir -p /mnt/gentoo32/usr/portage/<br />
mount -o bind /usr/portage /mnt/gentoo32/usr/portage/<br />
mount -o bind /tmp /mnt/gentoo32/tmp<br />
emerge --noreplace sys-apps/util-linux<br />
echo<br />
echo /##################################################\<br />
echo <br />
echo NOW RUN THE FOLLOWING: &nbsp; &nbsp; <br />
echo # linux32 chroot /mnt/gentoo32 /bin/bash &nbsp; <br />
echo # source /etc/profile&nbsp; <br />
echo # env-update &nbsp; <br />
echo # emerge -vauND world<br />
echo<br />
echo \##################################################/</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/03/creating-a-32-bit-chroot-with-funtoo-sources-for-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Empty Sub-folders</title>
		<link>http://www.geekbin.net/main/2009/04/17/</link>
		<comments>http://www.geekbin.net/main/2009/04/17/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 23:36:59 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Scripts / Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=17</guid>
		<description><![CDATA[(From Old Database) I was messing around with my music collection and found that I had many empty directories and sub-directories and wanted to get rid of them so that it wasn&#8217;t false excitement on certain bands. After days of searching, and trying to find a solution (without actually having to manually delete 2000+ directories [...]]]></description>
			<content:encoded><![CDATA[<p>(From Old Database) I was messing around with my music collection and found that I had many empty directories and sub-directories and wanted to get rid of them so that it wasn&#8217;t false excitement on certain bands. After days of searching, and trying to find a solution (without actually having to manually delete 2000+ directories manually) I found that simple commands help.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#find /path/to/dir -type d -exec rmdir {} \;</div></div>
<p>Just wanted to paste this so I wouldn&#8217;t forget it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/04/17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
