Computer Science Mojo

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




Projects

Learn Huge

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

LibTo

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

Workaholic

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

What's up

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 »

What are the diffrent ways of saying proposition p → q

Category: Math     Tag: Discrete Math  
By: David     On: Sat 29 August 2015     
The simple statement p → q in discrete mathematics gets confusing when put into English. Here is a table of the common ways of saying p → q:

Continue reading »

How to use MathJax to format HTML math expressions

Category: Web     Tag: HTML   MathJax   Web design  
By: David     On: Thu 27 August 2015     
formatting math expressions with HTML and CSS alone is possible yet pretty frustrating, a simpler and more beautiful alternative is to use MathJax, which is a JS display engine.

Continue reading »

What are cloud computing service models SaaS, PaaS, IaaS

Category: Cloud     Tag: Cloud  
By: David     On: Mon 24 August 2015     
The meanings of SaaS, PaaS, IaaS cloud service models

Continue reading »

How to easily create HTML floating clouds using marquee

Category: Web     Tag: HTML   Web design  
By: David     On: Thu 20 August 2015     
The easiest way to create floating clouds is simple using HTMLs marquee tag and a cloud icon from font awesome. No complicated animation needed.
Alt Text

Continue reading »

How to use GDAL Python to transform geotiff pixels to lat lon real-word coordinates

Category: GDAL     Tag: GDAL   Linux   Python  
By: David     On: Thu 06 August 2015     
GDAL gdaltransform is a easy way to transform a pixel of a tiff image to its corresponding lat/lon coordinate.

Continue reading »

How to check all files and find a file type in all directories in Python

Category: Python     Tag: Linux   Python  
By: David     On: Thu 06 August 2015     
Going through all the directories to find the path of a specific type of file is easy in Python. This helps with mass processing files.

Continue reading »

How to solve Chrome flickering in VirtualBox

Category: Linux     Tag: VirtualBox   Chrome   Errors  
By: David     On: Thu 06 August 2015     
If you enabled 3D acceleration for a VirtualBox guest, and Chrome starts flickering in that guest. Go into Chrome's Advanced settings and disable "Use hardware acceleration when available" to solve the problem
Alt Text

Continue reading »

« Page 3 / 5 »