Computer Science Mojo

~ David's Notes on coding, software and computer science


Learn Huge

An open sourced whiteboard for teaching, learning or just scribbling:
Alt Text


A collection of the best and coolest programming libraries
Alt Text

Move Tiles

A clean and simple implementation of the classic N-puzzle game. Includes timer and local leaderboard.
Alt Text

Pentesting Lab

Become a hacker right away ! Pentesting-Lab
Alt Text

Velocity Ruler

Measure the surface water velocity from a distance.
Alt Text


A super challenging shooter game using all direction accelerator controls. Includes global leaderboard and achievements.
Alt Text

Zombie Crush

The street is the last line of defense before zombies reach your quiet neighborhood. Start up the engines and crush them away!
Alt Text

Articles by David

How to fix R package error X11 not found but required

Category: R     Tag: R   Errors  
By: David     On: Sat 09 July 2016     
Encountered configure: error: X11 not found but required while trying to install R rgl package, managed to fix it with: apt-get install xorg-dev

Continue reading »

How to show file size in Linux terminal

Category: Linux     Tag: Linux   Commands  
By: David     On: Sat 09 July 2016     
To list the file size of all the files in the current directory, use the du command

Continue reading »

Hello New World

Category: Pelican     Tag: Misc   Pelican   Blogger  
By: David     On: Fri 01 July 2016     
Moving from Blogger to Pelican
It is a brave new world !

Continue reading »

A Example

Category: Pelican     Tag: Markdown   Syntax  
By: David     On: Fri 01 July 2016     
My Short cheat sheet for Markdown

Continue reading »

How to classify and compare algorithm asymptotic runtimes

Category: Algorithm     Tag: Algorithm   Discrete Math   Runtime  
By: David     On: Fri 11 September 2015     
Asymptotic runtimes can be classified to help with comparison and understanding. There are also some tricky examples that can't be classified at first sight, but will require simple mathematical transformations.

Continue reading »

How to host Project Website on GitHub Pages

Category: Git     Tag: GitHub   Web  
By: David     On: Mon 07 September 2015     
You can host static websites freely on GitHub Pages. They are awesome!

Continue reading »

How to add Google Map Embed API for websites

Category: Web     Tag: HTML   Mapping   Web  
By: David     On: Sun 06 September 2015     
Embed and set up a Google maps window into your website or blog post which comes with unlimited free usage

Continue reading »

What are the types of Proofs methods, Rules of inference, Propositional equivalence

Category: Math     Tag: Discrete Math   Proofs  
By: David     On: Sat 05 September 2015     
Confusing terminology aside, this is a summary of the most important stuff needed for doing proof problems in Discrete Mathematics

Continue reading »

How to fix JavaScript 'e.pageX' returning 'nan' on Android

Category: Android     Tag: Android   JavaScript   Web   Mobile  
By: David     On: Sat 05 September 2015     
If your JavaScript touch code works perfectly on ios but does nothing on Android, "e.pageX" might be the problem. "e.pageX" simple does not work on Android and returns "not a number", though it works fine both on desktop browsers and ios Safari. Use "e.targetTouches[0].pageX" for Android to fix this problem.

Continue reading »

How to increase Blogger post text font size

Category: Web     Tag: Blogger   CSS  
By: David     On: Sat 29 August 2015     
Blogger's default html font size for posts is a bit small. To increase the size of the body of your posts, the most intuitive way for many is to change the text size in the tool bar when writing a post. This comes with many inconveniences. A better approach is to add a CSS rule.

Continue reading »

« Page 2 / 4 »