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
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
maven { | |
url "https://d314astu88ufzo.cloudfront.net/artifactory/poste-quorum" | |
credentials(PasswordCredentials) { | |
username "${artifactory_user}" | |
password "${artifactory_password}" | |
} |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.conio</groupId> | |
<artifactId>test</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>test</name> | |
<url>http://maven.apache.org</url> | |
<repositories> |
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
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<servers> | |
<server> | |
<id>artifactory</id> | |
<username>postequorum</username> | |
<password>P0$t3It4l14nE</password> | |
</server> |
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/lib/jvm/jdk-11.0.2/bin/java -ea -Djavax.net.debug=ssl,handshake -Didea.test.cyclic.buffer.size=1048576 -javaagent:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/lib/idea_rt.jar=37591:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/bin -Dfile.encoding=UTF-8 -classpath /home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/lib/idea_rt.jar:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/plugins/junit/lib/junit5-rt.jar:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/plugins/junit/lib/junit-rt.jar:/home/mypc/dev/java/quarkus/alexa_swear/target/test-classes:/home/mypc/dev/java/quarkus/alexa_swear/target/classes:/home/mypc/.m2/repository/io/xlate/property-inject/1.0.5/property-inject-1.0.5.jar:/home/mypc/.m2/repository/org/apache/logging/log4j/log4j-core/2.8.2/log4j-core-2.8.2.jar:/home/mypc/.m2/repository/org/apache/logging/log4j/log4j-api/2.8.2/log4j-api-2.8.2.jar:/home/mypc/.m2/repository/com/ama |
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/lib/jvm/jdk-11.0.2/bin/java -Djavax.net.debug=ssl,handshake -javaagent:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/lib/idea_rt.jar=43707:/home/mypc/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.5233.102/bin -Dfile.encoding=UTF-8 -classpath /home/mypc/dev/java/quarkus/alexa_swear/target/classes:/home/mypc/.m2/repository/io/xlate/property-inject/1.0.5/property-inject-1.0.5.jar:/home/mypc/.m2/repository/org/apache/logging/log4j/log4j-core/2.8.2/log4j-core-2.8.2.jar:/home/mypc/.m2/repository/org/apache/logging/log4j/log4j-api/2.8.2/log4j-api-2.8.2.jar:/home/mypc/.m2/repository/com/amazon/alexa/ask-sdk/2.27.1/ask-sdk-2.27.1.jar:/home/mypc/.m2/repository/com/amazon/alexa/ask-sdk-core/2.27.1/ask-sdk-core-2.27.1.jar:/home/mypc/.m2/repository/com/amazon/alexa/ask-sdk-runtime/2.27.1/ask-sdk-runtime-2.27.1.jar:/home/mypc/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar:/home/mypc/.m2/repository/com/amazon/alexa/ask-sdk-model/1.25.1/ask-sdk-model |
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 io.mirko; | |
public class Main { | |
static volatile boolean condition = true; | |
public static void main(String ... args) throws Exception { | |
new Thread(new AnotherThread()).start(); | |
if (condition) { | |
methodA(); | |
} | |
} |
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
[ | |
{ | |
"name": "org.apache.commons.logging.impl.LogFactoryImpl", | |
"allDeclaredConstructors": true, | |
"allPublicConstructors": true, | |
"allDeclaredMethods": true, | |
"allPublicMethods": true, | |
"allDeclaredClasses": true, | |
"allPublicClasses": 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
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
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
newtype MyCont r a = MyCont ((a -> r) -> r) | |
mycont :: MyCont r a -> (a -> r) -> r | |
mycont (MyCont f) = f | |
instance Functor (MyCont r) where | |
fmap f (MyCont ma) = undefined | |
instance Applicative (MyCont r) where | |
pure a = undefined |
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
import qualified Data.Text as T | |
import Playground.Contract | |
import Plutus.Contract | |
import PlutusTx.Prelude | |
import qualified Prelude as Haskell | |
-- | A 'Contract' that logs a message. | |
hello :: Contract () EmptySchema T.Text () | |
hello = logInfo @Haskell.String "Hello, world" |