This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| { | |
| "caption": "SublimeREPL: SML", | |
| "command": "run_existing_window_command", "args": | |
| { | |
| "id": "repl_sml", | |
| "file": "config/SML/Main.sublime-menu" | |
| } | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| body { | |
| font: 10px sans-serif; | |
| } | |
| .axis path, | |
| .axis line { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| # Program to ping the Android Top Charts page every once | |
| # in a while to get the top games and store it into a | |
| # JSON file for processing later | |
| # Crude version of code. Requires cleaning up. | |
| # Author: Alagappan Ramu | |
| # Version: 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" href="/etc/designs/www/news/css/jquery-ui.css" /> | |
| <script src="/etc/designs/www/news/js/jquery-ui.js"></script> | |
| <script type="text/javascript"> | |
| $(function(){ | |
| var startDateVal, endDateVal, dateRange; | |
| //Edit the string for the number of returned results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /Users/aramu/Code/Masters/Distributed/GroupMessenger/bin | |
| adb -s emulator-5554 install GroupMessenger.apk | |
| adb -s emulator-5556 install GroupMessenger.apk | |
| adb -s emulator-5558 install GroupMessenger.apk | |
| adb -s emulator-5560 install GroupMessenger.apk | |
| adb -s emulator-5562 install GroupMessenger.apk | |
| cd - | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import datetime | |
| import os | |
| import sys | |
| t1 = datetime.datetime.now() | |
| os.system("java -cp ../bin:../other/jsqlparser.jar edu.buffalo.cse562.Main --data /../data /../sqlfile/"+sys.argv[1]+" > "+sys.argv[1]+".dat") | |
| t2 = datetime.datetime.now() | |
| diff = t2-t1 | |
| print diff | |
| print diff.seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import sys | |
| import time | |
| import urllib | |
| import smtplib | |
| import datetime | |
| import traceback | |
| from bs4 import BeautifulSoup | |
| def sendemail(exception=false): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.BufferedReader; | |
| import java.io.DataOutputStream; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.io.UnsupportedEncodingException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.net.URLEncoder; | |
| import java.util.ArrayList; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Program to Tweet from Goyaka Radios FB Group""" | |
| __author__ = 'Alagappan' | |
| __version__ = '0.1' | |
| import requests | |
| import twitter | |
| #import pdb | |
| import time | |
| FB_CONFIG = {'app_id' : "FB_APP_ID", |