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 | |
:<<'END-INFO' | |
hackMouseBrowsingSlackHistory.sh - Script to correct the expected behavior of browsing Slack | |
history using the mouse back and forward buttons. | |
Autor: R. Catto <rcatto@iskigow.com> | |
-------------------------------------------------------------------------------------------------- |
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
// ==UserScript== | |
// @name Solve Huetest Kiosk Test | |
// @namespace http://tampermonkey.net/ | |
// @version 2.0 | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @require https://raw.githubusercontent.com/padolsey-archive/jquery.fn/master/sortElements/jquery.sortElements.js | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.xrite.com/hue-test | |
// ==/UserScript== |
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
Caught: org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: org.joda.time.LocalDate.next() is applicable for argument types: () values: [] | |
Possible solutions: get(org.joda.time.DateTimeFieldType), get(org.joda.time.DateTimeFieldType), wait(), era(), now(), year() | |
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: org.joda.time.LocalDate.next() is applicable for argument types: () values: [] | |
Possible solutions: get(org.joda.time.DateTimeFieldType), get(org.joda.time.DateTimeFieldType), wait(), era(), now(), year() |
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
01-03-2012 | |
02-03-2012 | |
03-03-2012 | |
04-03-2012 | |
05-03-2012 |
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
@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 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 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 groovy | |
import org.apache.shiro.crypto.UnknownAlgorithmException | |
@Grab('org.apache.shiro:shiro-core:1.2.4') | |
import org.apache.shiro.crypto.hash.SimpleHash | |
private getOptions(CliBuilder cli, args) { | |
OptionAccessor options = cli.parse(args) | |
if (!options) { | |
return null |
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
Twitter autoresponder bot | |
========================= | |
By Daniel15 (dan.cx) | |
This is a very simple Twitter autoresponder bot. It requires PECL OAuth extension to be installed (run "pecl install oauth", or if on Windows, grab php-oauth.dll. If using cPanel you can install it via WHM). The authentication is designed for command-line usage, it won't work too well via a web browser. You'll have to sign up for an application on Twitter's site to get the consumer key and secret. | |
Could be modified to be more advanced (match regular expressions to answer questions, etc.) | |
By Iskigow | |
Added Match regular expressions... |
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
package br.com.tecsinapse.examples; | |
import java.io.Serializable; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.joda.time.LocalDate; | |
import org.joda.time.YearMonth; | |
import com.google.common.base.Objects; |
NewerOlder