I write about

    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: $... [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... [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... [Read More]

    Automagically execute a bash function/cmd upon entering a directory.

    Automagically execute a bash function/cmd upon entering a directory. After growing tired of sourcing Petalinux/Yocto-project settings everytime I needed to create/config a project, I decided to compile a script/code that resides under my ~/.bashrc , the only thing the code/script does it automagically source my settings upon entering the directory... [Read More]

    Xilinx PetaLinux 2017.2 installation on Ubuntu 16.04.3

    Xilinx PetaLinux 2017.2 installation on Ubuntu 16.04.3 The user guide for Xilinx PetaLinux 2017.2 installation is UG1144. It is best used together with Xilinx Vivado 2017.2 version (see my last post about how to install Vivado). More info about PetaLinux embedded OS can be found on Xilinx Products page, and on the Xilinx Wiki site.... [Read More]

    My first experience with the ZedBoard SoC board.

    My first experience with the ZedBoard SoC board. I recently registered my Masters and part of my research includes the use of an FPGA for real-time network communications between smart grids. So I am faced with 2 things - learning a new environment as well as a different engineering field which... [Read More]

    How do I change the hostname without a restart?

    How do I change the hostname without a restart? Without restart: Update new hostname sudo vim /etc/hostname also update sudo vim /etc/hosts accordingly sudo sysctl kernel.hostname=mynewlocalhost When done check your current hostname with hostname -f

    Docker: Remove all images and containers

    Docker: Remove all images and containers Problem: You use Docker, but working with it created lots of images and containers. You want to remove all of them to save disk space. Solution: Warning: This will destroy all your images and containers. It will not be possible to restore them! Run those commands in a shell: # Delete all containers $... [Read More]

    Create a global git commit hook

    Create a global git commit hook Recently found out about these git hooks and they work flawlessly but my only worry was that I had to copy all my hooks over every repo such that I could use them, which was a pain sometimes. Then started reading about this so... [Read More]

    Why am I getting 'Errno(105): No buffer space available' when subscribing to multicast addresses?

    Why am I getting "Errno(105): No buffer space available" when subscribing to multicast addresses? I have been experiencing multicast subscription errors on my linux box when trying to subscribe to more that 20 IP's via smcroute and Python-Socket module. See below image to get an idea of the kind of... [Read More]