In this example it's ya.ru. Got hash from console for compose tg://* link later
docker run --rm nineseconds/mtg:2 generate-secret --hex ya.ru| @Entity | |
| public class Employee { | |
| @Id | |
| @GeneratedValue | |
| private Long id; | |
| @JsonView(SummaryView.class) | |
| private String name; |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| import io.swagger.v3.core.util.RefUtils; | |
| import io.swagger.v3.oas.models.media.JsonSchema; | |
| import io.swagger.v3.oas.models.media.Schema; | |
| import lombok.Getter; | |
| import lombok.Setter; | |
| import org.jooq.lambda.Seq; | |
| import org.jooq.lambda.tuple.Tuple; |
| find ~/.m2 -name "*.lastUpdated" \ | |
| -exec grep -q "Could not transfer" {} \; \ | |
| -print \ | |
| -exec rm {} \; |
| fun List<Int>.allNonZero() = all { it != 0 } | |
| fun List<Int>.allNonZero1() = none { it == 0 } | |
| fun List<Int>.allNonZero2() = !any { it == 0 } | |
| fun List<Int>.containsZero() = any { it == 0 } | |
| fun List<Int>.containsZero1() = !all { it != 0 } | |
| fun List<Int>.containsZero2() = !none { it == 0 } | |
| fun main(args: Array<String>) { | |
| val list1 = listOf(1, 2, 3) |
| package com.cpm; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.IOException; | |
| import java.net.MalformedURLException; | |
| import java.net.URL; | |
| import java.net.URLClassLoader; | |
| import java.util.Locale; | |
| import java.util.PropertyResourceBundle; |
| #!/usr/bin/env bash | |
| XCONF_PROP="xfconf-query -c xfce4-keyboard-shortcuts -p" | |
| RST="-r" | |
| while IFS= read -r line; do | |
| eval "$XCONF_PROP" "\"$line\"" "$RST"; | |
| done <<'EOF' | |
| /xfwm4/custom/<Alt>Insert | |
| /xfwm4/custom/<Alt>Delete |
| #!/usr/bin/env bash | |
| # files with prop keys on each line | |
| KEYS_FILE="/path/to/result.list" | |
| # Extract keys to file | |
| awk -F = '/^[a-z_.]+=/ { print $1 }' /some/path/files > "$KEYS_FILE" | |
| # path to some repo | |
| SEARCH_PATH="/path/to/repo" |
| printf '%s\n' "$NEW_IDS" | ssh "$@" " | |
| umask 077 ; | |
| mkdir -p .ssh && cat >> .ssh/authorized_keys || exit 1 ; | |
| if type restorecon >/dev/null 2>&1 ; then restorecon -F .ssh .ssh/authorized_keys ; fi" |