The powershell script to convert Windows ISOs to VHDs works pretty well. However, its usage is pretty confusing and although it is documented on the page, it is buried half way through and I always struggle with it before I get it to work. So more than anything, this blog post is just there as […]
Yearly Archives: 2015
Understanding the GPIO pin out mapping for CC2540DK (SmartRF05EB + CC2540EM module)
Developing a prototype with the CC2540DK (SmartRF05EB + CC2540EM) I hit the issue where the pin mapping from the CC2540 chip to the final breakout pin headers is extremely convoluted. Here is source of this issue: CC2540 is mounted on the CC2540EM module using Pin headers P1 and P2. This implies one pin mapping from […]
Weird black lines between sprites in Cocos2d-x
Today, while building a sample game, I noticed that there were weird black lines between my sprites. Since the sprites are exact size and I am drawing them at integer coordinates exactly, that did not make any sense. After messing around for a while, the culprit was TexturePacker that I used to pack all my […]
Arduino integer overflow headscratcher
I was testing out a piece of Arduino code that someone sent my way. They complained that a globalVariable value increment was not having any effect whatsoever. To better understand see the following sketch. Essentially, if all goes well, once the globalVariableTesting hits a value of 10, the program should stop blinking the LEDs. However, […]
Tired of entering passwords in git-bash? Read on
I have used git-bash for a long while and finally gotten sick of typing passwords all the time.. on Linux/Mac, It Just Works with the ssh-agent. Finally got bugged enough to do the research and found a solution.. See this link on stackoverflow Net is, head over to codeplex download the exe, run it with […]
Cleaning up Visual Studio C++ projects
After manually cleaning up Visual Studio C++ solutions for a long time, finally I had enough when I was trying to clean a Cocos2d-x project with its nested hierarchy of projects.. each with its own bin/debug/arm folders. So I started searching for a solution using powershell. Then I found this awesome blog post by Ricky. […]