<?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>CapsUnlock.Net</title>
	<atom:link href="http://www.capsunlock.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.capsunlock.net</link>
	<description>Ideas: Key to Innovations</description>
	<lastBuildDate>Tue, 10 Jan 2012 11:40:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Vagrant: Productivity for both Developers and SysAdmins</title>
		<link>http://www.capsunlock.net/2011/12/vagrant-productivity-developer-sysadmin.html</link>
		<comments>http://www.capsunlock.net/2011/12/vagrant-productivity-developer-sysadmin.html#comments</comments>
		<pubDate>Fri, 02 Dec 2011 13:17:13 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[devops]]></category>
		<category><![CDATA[vagrant]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=933</guid>
		<description><![CDATA[Vagrant is a productive tool in building and distributing virtual images for development. 1. Setup Virtualbox 2. Setup RVM 3. Install Ruby 1.9.2 inside RVM 4. Install Vagrant $ gem install vagrant $ vagrant box add base http://files.vagrantup.com/lucid32.box 5. Install chef (optional) Once everything is set, a simple configuration on Vagrantfile can have the lines: [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/12/vagrant-productivity-developer-sysadmin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx here we go!</title>
		<link>http://www.capsunlock.net/2011/11/nginx-here-we-go.html</link>
		<comments>http://www.capsunlock.net/2011/11/nginx-here-we-go.html#comments</comments>
		<pubDate>Mon, 21 Nov 2011 07:50:11 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=915</guid>
		<description><![CDATA[For the past few months, I have been busy with my personal and client&#8217;s projects. I&#8217;ve moved the site to use Nginx + PHP-fpm and been running smoothly for several days now. So far I&#8217;m happy with the site&#8217;s performance]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/11/nginx-here-we-go.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MongoDB using ec2-consistent-snapshot</title>
		<link>http://www.capsunlock.net/2011/06/mongodb-using-ec2-consistent-snapshot.html</link>
		<comments>http://www.capsunlock.net/2011/06/mongodb-using-ec2-consistent-snapshot.html#comments</comments>
		<pubDate>Thu, 09 Jun 2011 07:18:38 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mongodb]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=863</guid>
		<description><![CDATA[I got this idea to test Eric Lubow&#8217;s ec2-consistent-snapshot With Mongo. Using MongoDB 1.8.1 and Ubuntu Lucid AMI from www.alestic.com On a running Ubuntu Lucid EC2 instance, connect using SSH and do the following: 1. Setup MongoDB. We stop it so we can move it&#8217;s files to the RAID volume. echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/06/mongodb-using-ec2-consistent-snapshot.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>GrayLog2 and MongoDB</title>
		<link>http://www.capsunlock.net/2011/05/graylog2-and-mongodb.html</link>
		<comments>http://www.capsunlock.net/2011/05/graylog2-and-mongodb.html#comments</comments>
		<pubDate>Mon, 30 May 2011 03:47:01 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mongodb]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=855</guid>
		<description><![CDATA[Playing with GrayLog2. The server requires Mongodb + OpenJDK. Got some nice screenshot of my virtualbox servers. Forwarding rsyslog is done by creating a file /etc/rsyslog.d/graylog2.conf with contents below. # Forward all logs to Graylog2 # Replace x.x.x.x with your own Graylog2 server IP *.* @x.x.x.x #udp forwarding Restarting the rsyslog will send log messages [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/05/graylog2-and-mongodb.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Coding with Flask and SQLAlchemy</title>
		<link>http://www.capsunlock.net/2011/05/coding-with-flask-and-sqlalchemy.html</link>
		<comments>http://www.capsunlock.net/2011/05/coding-with-flask-and-sqlalchemy.html#comments</comments>
		<pubDate>Mon, 16 May 2011 09:35:06 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Flask]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=829</guid>
		<description><![CDATA[On my previous post, I&#8217;ve been working with Flask,SQLAlchemy, and Gnunicorn for some REST API. Setting up virtualenv with the following pip requirements. Flask==0.6.1 Flask-SQLAlchemy==0.11 Jinja2==2.5.5 LEPL==5.0.0 MySQL-python==1.2.3 SQLAlchemy==0.6.6 Werkzeug==0.6.2 distribute==0.6.10 gevent==0.13.4 greenlet==0.3.1 gunicorn==0.12.1 lockfile==0.9.1 wsgiref==0.1.2 yolk==0.4.1 The model.py: from flask import Flask from flaskext.sqlalchemy import SQLAlchemy from sqlalchemy import Table, Column, Integer, String, Date, [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/05/coding-with-flask-and-sqlalchemy.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Flask with Gunicorn</title>
		<link>http://www.capsunlock.net/2011/04/running-flask-with-gunicorn.html</link>
		<comments>http://www.capsunlock.net/2011/04/running-flask-with-gunicorn.html#comments</comments>
		<pubDate>Tue, 19 Apr 2011 02:51:57 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Flask]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=781</guid>
		<description><![CDATA[Been playing with Python Flask writing some backend REST API for our game backend. Trying to work on deploying the API using Gunicorn using gevent sudo apt-get install libevent-1.4-2 sudo apt-get install libevent-dev easy_install greenlet easy_install gevent My Gunicorn config file: $ cat gunicorn.py import os def numCPUs(): if not hasattr(os, &#34;sysconf&#34;): raise RuntimeError(&#34;No sysconf [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/04/running-flask-with-gunicorn.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Amazon RDS: Rotating slow_log and general_log</title>
		<link>http://www.capsunlock.net/2011/03/amazon-rds-rotating-slow_log-and-general_log.html</link>
		<comments>http://www.capsunlock.net/2011/03/amazon-rds-rotating-slow_log-and-general_log.html#comments</comments>
		<pubDate>Wed, 16 Mar 2011 03:22:39 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[RDS]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=775</guid>
		<description><![CDATA[Using RDS with slow_log enabled and encountering this error: mysql> select * from slow_log; ERROR 1194 (HY000): Table &#8216;slow_log&#8217; is marked as crashed and should be repaired Fixed by: mysql> CALL mysql.rds_rotate_slow_log; If the same error happens when general_log is enabled, we can use: mysql> CALL mysql.rds_rotate_general_log; These two commands are needed to be run [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/03/amazon-rds-rotating-slow_log-and-general_log.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon AWS Cloud Formation</title>
		<link>http://www.capsunlock.net/2011/02/amazon-aws-cloud-formation.html</link>
		<comments>http://www.capsunlock.net/2011/02/amazon-aws-cloud-formation.html#comments</comments>
		<pubDate>Fri, 25 Feb 2011 09:33:56 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=770</guid>
		<description><![CDATA[Amazon has just announced the new feature, where most of services are consolidate and using templates. Cool. &#8220;Dear Amazon Web Services Customer, We&#8217;re excited to introduce AWS CloudFormation, a new service that gives developers and businesses an easy way to create a collection of AWS resources and provision them in an orderly and predictable fashion. [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/02/amazon-aws-cloud-formation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LittleChef to use SSH keypair</title>
		<link>http://www.capsunlock.net/2011/01/littlechef-to-use-ssh-keypair.html</link>
		<comments>http://www.capsunlock.net/2011/01/littlechef-to-use-ssh-keypair.html#comments</comments>
		<pubDate>Tue, 25 Jan 2011 09:13:17 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=743</guid>
		<description><![CDATA[I found out littlechef from Grig&#8217;s post. Thanks to both Grig and to Miguel for the tool and good writeup. I added some lines to work with the new feature of littlechef about the SSH keypair. Now I can login to my Ubuntu Amazon EC2 instances by specifying the keypair-path on the auth.conf: [userinfo] user [...]]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2011/01/littlechef-to-use-ssh-keypair.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python 2.4.4 and boto-2.0b3 import hashlib error</title>
		<link>http://www.capsunlock.net/2010/12/python-2-4-4-and-boto-2-0b3-import-hashlib-error.html</link>
		<comments>http://www.capsunlock.net/2010/12/python-2-4-4-and-boto-2-0b3-import-hashlib-error.html#comments</comments>
		<pubDate>Wed, 22 Dec 2010 08:31:14 +0000</pubDate>
		<dc:creator>rodney</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.capsunlock.net/?p=724</guid>
		<description><![CDATA[Python 2.4.4 and boto-2.0b3 import hashlib error has a  fix  found <a href="  http://code.google.com/p/boto/issues/detail?id=172#c14">here</a>

Running an older Debian  AMI with RAID0 XFS EBS volumes, I patch boto-2.0b3.  Hopefully,  have this instance migrated  using a newer Ubuntu EBS AMI and use <a href="http://alestic.com/2009/09/ec2-consistent-snapshot">ec2-consistent-snapshot</a> instead. 

1. Copy a patch file to a temporary file:

[plain]
# vi /tmp/c_14.patch
--- boto-2.0b3/boto/ec2/connection.py   Fri Nov 12 14:16:07 2010
+++ boto/ec2/connection.py      Fri Nov 12 15:19:21 2010
@@ -28,7 +28,6 @@
 import base64
 import hmac
 import boto
-from hashlib import sha1 as sha
 from boto.connection import AWSQueryConnection
 from boto.resultset import ResultSet
 from boto.ec2.image import Image, ImageAttribute
@@ -51,6 +50,11 @@
 from boto.ec2.tag import Tag
 from boto.exception import EC2ResponseError
 
+try:
+    from hashlib import sha1 as sha
+except ImportError:
+    import sha
+
 #boto.set_stream_logger('ec2')
 
 class EC2Connection(AWSQueryConnection):
[/plain]
]]></description>
		<wfw:commentRss>http://www.capsunlock.net/2010/12/python-2-4-4-and-boto-2-0b3-import-hashlib-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

