All articles

Disabling Blanking in Raspberry Pi

Blanking is whereby a screen just goes blank (i.e. black screen). This usually happens after some time of no usage on the raspberry pi which is about 15 minutes. This can sometimes become frustrating especially if it is a screen set up for monitoring something.

So to disable it …

GRUB RESCUE FiX

So I found myself in windows some time this week, and it started updating. The process had one major consequence, grub could not discover my linux partition, and so brought me to a prompt containing 'grub_rescue'.

To fix this, I first did:

ls

This will show a list of …

Asus Zenbook Keyboard & Screen Brightness Fix On i3

Keyboard backlight fix

Source for this information can be found here

The link has a file called kb-light.py. I set up this file in /usr/local/bin.

I then opened my i3config file and added the following:

bindsym XF86KbdBrightnessUp exec python /usr/local/bin/kb-light.py +
bindsym XF86KbdBrightnessDown …

My First Vim Function

I finally got down to writing my first vim function. It was a gruelling journey but I finally got through it. So I'll write down the problem I had and the fix I finally came up with as my solution.

Problem Statement

I usually keep a to do list of …

Setting Up Raspberry Pi

The raspberry pi is a mini computer with GPIO pins that can be used to interface with various sensors and actuators. More information of the raspberry pi can be found here

The SD card should be of a size greater than 4GB, especially if you want to install Raspbian Jesse …

ASUS ZenBook UX330UA ArchLinux Setup

I recently got the ASUS ZenBook UX330UA-AH54, which is a really awesome machine. I've been using it for one month now, and its beautiful.

So first thing I did with the laptop was install archlinux (dual boot with windows). These are the steps I took to set up archlinux. Most …

Vim Airline Setup

I was watching this video on how to use vim+tmux effectively (Video Link), and this guy had some really awesome looking vim. I decided to try it out and see if I could end up with something just that great.

I did my research and found two alternatives, powerline …

Git Branches

Lets say we have have a project A that works really well and serves our purpose. Then there is this new killer feature that we want to add to the project. Adding it directly to project A is not a really good thing as it might break whats working.

So …

Adb Usage at Work

To use adb in archlinux, first install android-tools.

sudo pacman -S android-tools

I then add the adb resources to the android rules files. To do this, first do lsusb, you'll get something like this:

lsusb
Bus 001 Device 004: ID 12d1:256b Huawei Technologies Co., Ltd.

To add this to …

Why To Use Github

Github is a really awesome tool. It's where most open source project live. In my case, I use github as a means of control and tracking. I've been doing so many projects in my free time, but however I do not have a record or something that can show what …

« Page 6 / 7 »