Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / wordpress-api-sample.md
Last active September 2, 2019 13:19
wordpress-api-sample

Wordpress api sample (2019-09-02, Wizardamigos Taipei)

index.html

<html>
  <head>
    <meta charset="UTF-8" />
    <title>
      TITLE
@zoonderkins
zoonderkins / index.html
Created September 1, 2019 10:27 — forked from JackEdwardLyons/index.html
Get all WordPress posts with JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
@zoonderkins
zoonderkins / linux-bench-collection.md
Created August 25, 2019 13:45
Linux-bench-主机评测脚本 #bench

Collections of Linux bench script 各种主机评测脚本

  1. Lemonbench
curl -fsSL https://ilemonrain.com/download/shell/LemonBench.sh | bash -s fast
  1. Zbench
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
@zoonderkins
zoonderkins / iterm-mac-profile.md
Last active August 18, 2019 10:33
iterm2-mac-profile

My lol Mbpr Iterm2 with OhMyZSH profile

Updated: August 18, 2019

{
  "Use Non-ASCII Font" : true,
  "Tags" : [

  ],
  "Ansi 12 Color" : {
@zoonderkins
zoonderkins / xiaomi-blacklist.txt
Last active February 24, 2023 10:37
blahdns-xiaomi-blacklist-whitelist #blahdns
## Updated on June 16 2020
## Blahdns xiaomi blacklist.txt
## Tested from Taiwan, Japan, Singapore IP (Mi Home, Mifit app)
tp.hd.mi.com
api.ad.xiaomi.com
data.mistat.india.xiaomi.com
data.mistat.xiaomi.com
app-analytics-us.huami.com
app.chat.global.xiaomi.net
@zoonderkins
zoonderkins / Mac-fix-sudo-permission.md
Created August 7, 2019 12:29
Mac-fix-sudo-permission #mac

Mac-fix-sudo-permission

You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/share/man/man7

And make sure that your user has write permission.
  chmod u+w /usr/local/share/man/man7
@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