I write about

    First post!

    This is my first post, I’m moving from my mmphego.wordpress,com blog to GitHub pages now. It has been very exciting since I started developing it, soon I’ll add new posts here as well as some of my older ones too. Watch out this space for more!

    How I got rid of the dreaded 'Too many open files' ERROR.

    How I got rid of the dreaded 'Too many open files' ERROR. One of the most frustrating thing about continuous integration namely Jenkins, is getting to work in the morning with a happy smile expecting a successful Jenkins build and being faced with the dreaded errors/ or system failures. Not forgetting that these builds take about 3-5 hours to run and run on actual hardware and in real-time/ Going through... [Read More]

    SSH Tunnel: channel_setup_fwd_listener: cannot listen to port

    SSH Tunnel: channel_setup_fwd_listener: cannot listen to port I was attempting to use SSH to set up a tunnel to my Jenkins server from home, so I typed the following (Like I do in most days): ssh -f -N -L 8080:remote_host:8080 -p 2222 user@host_address …only to be greeted with the error: bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 8080 Whats odd is that I was sure I didn't... [Read More]

    Installing Docker on Ubuntu and how to use it without sudo

    Installing Docker on Ubuntu 16.04 and how to use it without sudo Maybe you have heard about Docker, used to package your applications and services into a standardized unit which can be shipped and executed easily without external dependencies in every environment. In this post I want to show you how to install it in an easy way Docker on Ubuntu 16.04 LTS, and also how to run it without use it... [Read More]

    Zedboard - Setting up a ARM development environment in Linux

    Zedboard - Setting up a ARM development environment in Linux Well now that you have your Zedboard up and running with Petalinux installed, and your network is configured to talk to the outside world, let's get some code running on this thing! First some environmental comments. I am a big fan of Xubuntu. I like it's feel and it's ease of use when it comes to installing packages using the... [Read More]

    Configure IPython5 to have IPython3's readline, tab-completion, (lack-of) syntax highlighting, etc? (self.IPython)

    Configure IPython5 to have IPython3's readline, tab-completion, (lack-of) syntax highlighting, etc? (self.IPython) Like most programmer's I do not like change especially library changes, hence why I had to revert the latest IPython tab-completion back to the previous versions. Start by creating a default iPython profile. From your shell, type: $ ipython profile create That should give output similar to this: [ProfileCreate] Generating default config file: u'/home/user/.ipython/profile_default/ipython_config.py' [ProfileCreate] Generating default config... [Read More]

    Best way to find direct download links of any media

    Best way to find direct download links of any media Disclaimer Notice: This post does not endorse piracy. It's purpose is merely educational. We all know that everyone love convinience, by that I mean having to watch your favorite movie, series or let alone listen to your favorite tunes. But getting hold of those contents in this day of age has became cumbersome. I mere Google search of a movie... [Read More]
    Tags: Tricks

    How to mount remote SSHFS via SSH Tunneling!

    How to mount remote SSHFS via SSH Tunneling! sshfs is very handy for mounting remote directories on your local filesystem. Recently I needed to mount the / directory off a remote server so I can remotely work from home without complicating everything by ssh'ng then vim my code - Painful exercise. All that is needed is to copy the code below to a file and chmod +x it. #!/bin/bash if... [Read More]