Problem 8: Discover the largest product of five consecutive digits in the 1000-digit number.
Continued reading >
Project Euler – Problem 8
Project Euler – Problem 7
Problem 7: Find the 10001st prime.
Continued reading >
Project Euler – Problem 6
Problem 6:
What is the difference between the sum of the squares and the square of the sums?
Continued reading >
Project Euler – Problem 5
Problem 5:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
Continued reading >
Project Euler – Problem 4
Problem 4: Find largest palindrome from the product of two 3-digit numbers.
Continued reading >
Reddit key-code distribution tool
I recently received an email from cadenzainteractive.com inquiring about a distribution method for steam keys for their then-upcoming giveaway. At the time, all I had was a key-captcha webpage here that utilized captchas to prevent key farming by bots.
After investigating what existed, I found python script – code here – that had successfully distributed 50,000 keys. This script required you had python and additional imports installed.
I was then interested to see if I could write something that others could get started in 1-2 minutes. I ended up whipping up a prototype tool written in javascript/php here within a day of that email.
Getting back to cadenzainteractive, using my tool, they successfully delivered 4,000 steam keys on reddit: http://redd.it/ve7dj.
Try it here
Notes: The program uses the reddit API to reply back to unread messages from reddit users requesting a key.
HTML5 Canvas – Pong
Hi again,
It’s been said that the classic game of Pong is the ‘hello world’ of game creation, and thus I wanted to try my hand at it. In line with my previous attempt at HTML5, this is also built on the canvas element in HTML5.
The AI is a bit shoddy, but hey, it’s a functional game. Interestingly enough, while I was on my lunch break at work, I couldn’t help but test out this game on my phone, which brought me to adding some touch-screen mobile support to it. I have tested it on a touchscreen IPhone and I’m delighted to say it works as expected.
You can click here to try the game out.
HTML5 Canvas
Hi all, been busy with work!
but I found some spare time to try out HTML5 for the first time and I ended up making the game Snake – the classic game from the nokia phones.
Play the game here.
Front page is finally completed
So.. I’ve finally got around to creating front page for this site, it looks pretty good, (well, at least I like it), the concept was to allow the showcasing of the latest project I’ve worked on. I know the usage of iframes is definitely frowned upon, however, with the number of tools such as the Webpage Archiver requiring relative links, it seemed the best way of approaching this without causing major issues with auxiliary webpages.
It’s my first time playing with Jquery, and I find it pretty fun and interesting. I definitely see myself toying with it more in the upcoming months.
On another note, the Webpage Archiver tool is now available for use for the public. I don’t have a description page for it yet, but it soon will.
Go try it out 🙂
Essentially it downloads and saves texts/images for archiving purposes.
Currently I am looking for methods to improve the content delivery time of files saved by the archiver.
Reddit RSS Tool
No longer maintained and disabled
Just wrote a RSS Tool for Reddit.
Currently, if you request an RSS from reddit, all the RSS links will point to the reddit comments. This is not ideal if the topic of the post is (for example) an image. There is no need in going through to the reddit comments first, and then clicking again to reach the image.
This tool will allow you to directly link to the aforementioned image directly from RSS.
To try it out, click here (hosted on this website).
I had a few considerations in mind, and as this idea spawned from mobile device usage, two things came to mind
- Ease of Use
- Bandwidth conservation
By eliminating the 2-step process Continued reading >

