Skip to content

Instantly share code, notes, and snippets.

Santosh Sah Santosh-Sah

  • Bangalore
Block or report user

Report or block Santosh-Sah

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
Santosh-Sah /
Created Dec 29, 2018 — forked from Calzzetta/
Connection pool with cx_Oracle
import cx_Oracle
def perform_query(query, bind_variables):
connection = db_pool.acquire()
cursor = connection.cursor()
cursor.execute(query, bind_variables)
result = cursor.fetchall()
return result
Santosh-Sah /
Created Aug 6, 2018 — forked from michaelminter/
scp examples # command line, linux, mac

#Example syntax for Secure Copy (scp)

##What is Secure Copy?

scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.


Copy the file "foobar.txt" from a remote host to the local host

View Python Assignment
"cells": [
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1. To Check Harshad No"
You can’t perform that action at this time.