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
| @Grab(group="joda-time", module="joda-time", version="2.0") | |
| import org.joda.time.LocalDate | |
| def ini = new LocalDate(2012, 3, 1) | |
| def fim = new LocalDate(2012, 3, 5) | |
| for (dia in ini..fim) { | |
| println "${dia.toString('dd-MM-yyyy')}" | |
| } |
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
| @Grab(group="joda-time", module="joda-time", version="2.0") | |
| import org.joda.time.LocalDate | |
| LocalDate.metaClass.next << { -> delegate.plusDays(1) } | |
| def ini = new LocalDate(2012, 3, 1) | |
| def fim = new LocalDate(2012, 3, 5) | |
| for (dia in ini..fim) { |
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
| 01-03-2012 | |
| 02-03-2012 | |
| 03-03-2012 | |
| 04-03-2012 | |
| 05-03-2012 |
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
| #!/bin/bash | |
| :<<'END-INFO' | |
| hackMouseBrowsingSlackHistory.sh - Script to correct the expected behavior of browsing Slack | |
| history using the mouse back and forward buttons. | |
| Autor: R. Catto <[email protected]> | |
| -------------------------------------------------------------------------------------------------- |
OlderNewer