Skip to content

Instantly share code, notes, and snippets.

View rose-m's full-sized avatar

Michael Rose rose-m

View GitHub Profile
@rose-m
rose-m / README.md
Last active December 4, 2024 09:02
AWS Workspace Reverse Tunnel Proxy

AWS Workspace Reverse Tunnel Proxy

This setup allows you to open a reverse SSH tunnel to an external machine and then be able to use the AWS Workspace machine as a jump host for any network access by starting a SOCKS5 proxy.

Setup

  1. Make sure you have Cygwin installed on the AWS Workspace machine.
  2. Download microsocks.exe as raw file to the AWS Workspace machine.
  3. Copy the tunnel.sh script - put it in the same folder as microsocks.exe on the AWS Workspace machine (best copy both to your Cygwin home directory).
@rose-m
rose-m / video2gif.sh
Created August 24, 2017 17:46
Convert Video files to GIFs using FFMPEG
#!/bin/bash
# Script to convert video files to GIFs using ffmpeg
FFMPEG_PATH=$(which ffmpeg)
if [[ -z FFMPEG_PATH ]]; then
echo "FATAL: ffmpeg was not found in your path - please install beforehand"
exit 1
fi
FPS=10
@rose-m
rose-m / shellStuff.sh
Created November 3, 2016 07:16
Handy Tools
##### DOWNLOADING JAR WITH DEPENDENCIES FROM MAVEN #####
# 1. Download the latest ivy jar (currently it's v.2.4.0)
curl -L -O http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
# 2. Run ivy.jar to retrieve all dependencies
java -jar ivy-2.4.0.jar -dependency XX_DEPENDENCY_XX -retrieve "lib/[artifact]-[revision](-[classifier]).[ext]"
@rose-m
rose-m / keybase.md
Last active July 5, 2017 09:40
Keybase Proof

Keybase proof

I hereby claim:

  • I am rose-m on github.
  • I am rosem (https://keybase.io/rosem) on keybase.
  • I have a public key ASDWN047qKVeakcYwxSk-UR3bNQ9j-FFL4thCDInPzBb9Qo

To claim this, I am signing this object: