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
#!/bin/bash | |
# Modify with the path to your Immich data/upload directory | |
IMMICH_DATA_DIR="/mnt/media/immich" | |
# Modify with the path to your local db backup directory | |
DB_BACKUP_DIR="/mnt/media/immich_db_backups" | |
# Your configured rclone path to B2 bucket | |
B2_BUCKET="backblaze:hydronbackup" | |
# Database container name | |
DB_CONTAINER_NAME="immich_postgres" |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
hart | |
530 | |
518 | |
506 | |
494 | |
483 | |
472 | |
462 | |
454 | |
446 |
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
java | |
package com.yourplugin; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import java.io.*; | |
import java.nio.file.*; | |
import java.lang.instrument.*; | |
import java.security.ProtectionDomain; |
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
version: "3.8" | |
services: | |
jellyfin: | |
image: jellyfin/jellyfin | |
volumes: | |
- jellyfin-config:/config | |
- jellyfin-cache:/cache | |
- ${MEDIA_LOCATION}:/media | |
# This is for menu links https://jellyfin.org/docs/general/clients/web-config/#custom-menu-links |
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 com.github.jsh32.paradoxia.commons | |
import net.minestom.server.MinecraftServer | |
import net.minestom.server.command.builder.Command | |
import net.minestom.server.event.EventNode | |
import org.koin.core.component.KoinComponent | |
import org.koin.core.context.loadKoinModules | |
import org.koin.core.context.unloadKoinModules | |
import org.koin.core.definition.Definition | |
import org.koin.core.module.Module |
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
#pragma once | |
template <class Container, class F> | |
auto erase_where(Container& c, F&& f) { | |
return c.erase(std::remove_if(c.begin(), c.end(), std::forward<F>(f)), | |
c.end()); | |
} | |
/** | |
* @brief Reactive state. Listeners will be registered as callbacks to state |
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
use derive_more::Display; | |
use thiserror::Error; | |
use actix_web::{http::StatusCode, HttpRequest, HttpResponse, Responder, ResponseError}; | |
#[derive(Debug, Display)] | |
pub struct Error(anyhow::Error); | |
/// # Response | |
/// | |
/// Utility type for error reporting. |
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
{ | |
"[rust]": { | |
"editor.wordBasedSuggestions": false, | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[Default Dark+]": { | |
"enabled": true, | |
"rules": { | |
"method.static:rust": { | |
"foreground": "#f0c506" |
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 class DependencyNotFoundException extends Exception { | |
public DependencyNotFoundException(String message) { | |
super(message); | |
} | |
} |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Launch server", | |
"preLaunchTask": "runserver", | |
} | |
] | |
} |
NewerOlder