<?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>kubicle</title>
	<atom:link href="http://www.kubicle.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kubicle.com</link>
	<description></description>
	<lastBuildDate>Sat, 26 Jan 2013 18:24:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>vimrc setting for Python</title>
		<link>http://www.kubicle.com/vimrc-setting-for-python/</link>
		<comments>http://www.kubicle.com/vimrc-setting-for-python/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 13:35:49 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=479</guid>
		<description><![CDATA[" configure expanding of tabs for various file types au BufRead,BufNewFile *.py set expandtab au BufRead,BufNewFile Makefile* set noexpandtab " -------------------------------------------------------------------------------- " configure editor with tabs and nice stuff... " -------------------------------------------------------------------------------- set expandtab " enter spaces when tab is pressed set textwidth=120 " break lines when line length increases set tabstop=4 " use 4 spaces [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/vimrc-setting-for-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schedule cronjob every second time it runs</title>
		<link>http://www.kubicle.com/schedule-cronjob-every-second-time-it-runs/</link>
		<comments>http://www.kubicle.com/schedule-cronjob-every-second-time-it-runs/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 15:00:49 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux cronjob]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=475</guid>
		<description><![CDATA[I needed a way to run a cronjob every other Saturday. You could alter this for other scenarios as long as you set the correct schedule in your crontab. 0 3 * * 6 /root/scripts/MYSCRIPT.sh The first time cron runs, it should detect that no file is present (in this case &#8220;/tmp/cron_control&#8221;), which in turn [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/schedule-cronjob-every-second-time-it-runs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git command</title>
		<link>http://www.kubicle.com/git-command/</link>
		<comments>http://www.kubicle.com/git-command/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 17:31:29 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=468</guid>
		<description><![CDATA[Track remote branch bash# git fetch bash# git branch --track previously_created_branch origin/previously_created_branch]]></description>
		<wfw:commentRss>http://www.kubicle.com/git-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup all MySQL databases using Python</title>
		<link>http://www.kubicle.com/how-to-backup-all-mysql-databases-using-python/</link>
		<comments>http://www.kubicle.com/how-to-backup-all-mysql-databases-using-python/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 20:21:31 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[python mysql]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=456</guid>
		<description><![CDATA[#!/usr/bin/env python import ConfigParser import os import time username = 'dbuser' password = 'dbpassword' hostname = 'localhost' filestamp = time.strftime('%Y-%m-%d') # Get a list of databases with : database_list_command="mysql -u%s -p%s -h %s --silent -N -e 'show databases'" % (username, password, hostname) for database in os.popen(database_list_command).readlines(): database = database.strip() if database == 'information_schema': continue filename [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/how-to-backup-all-mysql-databases-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How we use Puppet to inventory our servers.</title>
		<link>http://www.kubicle.com/how-we-use-puppet-to-inventory-our-servers/</link>
		<comments>http://www.kubicle.com/how-we-use-puppet-to-inventory-our-servers/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 18:02:50 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[puppet]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=409</guid>
		<description><![CDATA[I think every sysadmin can relate to this, you&#8217;re in the kitchen getting a cup of coffee and your boss happens to walk in. You spend a couple of minutes having small talk but as soon as you&#8217;re done he drops the bomb. &#8220;Hey, could you send me a list of all the servers we [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/how-we-use-puppet-to-inventory-our-servers/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>exec of init (/sbin/init) failed</title>
		<link>http://www.kubicle.com/exec-of-init-sbininit-failed/</link>
		<comments>http://www.kubicle.com/exec-of-init-sbininit-failed/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 18:44:36 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=393</guid>
		<description><![CDATA[One fine day I get an email from an engineer. Apparently he removed glibc, no idea what he was doing but I was asked to somehow rebuild the box and preserve data. The problem was, we weren&#8217;t able to log into the system. Single user mode didn&#8217;t work either so now I&#8217;m stumped. Here&#8217;s the [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/exec-of-init-sbininit-failed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to modify and repackage an RPM</title>
		<link>http://www.kubicle.com/how-to-modify-and-repackage-an-rpm/</link>
		<comments>http://www.kubicle.com/how-to-modify-and-repackage-an-rpm/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 16:16:21 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=383</guid>
		<description><![CDATA[Having to install any software and then configuring it so that it fits into your environment can be a pain in the butt. Especially if you have to roll it out to hundreds of servers. One such software is nagios&#8217; nrpe client. After every install, I had to modify the nrpe.conf file to allow access [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/how-to-modify-and-repackage-an-rpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using tcpdump</title>
		<link>http://www.kubicle.com/using-tcpdump/</link>
		<comments>http://www.kubicle.com/using-tcpdump/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 18:13:38 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=374</guid>
		<description><![CDATA[To view incoming and outgoing packets on port 80 [code]tcpdump -i eth0 tcp port 80[/code] To view outbound traffic over port 80 [code]tcpdump -i eth1 tcp dst port 80 and src host 192.168.0.10[/code] To suppress verbose output, you just want to view source/destination [code]tcpdump -q -i eth1 tcp dst port 80 and src host 192.168.0.10[/code]]]></description>
		<wfw:commentRss>http://www.kubicle.com/using-tcpdump/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Large file transfer using netcat</title>
		<link>http://www.kubicle.com/large-file-transfer-using-netcat/</link>
		<comments>http://www.kubicle.com/large-file-transfer-using-netcat/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 20:44:52 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netcat]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=367</guid>
		<description><![CDATA[I didn&#8217;t feel like setting up a NFS share and ftp access within the organization is just plain stupid if you ask me. scp is cool but also lots of overhead. netcat is the shit. client -> serverA target -> serverB On my client (where I want to send files from), I connect to serverB [...]]]></description>
		<wfw:commentRss>http://www.kubicle.com/large-file-transfer-using-netcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS and browser detection with javascript</title>
		<link>http://www.kubicle.com/os-and-browser-detection-with-javascript/</link>
		<comments>http://www.kubicle.com/os-and-browser-detection-with-javascript/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:03:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript css]]></category>

		<guid isPermaLink="false">http://www.kubicle.com/?p=357</guid>
		<description><![CDATA[[php] var BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) &#124;&#124; &#8220;An unknown browser&#8221;; this.version = this.searchVersion(navigator.userAgent) &#124;&#124; this.searchVersion(navigator.appVersion) &#124;&#124; &#8220;an unknown version&#8221;; this.OS = this.searchString(this.dataOS) &#124;&#124; &#8220;an unknown OS&#8221;; }, searchString: function (data) { for (var i=0;i]]></description>
		<wfw:commentRss>http://www.kubicle.com/os-and-browser-detection-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
