Converting mercurial repository to git

git clone git://repo.or.cz/fast-export.git mkdir new_git_repo cd new_git_repo git init /path/to/hg-fast-export.sh -r /path/to/hg_repo git checkout HEAD

नोव्हेंबर 17, 2013 · 1 min · 15 words · शंतनू

Researcher Translation

नोव्हेंबर 17, 2013 · 0 min · 0 words · शंतनू

Estimation

नोव्हेंबर 16, 2013 · 0 min · 0 words · शंतनू

Success

नोव्हेंबर 16, 2013 · 0 min · 0 words · शंतनू

Server Problem

Explanation

ऑक्टोबर 5, 2013 · 1 min · 1 words · शंतनू

Creating class in python without using class keyword

add2 = lambda x,y: x+y sub2 = lambda x,y: x-y mul2 = lambda x,y: x*y # Second parameter is tuple, used for inheriting classes # Third parameter is dict, used for defining variables and functions myclass = type('myclass', (), {'var1': 10, 'add': add2, 'sub': sub2, 'mul': mul2}) myinstance = myclass() print(myinstance.add(10,20)) print(myinstance.sub(10,20)) print(myinstance.mul(10,20))

ऑक्टोबर 2, 2013 · 1 min · 53 words · शंतनू

Parental Trolling

ऑक्टोबर 2, 2013 · 0 min · 0 words · शंतनू

Reversing the binary of the given number in python

>>> a=int(input('Enter base 10 natural number: ')) Enter base 10 natural number: 42 >>> b = bin(a) >>> a = int(b[:2]+b[2:][::-1], 2) >>> a 21

सप्टेंबर 30, 2013 · 1 min · 25 words · शंतनू

Campfire

सप्टेंबर 14, 2013 · 0 min · 0 words · शंतनू

GnuPG Key signing party

<key_id> will be signed by <your_key_id>. Importing the key from server [gpg2 –recv-keys <key_id>]{.title-ref} Verify fingerprint [gpg2 –fingerprint <key_id>]{.title-ref} Signing the key [gpg2 –sign-key <key_id>]{.title-ref} Sending the key [gpg2 –armor –output <key_id>.signed_by.<your_key_id>.asc –export <key_id>]{.title-ref} <key_id>.signed_by.<your_key_id>.asc can be send by email or shared using any file sharing service. Importing the signed key [gpg2 –import <key_id>.signed_by.<your_key_id>.asc]{.title-ref} Exporting the signed key to server [gpg2 –send-keys <key_id>]{.title-ref} Other useful links What is key signing Debian Key Signing

सप्टेंबर 2, 2013 · 1 min · 73 words · शंतनू