Skip to content

Instantly share code, notes, and snippets.

View 40four's full-sized avatar
🏈

Sean Bryson 40four

🏈
  • Greenville, SC
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 40four on github.
  • I am 40four (https://keybase.io/40four) on keybase.
  • I have a public key ASCUP1BVQj_b1tkAQkY22Z78ERAUoq1TetO7lerUUpx2ewo

To claim this, I am signing this object:

@40four
40four / tunnel.sh
Created May 9, 2018 01:25 — forked from dserodio/tunnel.sh
Shell script to start/stop an EC2 instance to use as a ssh tunnel
#!/bin/bash
# Start/stop an EC2 instance to use as a ssh tunnel
# requires the aws package locally -- sudo apt-get install awscli
#
# usage: ./tunnel.sh start (spin up EC2 and create the tunnel)
# ./tunnel.sh stop (terminate the EC2 instance to save money)
# ./tunnel.sh resume (in case your tunnel is interrupted but the EC2 instance is still running)
# CHANGE THE PARAMETERS BELOW
@40four
40four / pyjnius installation error
Created November 15, 2017 15:15
Windows 10, pyjnius installation error log.
PS C:\Users\sthompson> python -m pip install pyjnius
Collecting pyjnius
Using cached pyjnius-1.1.1.tar.gz
Requirement already satisfied: six>=1.7.0 in c:\python27\lib\site-packages (from pyjnius)
Requirement already satisfied: cython in c:\python27\lib\site-packages (from pyjnius)
Installing collected packages: pyjnius
Running setup.py install for pyjnius ... error
Complete output from command C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\sthomp~1\\appdata\\local\\temp\\pip-build-xkk2ni\\pyjniu
s\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\
sthomp~1\appdata\local\temp\pip-mdz7m2-record\install-record.txt --single-version-externally-managed --compile: