Skip to content

Instantly share code, notes, and snippets.

@santiagocezar
santiagocezar / settings.json
Last active April 9, 2024 22:26
Custom LSP configs for Kate
{
"servers": {
"nix": {
"command": ["rnix-lsp"],
"url": "https://github.com/nix-community/rnix-lsp",
"highlightingModeRegex": "^Nix$"
},
"astro": {
"command": ["astro-ls", "--stdio"],
"rootIndicationFilePatterns": ["package.json"],
@santiagocezar
santiagocezar / gen.py
Created March 5, 2024 14:37
Update Flatpak moudles from vcpkg.json
import json
from subprocess import run
from sys import stderr, stdout
from typing import Optional
with open("vcpkg.json") as vcpkg_file:
vcpkg = json.load(vcpkg_file)
with open("com.kristianduske.TrenchBroom.json") as manifest_file:
manifest = json.load(manifest_file)
@santiagocezar
santiagocezar / LICENSE
Last active April 5, 2023 15:20
Use your phone as a mic
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for

Como hacer un server de Minecraft propio (con PaperMC)

1. Descargar Java

Si ya tiene Java instalado omita este paso, si no, descarguelo en la página de descargas de java

2. Descargar el servidor Paper

En la página de descargas de PaperMC haga click en el boton del primer item en la lista de versiones, guarde el archivo en una carpeta vacia y no lo extraiga

{
"COPYRIGHT": "© 2009 Hasbro Internacional Inc. Todas estas propiedades fueron extraídos de la edición de Monopoly® Argentina.",
"properties": [{
"name": "Plaza de los dinosaurios",
"cost": 60,
"group": "#955438",
"rent": [2, 10, 30, 90, 160, 250],
"house": 50,
"id": 0
}, {
@santiagocezar
santiagocezar / onxdo.ts
Created April 23, 2020 22:50
Typescript "on event do" syntax
function on(event: keyof WindowEventMap): {do: (this: Window, ev: Event) => void} {
return { set do(val) { addEventListener(event, val) }}
}