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
CREATE TABLE test ( | |
test text UNIQUE, | |
combined_key_part1 text, | |
combined_key_part2 text, | |
CONSTRAINT combined_key_unique UNIQUE (combined_key_part1, combined_key_part2) | |
); |
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
<template> | |
<ValidationProvider | |
v-slot="{ errors: veeErrors }" | |
:name="name" | |
:vid="veeId" | |
:rules="veeRules"> | |
<v-checkbox | |
v-bind="$attrs" | |
:hide-details="hideDetails" | |
:error-messages="veeErrors.concat(errorMessages)" |
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 com.vanniktech.rxriddles.operators.withscheduler; | |
import java.time.Duration; | |
import java.util.List; | |
import java.util.concurrent.Callable; | |
import java.util.concurrent.TimeUnit; | |
import io.reactivex.rxjava3.core.Completable; | |
import io.reactivex.rxjava3.core.Flowable; | |
import io.reactivex.rxjava3.core.Observable; |
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
@Test | |
public void cancel_task() throws InterruptedException { | |
LocalDateTime start = LocalDateTime.now(); | |
Action action = () -> { | |
try { | |
Thread.sleep(1000); | |
} catch (InterruptedException ignored) { | |
} | |
}; |
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 com.netflix.experiments.rx; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import rx.Observable; | |
import rx.Observable.OnSubscribe; |
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
interface PaymentEvent { | |
} |
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
<?php | |
/* | |
Skript um Samstage auszurechnen | |
*/ | |
echo "<html> | |
<body> | |
<form action='' method='post'> | |
<input type='date' name='anfangsdatum' value='".date("Y-m-d")."'> |
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 | |
DIR="Einzelne" | |
DIR_MERGED="Einzelne-merged" | |
for filename in $(ls $DIR); do | |
FROM=$DIR/$filename | |
TO=$DIR_MERGED/$filename | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$TO $FROM lagerinfo_notfallblatt.pdf | |
done |
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 com.company; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Regex { | |
public static void main(String[] args) { |
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 com.company; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.nio.charset.Charset; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Path; |
NewerOlder