Skip to content

Instantly share code, notes, and snippets.

View JDWarner's full-sized avatar

Josh Warner JDWarner

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import math
from PyQt4 import QtGui, QtCore
def binomial(i, n):
#!/usr/bin/env python
"""In order to use the script you need to copy your SSH key to the target server
and also copy the server SSH public key (usually .ssh/id_rsa.pub) to .ssh/authorized_keys,
so that the computing node can ssh passwordless to the login node"""
from subprocess import Popen, PIPE, call
import sys
import webbrowser
from getopt import getopt
import time