Skip to content

Instantly share code, notes, and snippets.

View iskigow's full-sized avatar
🏠
Working from home

Rodrigo Catto iskigow

🏠
Working from home
  • TecSinapse
  • Campo Grande - MS, Brasil
View GitHub Profile
@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')}"
}
@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) {
01-03-2012
02-03-2012
03-03-2012
04-03-2012
05-03-2012
@iskigow
iskigow / ExemploAlerta.png
Last active October 21, 2022 15:49
Utilitários em botões favoritos do navegador
ExemploAlerta.png
@iskigow
iskigow / hackMouseBrowsingSlackHistory.sh
Last active April 23, 2024 18:24
Script to correct the expected behavior of browsing Slack history using the mouse back and forward buttons.
#!/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]>
--------------------------------------------------------------------------------------------------