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
| package de.nikos410; | |
| import java.lang.reflect.Type; | |
| import com.fasterxml.jackson.core.JsonProcessingException; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import com.google.gson.Gson; | |
| import com.google.gson.GsonBuilder; | |
| import com.google.gson.JsonDeserializationContext; | |
| import com.google.gson.JsonDeserializer; |
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
| #!/usr/bin/zsh | |
| set -e | |
| setopt EXTENDED_GLOB | |
| echo "URL?" | |
| read url | |
| uuid=$(uuidgen) | |
| work_directory="/tmp/yt-dl/$uuid" |
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
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "Example", | |
| "version": "1" | |
| }, | |
| "paths": {}, | |
| "components": { | |
| "schemas": { | |
| "BranchDto": { |
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
| { | |
| "awayIndicator": "#e0b333", | |
| "buttonBg": "#859900", | |
| "buttonColor": "#fdf6e3", | |
| "centerChannelBg": "#073642", | |
| "centerChannelColor": "#93a1a1", | |
| "codeTheme": "solarized-dark-custom", | |
| "dndIndicator": "#d24b4e", | |
| "errorTextColor": "#dc322f", | |
| "linkColor": "#268bd2", |
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
| version: '3' | |
| services: | |
| nginx-relay: | |
| build: ./nginx-relay/ | |
| restart: unless-stopped | |
| volumes: | |
| - ./data/nginx-relay:/etc/nginx/conf.d | |
| command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; /opt/nginx/sbin/nginx -s reload; done & /opt/nginx/sbin/nginx -c /etc/nginx/conf.d/nginx.conf -g \"daemon off;\"'" | |
| expose: |
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 numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib.animation import TimedAnimation | |
| from matplotlib.animation import FuncAnimation | |
| import math | |
| import serial | |
| import threading | |