'''
Created on 22-Jan-2013
@author: abhi
'''
import httplib,urllib
from urlparse import urlparse
headers = {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0','Referer': 'http://site3.way2sms.com/'}
username = '7676580202'
password = 'pianist'
def open_way2sms_com():
conn = httplib.HTTPConnection("www.way2sms.com")
conn.request("GET","/")
res = conn.getresponse()
location = res.getheader('location')
...
24 January 2013
23 January 2013
remote control commands to the Samsung tv over LAN
#! /usr/bin/python
# Title: samsungremote.py
# Author: Asif Iqbal
# Date: 05APR2012
# Info: To send remote control commands to the Samsung tv over LAN
# TODO:
import socket
import base64
import time, datetime
#IP Address of TV
tvip = "100.0.0.123" #get_settings('tvip')
#IP Address of TV
myip = "100.0.0.112" #get_settings('myip')
#Used for the access control/validation, but not after that AFAIK
mymac = "00-0c-29-3e-b1-4f"...
14 January 2013
An IRC bot written in Brainfuck
Usage
I've included a simple brainfuck interpreter that uses a TCP connection for input and output.
You can probably run this through a regular old brainfuck interpreter and do some crazy shit to wire it
up to a TCP connection, but I didn't feel like it. You can probably make something work with socat.
You can use the custom bf interpreter like this:
netfuck hostname:port path/to/code.bf
For example, to connect the bot to freenode, use...
The Felix Programming Language
The fastest scripting language on Earth.
Download |
Overview: Slideshow |
Tutorial |
Reference |
Community
Why do we need a new programming language?
Existing languages have too many faults to support modern requirements.
Goals.
high performance
rapid prototyping and a scripting language deployment model
safety and correctness
scalability
adaptability
platform...
13 January 2013
gcsms allows you to programmatically send SMS to your number for free
through Google Calendar service. You must set up a few things before
using gcsms to send SMS:
1. Setup a Google account if you don't already have one
- https://gmail.com
2. In Google Calendar (https://calendar.google.com),
under 'Calendar Settings' -> 'Mobile Setup', enter your mobile number
and verify it.
3. In API Console (https://code.google.com/apis/console), under
...
01 January 2013
Ninja Saga Association Panel
import flash.utils.*;
public dynamic final class _StrPool1336 {
public static function _StrPool1337(_arg1:int):String{
//unresolved jump
var _local2:* = new Array(13592198, 2368548, 2368549, 4216384, 1381701, 13592198, 4989476, 5973285,...