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

#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.

###Examples

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.