$ ssh-keygen -t ed25519 -C "user@example.com"
Generating public/private ed25519 key pair.
Enter file in which to save the key (/root/.ssh/id_ed25519):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_ed25519
Your public key has been saved in /root/.ssh/id_ed25519.pub
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
from flask import Flask | |
import requests | |
import yaml | |
app = Flask(__name__) | |
def combine(a, b): | |
a = dict(a) | |
b = dict(b) |
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
openapi: 3.0.0 | |
info: | |
title: Example | |
version: 1.0.0 | |
paths: | |
/p: | |
get: | |
responses: | |
'200': | |
description: Get Person |
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
# iOS: https://apps.apple.com/de/app/vlc-for-mobile/id650377962 | |
# Usage | |
# 1. Put into Scope (.bashrc or equivalent) | |
# 2. Enable "Sharing via WiFi" in VLC | |
# 3. $ upload2vlc 192.168.178.84 test.mp3 | |
upload2vlc() { | |
local UPLOAD_HOST="$1" | |
local UPLOAD_FILE="$2" |
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
public enum OAuth2GrantTypes { | |
// See https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/oauth2/core/AuthorizationGrantType.html | |
AUTHORIZATION_CODE("authorization_code"), | |
IMPLICIT("implicit"), | |
PASSWORD("password"), | |
CLIENT_CREDENTIALS("client_credentials"), | |
REFRESH_TOKEN("refresh_token"); |
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 de.jonasgroeger; | |
import org.junit.jupiter.api.Test; | |
import org.springframework.scheduling.support.CronExpression; | |
import java.time.LocalDateTime; | |
import java.time.ZoneId; | |
class SpringCronExpressionTester { |
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
<Options> | |
<Option Name="InstallLauncherAllUsers" Value="0" /> | |
<Option Name="SimpleInstall" Value="1" /> | |
<Option Name="PrependPath" Value="1" /> | |
<Option Name="Include_test" Value="0" /> | |
<Option Name="Include_doc" Value="0" /> | |
<Option Name="Include_tcltk" Value="0" /> | |
</Options> |
Da Oracle FLoat eh 126 bits präzision hat reicht das aus und das hibernate validate geht durch. https://docs.oracle.com/cd/B28359_01/server.111/b28285/sqlqr06.htm#CHDJJEEA
import org.hibernate.dialect.Oracle12cDialect;
import java.sql.Types;