NOTE: 534 stars, 106 forks. I love you all. Please contribute tips and edits back to this cheat sheet -- email's [email protected] and you can treat gists like git repositories and send git diffs.
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 | |
function wait4tcp () { | |
local nc opt silence op host port ret failed limit tries | |
local OPTIND OPTARG | |
limit=100 | |
op="open" | |
while getopts ":csw:" opt; do |
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/sh -e | |
## | |
## 03/03/2015 | |
## Updates IPv4 and IPv6 on DynV6.com on OSX | |
## https://gist.github.com/smj10j/6730d6136eb206e9b9bc | |
## Original at https://gist.github.com/corny/7a07f5ac901844bd20c9 | |
## | |
## Example call: | |
## token=<token> ./dynv6.sh <your dynv6 hostname> |