July 19, 2011 0

Empty Words Bingo

By in Fun, Nothing

A few months ago I created Empty Words so people can track the absurd things they hear in their everyday life.  I’ve decided to add a new feature inspired by buzzword bingo:

 

Bingo cards are generated off the phrases entered into the Empty Words website, play with your co-workers!, play with your boss! (well, that might not be a good idea).

July 18, 2011 0

Hatch – Create and Share Configuration Templates

By in Fun, SysAdmin

About a month ago I wrote what I call hatch, which helps you create templates and generate configurations on the fly. Originally the idea was to allow people to store configuration files, but I nixed that idea and it reduced my amount of code by about 50%. Instead I added a few convenient features such as a copy-to-clipboard button, comments, markdown syntax, tagging, and user profiles with avatar support.

On top of all the new features, hatch went through a re-design:

To make hatch better, I’ve started eating my own dog food and so far so good.

July 14, 2011 0

Getting apt-get install dovecot-common dovecot-imapd dovecot-pop3d to work in ubuntu

By in SysAdmin

When installing dovecot you might get this error:

Setting up dovecot-common (1:1.2.9-1ubuntu6.5) …
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
hostname: Name or service not known

What this mean’s is that the installer is trying to issue “hostname -f” and it can’t resolve your fqdn.

-f, Display the FQDN (Fully Qualified Domain Name). A FQDN consists of a short host name and the DNS domain name. Unless you are using bind or NIS for host lookups you can change the FQDN and the DNS domain name (which is
part of the FQDN) in the /etc/hosts file. See the warnings in section THE FQDN above, and avoid using this option; use hostname –all-fqdns instead.

The Fix:
vi /etc/hosts
11.11.11.11 example.com example

where 11.11.11.11 is your publicly routeable ip address

July 11, 2011 0

django-tagging and template tags

By in Fun, SysAdmin

I recently used django-tagging for a project and ran into the following error when trying to use this package’s template tags:
“Invalid block tag: ‘tag_cloud_for_model’ ”

To use this package’s template tags (such as tag_cloud_for_model) you must load the template tag code as such:

{% load tagging_tags %}

It’s not in the documentation…

June 2, 2011 1

Hatch – Configuration File Generator

By in SysAdmin

I usually make templates for standard configurations, then utilize find/replace to plug in the specific values. When a teammate needs to make a similar configuration file I send them my “template” and they find/replace values usually in notepad or whatever. That works fine, but I wanted to make my life easier. Hatch is a web-app which allows you to create and share your own text templates.

Demo it: hatch.use.io
Username: demo
Password: demo

Github: https://github.com/akonkol/hatch