Skip to content

Instantly share code, notes, and snippets.

View sarajmunjal's full-sized avatar

Saraj Munjal sarajmunjal

View GitHub Profile
@sarajmunjal
sarajmunjal / keybase.md
Created October 10, 2017 23:49
Verifying Github account on Keybase

Keybase proof

I hereby claim:

  • I am sarajmunjal on github.
  • I am sarajmun (https://keybase.io/sarajmun) on keybase.
  • I have a public key ASDw6fc_dogy9I19K-IT1HBg6gOLAcVKweI1A9gaKjCbdAo

To claim this, I am signing this object:

@sarajmunjal
sarajmunjal / clone_repos.py
Created July 30, 2015 21:01
Helps to clone all repos in your organisation. Useful for setting up, or maybe backing up the universe on your last day at work :) Insert values for organisation, username, password.
import requests
import requests_oauthlib
import os
from requests_oauthlib import OAuth1
organisation = "<org_name>"
username = "<username>"
password = "<your_password>"
url = "https://api.github.com/orgs/" + organisation + "/repos"
auth = (username,password)
@sarajmunjal
sarajmunjal / savedCards.json
Created July 23, 2015 10:45
Saved Cards JSON
{
"controlInfo": {
"operationName": "FetchSavedCards",
"customerType": "DSL",
"channel": "APP"
},
"statusCode": "0",
"businessOutput": {
"lobId": "2",
"loginId": "9818458257",