Zcentric

Blog

Posts

Tav’s Fabric Fork Quick Start

@Mike Zupan · Mar 7, 2011 · 1 min read

Tweet I’ve been a big fan of the fabric project for a long time now. It has made my life very easy in the past and gets better with each new release. Well a few weeks ago I got introduced to a fork of the project by Tav. It provides many new feature additions to fabric and makes fabric a little bit better. So …

Read More →

Senior Linux Admin Interview Question #2

@Mike Zupan · Jan 14, 2011 · 2 min read

Tweet You can see all the questions I have compiled here. Question You are already logged into a server and a user runs a fork bomb script. How can you stop the fork bomb without restarting the server or bringing any services offline that are currently running? You also know the name of the running fork bomb script. …

Read More →

Senior Linux Admin Interview Question #1

@Mike Zupan · Jan 13, 2011 · 2 min read

Tweet So I’m starting a bit of a series on my blog. I’ve found there are no good senior level Linux admin questions out there to ask. A lot of companies with a sys admin team have their default questions they ask but when you are hiring your first sys admin and want a senior guy there is no real way to …

Read More →

MongoDB: Remove an arbiter from a replica set

@Mike Zupan · Oct 20, 2010 · 1 min read

Tweet This isn’t really a straight forward task. From what I know in 1.7 there is a command but that is development only. So I’m running 1.6 and to see the config for my replica set I run rs.conf(); I get the following output > rs.conf(); { "_id" : "core", "version" : 3, "members" : [ { "_id" : 0, …

Read More →

Install Chromium on Fedora

@Mike Zupan · Oct 10, 2010 · 1 min read

Tweet This is an easy one Create the following file /etc/yum.repos.d/chromium.repo With the following contents [fedora-chromium] name=Chromium web browser and deps baseurl=http://repos.fedorapeople.org/repos/spot/chromium/fedora-$releasever/$basearch/ enabled=1 gpgcheck=0 Then run the following yum update yum install …

Read More →

Get Django-NonRel working with VirtualEnv

@Mike Zupan · Sep 24, 2010 · 2 min read

Tweet MongoDB is getting a lot of press recently. I stumbled across a pretty interesting project called Django-nonrel. This is an attempt to build non-relational databases right into mongodb. Before you could always use a 3rd party ORM or just use pymongo right in Django but then you were missing out on all the nice …

Read More →

Change get_absolute_url for the user object in Django

@Mike Zupan · Sep 16, 2010 · 1 min read

Tweet I completely overlooked this in the docs. So if you are here you either didn’t look in the docs or overlooked it also. I was doing something like this return (user.get_absolute_url(), (), {}) Now that sends the user to /user/username/ I wanted the user to go to /u/username/ So in your settings.py file just …

Read More →

Tether your android phone to Fedora

@Mike Zupan · Sep 9, 2010 · 1 min read

Tweet I just dumped my IPhone for an EVO. I wanted it to tether my laptop. I know i can tether using IPhone if I jailbroke it. Why tether on AT&T’s awful network. So I wrote a simple script for the EVO (should work on most androup 2.x phones also) The first thing you want to is enable usb debugging mode on your …

Read More →

WSGI Holygrail run multiple versions of Python on same webserver

@Mike Zupan · Sep 7, 2010 · 1 min read

Tweet One issue hosting providers have is the issue with clients needing to run different version of python. One client might need python 2.4 and others might need 2.5. So in comes uWSGI So this blog post will go over how to install uWSGI on RedHat 5 and making a uWSGI server for both python 2.4 and 2.5 at the same …

Read More →