Skip to content

Instantly share code, notes, and snippets.

View Mario-SO's full-sized avatar
🥊

mso_ Mario-SO

🥊
View GitHub Profile
@Mario-SO
Mario-SO / config
Last active December 8, 2025 17:03
Ghostty config example
# === Font Configuration ===
font-family = "" # String: Font name or empty to reset
font-family-bold = "" # String: Bold font variant
font-family-italic = "" # String: Italic font variant
font-family-bold-italic = "" # String: Bold-italic font variant
font-style = "" # String: Named font style or "false" to disable
font-style-bold = "" # String: Named bold font style
font-style-italic = "" # String: Named italic font style
font-style-bold-italic = "" # String: Named bold-italic font style
font-synthetic-style = "" # Values: "true", "false", "no-bold", "no-italic", "no-bold-italic"
#!/usr/bin/env zsh
# Made by @mariodev__
clear
# Check if the directory is provided
if [ -z "$1" ]; then
echo "Usage: $0 <directory>"
exit 1
#!/usr/bin/env zsh
# Made by @mariodev__
clear
# Check if the directory is provided
if [ -z "$1" ]; then
echo "Usage: $0 <directory>"
exit 1
public class Coin {
private int value;
private int quantity;
Moneda(int value, int quantity) {
this.value = value;
this.quantity = quantity;
}
/* getters & setters */
}
public ArrayList greedy(ArrayList candidates) {
solution;
while (!isSolution(solution) && (candidatesLeft(candidates)) {
cadidate = selectCandidate(candidates);
removeCandidate(candidate, candidates);
if (isGoodCandidate(candidate, solution)) {
addCandidate(candidate, solution);
}
}
if (isSolution(solution)) {