This file contains hidden or 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
| #!/usr/bin/env ruby | |
| # Changelog Generator | |
| # Right now, this is date-based. | |
| # TODO: Changelog between two Tags, eg: --tags=1.0.0..1.0.1 | |
| from_date = ARGV[0] | |
| cmd = `git log --no-merges --since='#{from_date}' --pretty='format:%ci::%an <%ae>::%s'`.split /\n/ | |
This file contains hidden or 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
| // Paste these 7 lines into Chrome JS console. | |
| var script = document.createElement("script"); | |
| script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"); | |
| script.addEventListener('load', function() { | |
| var script = document.createElement("script"); | |
| document.body.appendChild(script); | |
| }, false); | |
| document.body.appendChild(script); |
This file contains hidden or 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
| # Use Case | |
| # -------- | |
| # You have solely SSH (port 22) access to a box on a remote LAN. | |
| # You have no Admin access to the firewall to forward ports. | |
| # You need to browse the website on the box via a Web browser. | |
| # From your local, desktop machine: | |
| sudo ssh -NL 80:localhost:80 root@<IP or hostname> |
NewerOlder