- A good understanding of Java
- Basic working knowledge of android (at least a Hello World program)
- Eclipse 3.6+ (recommended eclipse 4.2 Juno)
- Android ADT plugin 15+ (recommended ADT 20)
- Android SDK for Gingerbread (API Level 9)
#!/usr/bin/env python | |
import sys,urllib2,json | |
data={} | |
raw_data = "raw_data" | |
parsed_data = "parsed_data" | |
file_names = "file_names" | |
def exit(): | |
sys.exit("----") |
ruby -r webrick -e "s = WEBrick::HTTPServer.new(:Port => 8000, :DocumentRoot => Dir.pwd); trap('INT') { s.shutdown }; s.start" |
$ ab -n 10000 -c 100 "http://localhost:9002/Socket/select?columnFamily=lost" | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests | |
Completed 4000 requests |
#!/bin/bash | |
/path/to/eclipse & | |
P=`which eclipse` | |
disown `pidof ${P}` |
<?php | |
/** | |
* This Script inserts a mongo array in the database and | |
* retrieves its id and displays it | |
*/ | |
$form=array( | |
"model"=>"DynamicFormResponse", | |
"options"=>array( | |
"type"=>"post", |
#!/bin/bash | |
# | |
# Script to display an alert message once downloads complete | |
# Takes the same parameters as wget | |
# | |
wget $@ | |
wait | |
zenity --info --text="Download Complete" |
#!/bin/zsh | |
# | |
# A shell Script to start VirtualBox VMs in Various Modes | |
# Useful when placed in ~/bin | |
# | |
type="" | |
case $2 in | |
[g|G] ) | |
type="gui" | |
;; |
############ GIT ################ | |
# Delete local branch | |
git branch -D <branch-name> | |
# Delete remote branch | |
git push origin :<branch-name> | |