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
/* TCP Host checker | |
* Eric Belanger // github.com/bilange // Twitter: @bilange | |
* | |
* I needed a quick diagnostic tool to troubleshoot a specific issue with my | |
* Ubuntu installation at home: apparently after a long, sustained TCP | |
* connection (thing SSH or VPN), somehow the system throws its hands in the | |
* air and refuses to talk to the same HOST, until I reboot my PC. | |
* | |
* I basically needed to know when a remote host would stop responding to my | |
* requests. Creating a Go program could be seen as overkill, but I wanted to |
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
/* | |
* Exact change calculator (recursion learning exercice) | |
* Eric Belanger // github.com/bilange // Twitter: @bilange | |
* | |
* This code has been build to demonstrate how to do recursion, for people who | |
* wants to know Go better via code examples. This code has been HIGHLY | |
* documented to help the learning process. Feel free to fork, base upon or | |
* otherwise copy this code! :-) | |
* | |
* This MAY be NOT the only way to do this task, so feel free to experiment! |