- There is a guide for Spring & Docker here
mvn spring-boot:build-image -Dspring-boot.build-image.imageName=xdb/rest
- Creates an image, that then could be started with docker compose
- In case you wonder about the username: https://listenbrainz.org/player/?recording_mbids=3f894709-578e-42a9-a7e8-e7ecffddd759
This file contains hidden or 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
type fetchMoar<Data> = | |
({ variables: { query, page, pageSize } }: | |
{ variables: { query: string | null, page: number, pageSize: number } }) => | |
Promise<{ error?: ApolloError, data: Data }> | |
type PaginationParams = { | |
query: string | null, | |
page?: number, | |
pageSize?: number | |
} |
This file contains hidden or 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
set clipboard=unnamed | |
unmap <Space> | |
exmap newfilehere obcommand file-explorer:new-file | |
nmap <Space>pf :newfilehere | |
exmap new-file-in-pane obcommand file-explorer:new-file-in-new-pane | |
nmap <Space>pF :new-file-in-pane |
This file contains hidden or 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
default partial alphanumeric_keys | |
xkb_symbols "basic" { | |
name[Group1]= "English (US)"; | |
key <TLDE> { [ grave, asciitilde ] }; | |
key <AE01> { [ 1, exclam ] }; | |
key <AE02> { [ 2, at ] }; | |
key <AE03> { [ 3, numbersign ] }; | |
key <AE04> { [ 4, dollar ] }; |
This file contains hidden or 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
/opt/cisco/secureclient/bin/vpnui |
This file contains hidden or 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: Check Secrets | |
on: | |
workflow_call: | |
inputs: | |
stub: | |
required: false | |
type: string | |
default: "stub" | |
secrets: | |
S3_BUCKET: |
This file contains hidden or 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 { z } from 'zod' | |
import { mapValues, omit, pick } from 'lodash' | |
function partialSafeParse<Schema extends z.ZodObject<any>> ( schema: Schema, input: unknown ) { | |
const result = schema.safeParse( input ) | |
if ( result.success ) return result | |
const { fieldErrors, formErrors } = result.error.flatten() | |
if ( formErrors.length ) return result |
This file contains hidden or 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
/** | |
* This is a ESLint config for a Remix project. | |
*/ | |
/** @type {import('eslint').Linter.Config} */ | |
module.exports = { | |
root: true, | |
parserOptions: { | |
ecmaVersion: "latest", | |
sourceType: "module", |
This file contains hidden or 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
sudo openconnect --protocol=anyconnect --user=<Username>@tu-berlin.de https://vpn.tu-berlin.de/ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en" class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
<style> | |
html body {width: 100%;height: 100%;padding: 0px;margin: 0px;overflow: hidden;font-family: arial;font-size: 10px;color: #6e6e6e;background-color: #000;} #preview-frame {width: 100%;background-color: #fff;}</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> | |
<script> | |
//function to fix height of iframe! |
NewerOlder