Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / 2.5CHF ungleich.ch.txt
Last active January 7, 2020 12:11
Blahdns VPS benchmark
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
@zoonderkins
zoonderkins / vpn.md
Created July 21, 2019 21:25 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

A Russian translation of this article can be found here, contributed by Timur Demin. There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.

Why not?

@zoonderkins
zoonderkins / blur.page.md #javascript
Last active July 21, 2019 20:14
Blur.page some idea
## Javascript
## CSS
```
.___blur-about-container.svelte-kidrsn{color:#222831;text-align:center}.___blur-about-container.svelte-kidrsn div.svelte-kidrsn{line-height:1.5}.___blur-about-container.svelte-kidrsn a.svelte-kidrsn,.___blur-about-container.svelte-kidrsn a.svelte-kidrsn:hover{color:#222831;text-decoration:none}
.___blur-modal-overlay.svelte-1e1hqwk{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(34, 40, 49, 0.9);z-index:9999}.___blur-modal.svelte-1e1hqwk{position:absolute;left:50%;top:50%;width:300px;overflow:auto;transform:translate(-50%, -50%);border-radius:4px;background:#fff}.___blur-modal-header.svelte-1e1hqwk{align-items:center;background:#eeeeee;color:#111;display:flex;padding:8px;border-bottom:1px solid #ddd}.___blur-modal-header.svelte-1e1hqwk button.svelte-1e1hqwk{background:transparent;border:none;cursor:pointer;margin-left:auto}.___blur-modal-header.svelte-1e1hqwk button.svelte-1e1hqwk:focus{outline:none}.___blur-modal-body.svelte-1e1hqwk{padding:16px}
.___blur-tooltip
@zoonderkins
zoonderkins / my.cnf
Created July 20, 2019 07:28 — forked from fevangelou/my.cnf
Optimized my.cnf configuration for MySQL/MariaSQL (on cPanel/WHM servers)
# Optimized my.cnf configuration for MySQL/MariaSQL on cPanel/WHM servers
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# === Updated December 2018 ===
#
# The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores.
# If you have less or more resources available you should adjust accordingly to save CPU,
# RAM and disk I/O usage.
# The settings marked with a specific comment or the word "UPD" after the value
@zoonderkins
zoonderkins / rules-both.iptables
Created June 22, 2019 06:17 — forked from jirutka/rules-both.iptables
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <[email protected]>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@zoonderkins
zoonderkins / fix-debian9-kernel-unable-to-update.md
Last active June 18, 2019 05:55
Debian9 kernel unable to update

Fix

ls /etc/kernel/postinst.d/

// check if system has file "zz-update-grub" and rename it 
mv zz-update-grub zz-update-grub.bak

// update-grub
update-grub
@zoonderkins
zoonderkins / delete-debian-tun-link.md
Created April 26, 2019 08:48
delete-debian-tun-link #linux
@zoonderkins
zoonderkins / curl-ipv6-on-linux.md
Created April 14, 2019 19:26
Curl IPv6 on Linux
curl 'https://api6.ipify.org?format=json'
@zoonderkins
zoonderkins / dnsdist-config.md
Created April 14, 2019 09:07
dnsdist config
-- listen for console connection with the given secret key
-- controlSocket("0.0.0.0")
-- setKey(please generate a fresh private key with makeKey())

-- start the web server on port 8083, using password 'set a random password here'
-- webserver("0.0.0.0:8083", "set a random password here")

-- accept DNS queries on UDP/5200 and TCP/5200