Skip to content

Instantly share code, notes, and snippets.

View kra3's full-sized avatar
🤠
I may be slow to respond.

Arun Karunagath kra3

🤠
I may be slow to respond.
View GitHub Profile
class User{
String name;
int age;
float height;
void set_user();
User get_user();
}
void User::set-user(){
usr = {'name': "Someone", 'age': 33, 'height': 6.1 }
Usr = { 'User',
{name, someone},
{age, 33},
{height, 6.1}
}.
usr = ('User',
('name', 'someone'),
('age', 33),
('height', 6.1)
)
@kra3
kra3 / bpython.patch
Created September 26, 2011 18:18
bpython_to_web2py.patch
# HG changeset patch
# User Arun K Rajeevan <the1.arun@gmail.com>
# Date 1302552098 -19800
# Node ID fa92d22264a58dd6b232c28b1dd4c78f8ee62c4f
# Parent d3dc0e7da9aac20f5bab6f2d61afcb78b2444a47
added bpython support
diff -r d3dc0e7da9aa -r fa92d22264a5 gluon/shell.py
--- a/gluon/shell.py Mon Apr 11 09:13:22 2011 -0500
+++ b/gluon/shell.py Tue Apr 12 01:31:38 2011 +0530
@kra3
kra3 / moveit_moveit.py
Created October 12, 2011 11:28
To keep your mouse busy, so you will be always online in IM even if you are not at desk.
__author__ = "Arun K Rajeevan (kra3)"
__copyright__ = "Copyright 2011-2012"
__license__ = "BSD"
__version__ = "2"
__email__ = "the1.arun@gmail.com"
__status__ = "Production"
import time
import ctypes