Skip to content

Instantly share code, notes, and snippets.

Dominic Rubas rubas

Block or report user

Report or block rubas

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
@rubas
rubas / tunnel.sh
Last active Nov 12, 2017
Automatically start/stop a ssh tunnel and SOCKS proxy in OSX
View tunnel.sh
#!/bin/sh
HOST="user@ssh-server.dyndns.org"
PORT=22
NETWORK="Wi-Fi"
case "$1" in
'start')
echo "Start SSH Tunnel" && \
ssh -fNy -D 8000 $HOST -p $PORT -M -S ~/.ctl-ssh-tunnel && \
@rubas
rubas / Dockerfile
Last active May 3, 2016
[1] Elixir Dockerfile.build
View Dockerfile
FROM msaraiva/elixir-dev
MAINTAINER You
# Important! Update this no-op ENV to refresh image
ENV REFRESHED_AT 2016-05-02
ENV HOME /root
# Upgrade all packages and install needed packages
RUN apk --update upgrade && \
apk add docker erlang-xmerl && \
@rubas
rubas / Dockerfile
Last active May 3, 2016
[2] Elixir Dockerfile
View Dockerfile
FROM msaraiva/elixir
MAINTAINER You
# Important! Update this no-op ENV to refresh image
ENV REFRESHED_AT 2016–05–02
ENV HOME /root
# Upgrade all packages
RUN apk — update upgrade && \
rm -rf /var/cache/apk/*
You can’t perform that action at this time.