Skip to content

Instantly share code, notes, and snippets.

curl --request POST \
--url http://localhost:9000/player1-backend-nonprod/internal/metacritic/us/ \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/9.3.3' \
--cookie 'access_token=ODNlNzQyM2ItMjY3Zi00MmRjLTliMWItMjU4NzFhZDY0MGQ3; fandom_global_id=81a26221-79b4-4bcd-b286-340d4ea95bbc' \
--data '{"body":"[\"<p>\\nSonic Frontiers \\n</p>\\n<p>\\n</p>\\n<p>\\n</p>\\n<p>\\n\\t<span data-shortcode=\\\"textscore\\\" data-score=\\\"61\\\" data-classnames=\\\"o-inlineScore-green\\\">61</span> \\t<span data-shortcode=\\\"link\\\" data-asset-type=\\\"catalog_game\\\" data-uuid=\\\"1300575852\\\" data-score=\\\"true\\\"><br/>\\n </span> \\n</p>\\n<p>\\n\\t<span data-shortcode=\\\"link\\\" data-asset-type=\\\"catalog_game\\\" data-uuid=\\\"1400576188\\\" data-score=\\\"true\\\"></span><br/>\\n</span> \\n</p>\",\"<p>Hunter Doohan in '\''Wednesday'\'' </p><p><span data-shortcode=\\\"link\\\" data-asset-type=\\\"catalog_game\\\" data-uuid=\\\"1300570889\\\" data-score=\\\"tr
curl --request POST \
--url http://localhost:9000/player1-backend-nonprod/internal/metacritic/us/ \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/9.3.3' \
--cookie 'access_token=ODNlNzQyM2ItMjY3Zi00MmRjLTliMWItMjU4NzFhZDY0MGQ3; fandom_global_id=81a26221-79b4-4bcd-b286-340d4ea95bbc' \
--data '{"body":"<p><a href=\"https:\/\/go.skimresources.com\/?id=225336X1708649&amp;xs=1&amp;xcust=subid_value&amp;url=https%3A\/\/www.xbox.com\/en-US\/xbox-game-pass\">Sign up for Xbox Game Pass here &gt;<\/a> <br> <a href=\"https:\/\/go.skimresources.com\/?id=225336X1708649&amp;xs=1&amp;xcust=subid_value&amp;url=https%3A%2F%2Fwww.xbox.com%2Fen-US%2Fxbox-game-pass%2Fpc-game-pass%3Fxr%3Dshellnav\">Sign up for PC Game Pass here &gt;<\/a> <\/p><p>All games are available on both console and PC unless otherwise indicated.<\/p><hr><h2>Updates<\/h2><p>KEY:<br> <strong>(U)<\/strong> = console version is exclusive to Game Pass Ultimate subscribers (including EA Play titles)<br> <strong>(G
{
"swagger" : "2.0",
"info" : {
"version" : "0.1.0",
"title" : "Salus Monitor Management"
},
"schemes" : [ "https", "http" ],
"paths" : {
"/api/boundMonitors/{envoyId}" : {
"get" : {
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=54814 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=54815:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Content
var TRIGGER_COLUMN = 2;
var EMAILED_COLUMN_VALIDATION = 3;
var EMAILED_COLUMN_VALIDATION_VALUE = "SENT"
var EMAIL_COLUMN = 1;
var SUBJECT = "YOUVE GOT MAIL"
var MESSAGE = "Hello %, \nThis is the UncleBot from Unclesoklaldkfjklasdf\n Game: %"
function myFunction(e) {
var sheet = SpreadsheetApp.getActiveSheet();
@harageth
harageth / gist:7e22e119ac9c9fba81da72875b3d1dcc
Created May 14, 2018 18:42
Flume thrift source logger sink config
flume.sources = thriftSource
flume.channels = fileChannel
flume.sinks = loggerSink
flume.sources.thriftSource.type = thrift
flume.sources.thriftSource.bind = localhost
flume.sources.thriftSource.port = 4141
# flume.sources.thriftSource.channels = memoryChannel
flume.sources.thriftSource.channels = fileChannel
test.sources = thriftSource
test.channels = fileChannel
test.sinks = outLogger
# A single thrift source to send to all channels
test.sources.thriftSource.type = thrift
test.sources.thriftSource.bind = localhost
test.sources.thriftSource.port = 7878
test.sources.thriftSource.threads = 20
package passByReference;
public class passByReference {
int value;
public passByReference(int value) {
this.value = value;
}
}
@harageth
harageth / blah
Created September 21, 2017 20:12
package passByReference;
public class blah {
public static void main(String[] args) {
passByReference value = new passByReference(2);
System.out.println(value.value);
changeValueByReference(value);
System.out.println(value.value);
}
==> default:
==> default: [ivy:retrieve] :::: WARNINGS
==> default: [ivy:retrieve] [FAILED ] org.javassist#javassist;3.18.1-GA!javassist.jar(bundle): invalid sha1: expected=d9a09f7732226af26bf99f19e2cffe0ae219db5b computed=1153878fa3db0c164318521e8e77106f9099f4e5 (218ms)
==> default: [ivy:retrieve] [FAILED ] org.javassist#javassist;3.18.1-GA!javassist.jar(bundle): invalid sha1: expected=d9a09f7732226af26bf99f19e2cffe0ae219db5b computed=1153878fa3db0c164318521e8e77106f9099f4e5 (218ms)
==> default: [ivy:retrieve] ==== httpscentral: tried
==> default: [ivy:retrieve] https://repo1.maven.org/maven2/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar
==> default: [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
==> default: [ivy:retrieve] :: FAILED DOWNLOADS ::
==> default: [ivy:retrieve] :: ^ see resolution messages for details ^ ::
==> default: