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 requests | |
| from PIL import Image, ImageDraw, ImageFont, ImageFilter, ImageOps | |
| from matplotlib import font_manager | |
| import math | |
| from io import BytesIO | |
| import concurrent.futures | |
| # --- Configuration --- | |
| # Jellyfin configuration | |
| JELLYFIN_URL = "YOUR_URL" # e.g., "http://localhost:8096" |
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
| -server | |
| -Xms1g | |
| -XX:MetaspaceSize=1g | |
| -XX:MaxMetaspaceSize=3g | |
| -XX:NewRatio=3 | |
| -Xss256m | |
| -XX:+UseConcMarkSweepGC | |
| -XX:+CMSParallelRemarkEnabled | |
| -XX:ConcGCThreads=4 | |
| -XX:ReservedCodeCacheSize=480m |
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 java.util.Collection; | |
| import java.util.HashSet; | |
| public class AlgoritmosDiversos { | |
| public static final long MAX_SECRET = 1000000; | |
| public static final long SECRET = (long) ((Math.random() * MAX_SECRET) + 1); | |
| public static void main(String[] args) { | |
| new LasVegas(SECRET).start(); |
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 br.com.concretesolutions.desafio; | |
| import java.util.ArrayList; | |
| public class Pessoa { | |
| public static final int MARGUERITA = 0; | |
| public static final int QUATRO_QUEIJOS = 1; | |
| public static final int ESCAROLA = 2; | |
| public static final int PORTUGUESA = 3; |