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
Gloal: test | |
Propertis: | |
test=${packageClassName} | |
forkMode=once | |
maven.surefire.debug=-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} | |
jpda.listen=true |
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
.config(['$provide', function($provide){ | |
$provide.decorator('$modal', function($delegate){ | |
var original = $delegate.open; | |
var wrapFunction = function wrapFunction (obj, functionName, callback){ | |
var originalFunction = obj[functionName]; | |
obj[functionName] = function(){ | |
var result = originalFunction.apply(this, arguments); | |
callback.apply(this, arguments); | |
return result; | |
}; |
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
@Configuration | |
@Import(CassandraTestConfig.class) | |
public class AxonTestContext { | |
@Bean | |
public EventStorageEngine eventStorageEngine(Cluster cluster){ | |
return new CassandraEventStorageEngine(cluster, new XStreamSerializer()); | |
} | |
@Bean |
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
# Copy the Qualifier annotation from the instance variables to the constructor | |
# see https://github.com/rzwitserloot/lombok/issues/745 | |
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier |
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
/** | |
* Solver for https://www.powerlanguage.co.uk/wordle/ (keep in mind the word list might change in the future) | |
* example usage to get the word of tomorrow `Solver.determineWord(Solver.HELPERS.xDaysInTheFuture(1))` | |
*/ | |
const Solver = { | |
startDate: new Date(2021, 5, 19, 0, 0, 0, 0), | |
wordList: ["cigar", "rebut", "sissy", "humph", "awake", "blush", "focal", "evade", "naval", "serve", "heath", "dwarf", "model", "karma", "stink", "grade", "quiet", "bench", "abate", "feign", "major", "death", "fresh", "crust", "stool", "colon", "abase", "marry", "react", "batty", "pride", "floss", "helix", "croak", "staff", "paper", "unfed", "whelp", "trawl", "outdo", "adobe", "crazy", "sower", "repay", "digit", "crate", "cluck", "spike", "mimic", "pound", "maxim", "linen", "unmet", "flesh", "booby", "forth", "first", "stand", "belly", "ivory", "seedy", "print", "yearn", "drain", "bribe", "stout", "panel", "crass", "flume", "offal", "agree", "error", "swirl", "argue", "bleed", "delta", "flick", "totem", "wooer", "front", "sh |
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
setInterval(() => { | |
console.log('Checking for points...') | |
const button = document.querySelector('.community-points-summary .tw-transition button') | |
if (button) { | |
button.click() | |
console.log('Juicy points!') | |
} | |
}, 10000) |