Skip to content

Instantly share code, notes, and snippets.

View skyend's full-sized avatar
๐Ÿข
Slow and pierce the world

Skyend skyend

๐Ÿข
Slow and pierce the world
View GitHub Profile
@skyend
skyend / gist:2e61a734d2a14198bd15781bf45a61f9
Last active June 21, 2018 17:46
vmware workstation player error! at windows 10 [solved]

์Šˆ๋ฐค ์™œ์•ˆ๋˜๋Š”๊ฑฐ์•ผ

์œˆ๋„์šฐ 10์— VMWare workstation player ์„ค์น˜ํ•˜๊ณ  ์“ฐ๋‹ค๊ฐ€ vm์„ ๊ป๋‹ค๊ฐ€ ์ผฐ๋”๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€์™€ ํ•จ๊ป˜ ๋‚˜๋ฅผ ํ—ฌํŒŒํ‹ฐ๋กœ ์ดˆ๋Œ€ํ–ˆ๋‹ค.

๋ฌธ์ œ์˜ ์‹œ์ž‘ ์—๋Ÿฌ

VMware Player and Device/Credential Guard are not compatible. 
VMware Player can be run after disabling Device/Credential Guard. 
Please visit http://www.vmware.com/go/turnoff_CG_DG for more details.
@skyend
skyend / cloudflare.sh
Created May 17, 2020 09:09 — forked from Manouchehri/cloudflare.sh
Allow CloudFlare only
# Source:
# https://www.cloudflare.com/ips
# https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables-
for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
# Avoid racking up billing/attacks
# WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable.
iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP
@joepie91
joepie91 / es-modules-are-terrible-actually.md
Last active May 9, 2025 15:29
ES Modules are terrible, actually

ES Modules are terrible, actually

This post was adapted from an earlier Twitter thread.

It's incredible how many collective developer hours have been wasted on pushing through the turd that is ES Modules (often mistakenly called "ES6 Modules"). Causing a big ecosystem divide and massive tooling support issues, for... well, no reason, really. There are no actual advantages to it. At all.

It looks shiny and new and some libraries use it in their documentation without any explanation, so people assume that it's the new thing that must be used. And then I end up having to explain to them why, unlike CommonJS, it doesn't actually work everywhere yet, and may never do so. For example, you can't import ESM modules from a CommonJS file! (Update: I've released a module that works around this issue.)

And then there's Rollup, which apparently requires ESM to be u