1. Warning: DocumentRoot does not exist

    Posted on in System Administration

    If you're using Red Hat Enterprise Linux (RHEL) or one of it's variants (CentOS, etc.), you may have noticed that using a non-standard document root for your Apache-based web site results in a DocumentRoot does not exist warning if the directory exists. The most likely cause of this problem is …

  2. Unable to Connect to Remote Asterisk

    Posted on in voice

    It's not often that I have to restart a Asterisk VoIP PBX. I recently upgraded to the latest version of Asterisk 1.4. After the installation was complete, I restarted the service and everything appeared to be functioning OK. Processes were running and owned by the asterisk user. When I …

  3. Average IP Packet Size

    Posted on in Networking

    In this case, gentlemen, size matters.

    Yesterday, I calculated the average packet size for one of the networks I work on using data from 263986M (263,986,000,000+) packets.

    Average packet size for that sample was 557 bytes.

  4. Voice over IP (VoIP) Protocol Review

    Posted on in voice

    Protocol Basics


    Layer: Application Transport: <acronym title="Transmission Control Protocol">TCP</acronym> or <acronym title="User Datagram Protocol">UDP</acronym> Port(s): 5060, 5061 RFC(s): 2543, 3261

    SIP (Session Initiation Protocol)

    SIP is by far the most popular protocol used in VoIP communication today. SIP was designed as a …

  5. Gmail Search Power

    Posted on in Software

    Gmail logoSomehow, I have let my Gmail inbox get totally out of control. I don't know if it was the holidays or what, but as of this morning, I had over 800 unread messages in my Gmail inbox. I decided a little while ago that it was time to focus on …

  6. Mac OS X: Migrating bookmarks from Firefox to Safari

    Posted on in Software

    Importing Mozilla Firefox bookmarks into Safari on your Mac is really easy. Firefox stores its bookmarks in an HTML file that can be parsed by Safari. In Safari, simply click on the File menu and select Import Bookmarks. This will open a file selection dialog box. Firefox stores its bookmarks …

  7. No such table: django_admin_log

    Posted on in Programming

    If you get this error when trying to save something in the Django admin, it's probably because you forgot to synchronize the database after adding the admin application. If you are using a pre-1.2 version of Django, you can simply:

    $ ./managy.py syncdb
    

    Django 1.2 (which is currently …

  8. Changing Unread Messages to Red in Outlook's Message Lists

    Posted on in Software

    Former Lotus Notes users may prefer to see unread messages in red rather than just bold. Microsoft Outlook uses two different views to display message lists to the user: Messages and Messages with AutoPreview. We will need to change the font color to red in both views to ensure that …

  9. Crashing Android Contacts App

    Posted on in voice

    Android DollsFor about a month, I've had a problem with my Contacts app crashing on my T-Mobile G1. Whenever this would happen, I would be forced to close the Contacts application. This was a pretty major pain in the butt since I tend to use the Contacts and Favorites tab to …

  10. Scrolling in screen

    Posted on in System Administration

    I use screen for various purposes. It's nice to be able to sit down at a different terminal and attach to my same session, for example. I also occasionally run some long-term commands that will blow up if my session is disconnected. The one thing I need to do with …

  11. Sorting dictionary keys in Python

    Posted on in Programming

    For some reason, sorting a dictionary by its keys seems to be one of the most frequently asked Python questions. I'm not sure if this is because it's just much easier to do in other languages, or if the semantics of the language just confuse new Python developers. I guess …

  12. Sipura 2100 ATA Factory Reset Procedure

    Posted on in voice

    This information is contained in the documentation for the ATA, but I never have that handy when I need it. Here are the steps for performing a factory reset on a Sipura 2100 ATA:

    1. Plug an analog phone into either phone port.
    2. Dial ****
    3. Dial 73738#
    4. Dial 1#
    5. Hangup

Slaptijack's Koding Kraken