Skip to content

Instantly share code, notes, and snippets.

View chrisjsewell's full-sized avatar

Chris Sewell chrisjsewell

  • École Polytechnique Fédérale de Lausanne
  • Switzerland
  • 09:24 (UTC +02:00)
  • X @chrisj_sewell
View GitHub Profile
@Girgitt
Girgitt / sftpserver_main.py
Created July 13, 2016 20:34
multithreaded sftp server in python based on https://github.com/rspivak/sftpserver
import time
import socket
import optparse
import sys
import textwrap
import paramiko
from sftpserver.stub_sftp import StubServer, StubSFTPServer
@JeffPaine
JeffPaine / make_github_issue.py
Created July 19, 2012 17:24
Make an issue on github using API V3 and Python
import json
import requests
# Authentication for user filing issue (must have read/write access to
# repository to add issue to)
USERNAME = 'CHANGEME'
PASSWORD = 'CHANGEME'
# The repository to add this issue to
REPO_OWNER = 'CHANGEME'