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
// abstract classes | |
export abstract class BaseModelData { | |
id: number; | |
} | |
export abstract class BaseModel { | |
public abstract toJson<U extends BaseModelData>(): U; | |
} | |
// end abstract classes |
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
const customCss = ` | |
// Include in a separate scss file with : | |
import './input.scss'; | |
// scss file content : | |
.toggle-checkbox:checked + .toggle-label { | |
background-color: #4ade80; /* Couleur verte pour ON */ | |
} |
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/env python | |
import os | |
import sys | |
u_id = 1000 | |
ram = "8" | |
minimum_ram = "8" | |
screen_name = "FaFIndustriesMinecraftServer" | |
java_app_name = "spigot-1.13.2" |