A Pen by Andoni Alonso on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
HOST="$1" | |
socat -v TCP-LISTEN:0,fork,reuseaddr TCP:${HOST}.mq.us-east-1.amazonaws.com:443 & | |
SOCAT_PID="$!" | |
sleep 1 | |
SOCAT_PORT=$(netstat -putona | grep $SOCAT_PID | awk '{print $4}' | cut -d':' -f2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello Challenge! |
I hereby claim:
- I am andoniaf on github.
- I am xtrece (https://keybase.io/xtrece) on keybase.
- I have a public key ASBtN76F9y7dFY780Qz6JBnHIi_Eu5JYq7JDXLTZa8KoLwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conky.config = { | |
alignment = 'bottom_left', | |
background = true, | |
border_width = 1, | |
cpu_avg_samples = 2, | |
default_color = 'white', | |
default_outline_color = 'white', | |
default_shade_color = 'white', | |
draw_borders = false, | |
draw_graph_borders = true, |