Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block unnamalai-kb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
unnamalai-kb /
Created Jan 31, 2019
Python 3 Simple HTTPS Server
# python ../
# in your browser, visit:
# https://localhost:4443
from http.server import HTTPServer, SimpleHTTPRequestHandler
import ssl
httpd = HTTPServer(("localhost", 4443), SimpleHTTPRequestHandler)
httpd.socket = ssl.wrap_socket (httpd.socket, certfile="../httpsserver.pem", server_side=True)
View bigquery.js
// This javascript code queries a Google Cloud BigQuery database
// Prerequisites:
// 1. Setup a service account (Bigquery.admin) by following the below link
// 2. create a folder adminkey on the path of the javascript and save the service account json file
// 3. Execution in NodeJS
// npm install --save @google-cloud/bigquery
You can’t perform that action at this time.