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
/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
<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
<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
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
use std::sync::Arc; | |
use std::thread; | |
use std::time::Duration; | |
fn main() { | |
let ref_counter = Arc::new(true); | |
for i in 0..10 { | |
let cur_ref_counter = Arc::clone(&ref_counter); | |
thread::spawn(move || { | |
thread::sleep(Duration::from_secs(i + 1)); |
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
struct NiceStructure<'a, T: Iterator<Item=&'a u32>> { | |
it: T | |
} | |
fn f<'a, T: Iterator<Item=&'a u32>>(it: &mut NiceStructure<'a, T>) { | |
// This does not work: cannot move out of borrowed content | |
// for x in it.it { | |
// println!("Element {:?}", x); | |
// } | |
// This works |
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
use std::str; | |
struct ReadLoud<'a> { | |
current_element: Option<u32>, | |
numbers_iterator: str::Chars<'a>, | |
next_elements: Vec<u32> | |
} | |
impl <'a> ReadLoud<'a> { |
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 itertools | |
def a_default_value(): | |
return 1 | |
def b_default_value(): | |
return 'hello' |
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 subprocess | |
class RunCmd(object): | |
def __init__(self, cmd): | |
self.cmd = cmd | |
def cmd_run(self): | |
subprocess.call(self.cmd, shell=True) |