Skip to content

Instantly share code, notes, and snippets.

View vikanezrimaya's full-sized avatar
💀
utterly horrified by everything around herself

Vika vikanezrimaya

💀
utterly horrified by everything around herself
View GitHub Profile
@grantbevis
grantbevis / minecraft-bedrock-server.nix
Last active January 17, 2024 13:00 — forked from datakurre/minecraft-bedrock-server.nix
Minecraft Bedrock Server 1.17.11.01 - NixOS module
{ config, lib, pkgs, ... }:
let
minecraft-bedrock-server = with pkgs; stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "minecraft-bedrock-server";
version = "1.17.11.01";
src = fetchurl {
url = "https://minecraft.azureedge.net/bin-linux/bedrock-server-1.17.11.01.zip";
@themarcba
themarcba / vdom-finished.html
Last active August 22, 2024 04:54
Vue.js-like Virtual DOM
<div id="app"></div>
<script>
// Create virtual node
function h(tag, props, children) {
// Return the virtual node
return {
tag,
props,
children,
}
@un-def
un-def / domru-antidpi
Last active January 23, 2023 14:35
Stop DNS spoofing and fake redirects by Дом.ru ISP
iptables -A INPUT -p udp --sport 53 --match string --algo bm --hex-string '|5cfff164|' -j DROP
iptables -A INPUT -p tcp --sport 80 --match string --algo bm --string 'Location: http://lawfilter.ertelecom.ru' -j DROP
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 24, 2025 05:51
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@stefanschmidt
stefanschmidt / remove-annotations.sh
Last active May 16, 2025 00:53
Remove all annotations from a PDF document
pdftk original.pdf output uncompressed.pdf uncompress
LANG=C sed -n '/^\/Annots/!p' uncompressed.pdf > stripped.pdf
pdftk stripped.pdf output final.pdf compress