Skip to main content

Posts

A quick guide to unlock and root your Nexus on Android 5.X

I've found a lot of instructions on the internet with a lot of very pervasive and superfluous instructions, and wanted one that was the least destructive with the fewest amount of required steps. These are the steps I use for my Nexus 5: Preparation: Firstly, download the latest adb and  fastboot  binaries (latest is best).   Download SuperSU:  http://download. chainfire.eu/supersu   Download ClockworkMod Touch recovery:  https://www. clockworkmod.com/rommanager (Optionally) download the factory images:  https://developers. google.com/android/nexus/ images Your phone needs to be in  fastboot  mode for any  fastboot  command to work... try Power+VolDown at startup for Nexus 5. To unlock: (Will wipe ALL data, you can always lock again without wiping, may also void your warranty)   fastboot  oem unlock To root: 1)  Boot  up your device at least once! (after unlock or factory image...

My first assembly program dating from 1991 (Motorola 68000 for the Amiga 500)

While resurrecting my old Amiga I found and salvaged some of my first programs from the ailing floppy discs. A program written in 1991 for the Amiga 500. I wrote my first hello world program in 1983, but really learnt how to program in 1984. But this was my first assembly language program. It took me about 2 weeks to learn Motorola 68000 Assembly and the tools needed to develop it. I wrote it for a friend who was designing, building and selling hardware for the Amiga at the time. It was a memory expansion cartridge that upgraded to 1MB CHIP internally (and perhaps also extra fast memory, can't recall). The program tested and reported any defective memory chips. A photo of it (still) running: And here is the source code... don't judge too harshly! opt c+,d+ incdir "df0:include/" include exec/exec.i include exec/exec_lib.i include libraries/dos.i include libraries/dos_lib.i lea ...

The story of my Amiga A1200's new lease on life.

Ok, so I rummaged through my storage in South Africa and found my old Amiga once again. This was not the original one I used to have, this is an Amiga A1200, where I used to have the Amiga A500 back in 1986. A bit of history, I started out with a Atari 2600 back in 1983 (was 10 years old at the time), then saw an advertisement for a cartridge that could do programming... this concept fascinated me, but we could never find it anywhere (it was hard finding the good stuff in South Africa). I settled for a VIC-20 soon afterwards (I sold my Atari), then upgraded to a Commodore C64 soon thereafter. This lasted until 1986 (age 13) when, after countless months of pouring over Commodore User magazines, I decided I wanted an Amiga. I had the choice between an IBM compatible XT (with two floppy disc drives but no graphics) or an Amiga. Both seemingly the same price, but due to the then apartheid-era restrictions and taxes, the Amiga turned out to be very troublesome t...

Google Chrome - pt 1

Ok, just downloaded it. So far it looks a lot better out-of-the box than Firefox does. There are some nice improvements over Firefox for which I have been clamoring for to no avail. Firefox is a hog of CPU and Memory, even when having closed all my pages my Macbook Pro uses 14% CPU to power an Idle, minimized Firefox with only the blank window open... what gives? And, alas, my only recourse to try and find out what is taking up the resources is to use a debugger (and then I can only see threads, not tabs)... granted it seems to be Flash that's the culprit, which in turn made me realize why the iPhone never had Flash... Can you imagine!? So what does Google Chrome do for me? (I only compare it to Firefox since IE is a non-event for me) 1) Google Chrome uses the standard proxy settings like IE and Safari and not it's own custom ones like Firefox. This annoys me no-end about Firefox since I constantly have to change my settings in multiple locations when I move around. 2...

Using OmniCppComplete and vim for C++ auto-completion

Get OmniCppComplete Then install it: (It may overwrite some stuff... take care!) ckdir ~/.vim/ cd ~/.vim/ unzip cppcomplete.zip Then create and set your common tags file: (correct for your local installation locations) ~> ctags –R --c++-kinds=+p --fields=+iaS --extra=+q \ -f ~/vim/commontags \ ~/dev/myTools/include \ /usr/include \ /use/lib/boost/include /usr/lib/qt3/include ------- .vimrc: set tags+=~/vim/commontags ------- Add mapping to create/update local (CWD) project tags files: ------- .vimrc: map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . set tags+=./tags ------- Set up some default options: ------- .vimrc: " OmniCompletionOptions set completeopt=menu,menuone let OmniCpp_NamespaceSearch=2 let OmniCpp_ShowPrototypeInAbbr=1 " let OmniCpp_MayCompleteScope=1 ------- Then add any convenience macros: ------- .vimrc: " Smart VS-type <tab-completion> function ! CompleteTab ( direction ) let prec = strpart ( getline ( '.' ) ...

Lock Screen on Mac OS X using keyboard shortcut.

1. Download "Global Hotkey" 2. Create a folder "Global Hotkey" and copy contents of downloaded DMG to that. 3. In a terminal do: cd "/Applications/Global Hotkey" ln -s /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app "command f10" 4. Make sure Screensaver is set to prompt for password (you may need to relog for this to take effect) 5. Preferences -> Accounts -> -> Login Items : Add "Global Hotkey.app" 6. Launch the app as well