Skip to content

Instantly share code, notes, and snippets.

View zero-mstd's full-sized avatar

Zero zero-mstd

View GitHub Profile
@mast-range
mast-range / blacklead-dark.css
Last active March 22, 2021 02:40
Mastodon theme: blacklead (low-contrast)
/** ------------------------------------------------------
Mastodon theme: blacklead (low-contrast)
by mast
Mar 20, 2021
- toned down avatar and user information appearance
- low contrast, low saturation, dark gray background
Adapted from Frederikam's deep dark theme https://gist.github.com/Frederikam/b0ab4e67df01938ab7d7a589ca3987f1 based on Mastodon Flat
(async () => {
const lotteryStatusUrl = 'https://bgme.me/@bgme/105206731005287886'; // 抽奖嘟文URL
const lotteryType = 'reblog'; // 抽奖类型:转发(reblog),收藏(favourite)
const candidateNumber = 5; // 候选中奖者人数
main();
async function main() {
const domain = document.location.hostname;
const token = JSON.parse(document.querySelector('#initial-state').text).meta.access_token;
@joepie91
joepie91 / vpn.md
Last active September 12, 2024 14:30
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.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.