Skip to content

Instantly share code, notes, and snippets.

Available to work

Prasath Mani prasathmani

Available to work
View GitHub Profile
prasathmani /
Created Feb 16, 2020
LetsEncrypt SSL cert on GoDaddy Shared Hosting using
pre required SSH access
## Download and install is a full implementation of a LetsEncrypt client but that doesn't depend on Python/pip/virtualenv/etc, and that doesn't require root -- exactly what we need, since we don't have root an a shared GoDaddy server, and we can't install new software outside of our home directory.
`curl | sh`
Now log out and SSH back in so's install is complete in every way (include the Bash alias).
##Get GoDaddy API Key
Visit ``
prasathmani /
Last active Feb 16, 2020
upload files to google drive using python
import requests, json
# Get refresh token from google drive api
# Generating a refresh token for DRIVE API calls using the OAuth playground
def getToken():
oauth = '' # Google API oauth url
headers = {'content-type': 'application/x-www-form-urlencoded'}
data = {
'grant_type': 'refresh_token',
You can’t perform that action at this time.