I write about

    Python - processing GMail IMAP email

    Here is an example of processing your GMail IMAP email in Python. The script below will: login to GMail account using IMAP open your Inbox retrieve and print all messages close mailbox logout # Script adapted from Corey Goldberg# http://coreygoldberg.blogspot.com/2011/07/python-processing-gmail-imap-email.html#!/usr/bin/env python [Read More]
    Tags: python

    How to make Ubuntu Local Repository

    1. Open terminal. Install dpkg-dev ,apache2 and apt-mirror $ sudo su $ apt-get update && apt-get upgrade $ apt-get install dpkg-dev apache2 apt-mirror 2. Create a directory where you will keep your packages. For this example, we'll use /usr/local/mydebs. $ mkdir -p /usr/local/mydebs 3. Now copy your packages into the directory you've just created. $ rsync -truv /var/cache/apt/archives/* /usr/local/mydebs #tip: you can place that command on crontab to sync every... [Read More]

    Send email via Linux Terminal[Ubuntu]

    After searching throught the web, I eventually found a simple way to send emails via linux terminal, by using a simple package called Postfix. This guide is tested with Ubuntu 12.04.I use a Gmail account as SMTP server on Ubuntu-Linux server. Reason as to why I needed to be sending mails via terminal was for system checks, Server disk space monitoring, Server ping status and etc. Postfix via smtp.gmail.com. First,... [Read More]

    ArchLinux4.0: Setting MTU with netctl

    First things first: Ive been encountering some serious internet problems,with either my gateway or the way the network was set. I always felt a huge drop in throughput. After some searching I found out, that netctl can handle custom mtu configurations as well. The 'ExecUpPost' entry in a connection profile handles this. Here's the simple ethernet-static profile that I'm using for my work network : nerd@trojan:/$ sudo nano /etc/netctl/my_lan Description='Science... [Read More]
    Tags: Linux

    How do I find my optimum MTU setting?

    I haven't been updating my blog for the past few months, But hey I finally got to Marion Island(-47.876404, 37.861019), when I got there I found out the internet was a bit crappy, (1mbps Satellite link). So i was set on a mission to optimize my internet experience - I finally found a way to optimize my browsing experience. By adjusting the MTU - Maximum Transmission Unit On Windows: Step... [Read More]

    How to Disable HDD Formatting Option from My Computer

    Note for Beginners A while ago, I mistakenly Formatted my disk-drive confusing it for a USB drive, the Drive contained all of my personal information (pictures, documents, eBooks and school stuff).  And this was not the first time that happened by accident. The main problem is I manoeuvre around my computer rather FAST,  and most times I don't get the time to think before I Click Yes/DO the REAL FORMAT!!!  With my frustrations,... [Read More]
    Tags: Windows

    Save to Dropbox from the Chrome right-click menu[Trick]

    The era of saving documents on memory cards/sticks is no more, This days everyone who is clued up is using cloud storage. I for one use dropbox for school and related, Google drive for pictures and skydrive for book storage and relevant materials.I have seldom found myself stuck at times as i did not have a mobile storage devices on myself, this led me to use my email as a... [Read More]