Skip to content

Instantly share code, notes, and snippets.

View joshisumit's full-sized avatar
🎯
Focusing

Sumit Joshi joshisumit

🎯
Focusing
View GitHub Profile
@joshisumit
joshisumit / python_request_create_gist.py
Last active April 5, 2024 17:38
Create GIST from your python code with python requests module and OAuth token.
'''
HTTP Reuests has following parameters:
1)Request URL
2)Header Fields
3)Parameter
4)Request body
'''
#!/usr/bin/env python
import requests
@joshisumit
joshisumit / credentials
Created May 2, 2015 05:57
Openstack localrc
auth_url=http://192.168.1.11:5000/v2.0/
tenant=admin
username= admin
password= devstack123