Skip to content

Instantly share code, notes, and snippets.

View rickythink's full-sized avatar
🏈
RUN!

Ricky rickythink

🏈
RUN!
View GitHub Profile
@rickythink
rickythink / Ubuntu 18.04 部署 Shadowsocks-libev + Simple-obfs 记录
Created May 8, 2020 05:14
Ubuntu 18.04 部署 Shadowsocks-libev + Simple-obfs 记录
前提:你需要一台的VPS,目前的vultr的VPS,网速较快,可支持ipv6。vultr支持支付宝付款,对大陆消费者非常友好。
vultr 通过以下链接注册,优惠$5.
https://www.vultr.com/?ref=7107871
启用 bbr(可选)
bbr 需要 Linux 内核版本为 4.9 以上才可以使用,若内核版本过低须先升级内核,Ubuntu 18.04 默认是已经启用的:
# 查看内核版本
uname -r
@rickythink
rickythink / README.md
Created July 30, 2018 12:43 — forked from pbojinov/README.md
Two way iframe communication- Check out working example here: http://pbojinov.github.io/iframe-communication/

Two way iframe communication

The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.

Parent

Send messages to iframe using iframeEl.contentWindow.postMessage Recieve messages using window.addEventListener('message')

iframe

@rickythink
rickythink / 00-about-search-api-examples.md
Created October 25, 2016 13:26 — forked from jasonrudolph/00-about-search-api-examples.md
5 entertaining things you can find with the GitHub Search API