Skip to content

Instantly share code, notes, and snippets.

View erbanku's full-sized avatar
♥️
Focusing

Cactus erbanku

♥️
Focusing
View GitHub Profile
@jahirfiquitiva
jahirfiquitiva / settings.json
Created May 11, 2024 22:32
VS Code Settings
{
"breadcrumbs.enabled": false,
"editor.fontFamily": "'MonoLisa', 'Dank Mono', 'Operator Mono Lig', 'Operator Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontWeight": "400",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "explicit",
"editor.stickyScroll.enabled": true,
"explorer.sortOrder": "type",
"workbench.editor.enablePreview": false,
"workbench.editor.highlightModifiedTabs": true,
@hyperupcall
hyperupcall / settings.jsonc
Last active September 19, 2024 16:20
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@hyoban
hyoban / .gitconfig
Last active August 9, 2024 15:03
Hyoban's dotfiles
[user]
name = Stephen Zhou
email = [email protected]
signingkey = /Users/hyoban/.ssh/id_ed25519.pub
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore_global
quotepath = false
[gpg]
@ninehills
ninehills / chatpdf-zh.ipynb
Last active September 2, 2024 14:22
ChatPDF-zh.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active October 3, 2024 11:42
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@pagxir
pagxir / residence.pac
Last active June 1, 2024 10:30
proxy auto config for split domain into oversea and big local network.
const _net_count = 15641;
const _net_list = [
{"net": 0x01000000, "prefix": 24}, {"net": 0x01000400, "prefix": 22}, {"net": 0x01001000, "prefix": 20}, {"net": 0x01004000, "prefix": 18},
{"net": 0x01008000, "prefix": 17}, {"net": 0x01010100, "prefix": 24}, {"net": 0x01014000, "prefix": 18}, {"net": 0x01018000, "prefix": 17},
{"net": 0x01020300, "prefix": 24}, {"net": 0x01028000, "prefix": 17}, {"net": 0x01040000, "prefix": 24}, {"net": 0x01048000, "prefix": 17},
{"net": 0x01050000, "prefix": 16}, {"net": 0x01060000, "prefix": 15}, {"net": 0x01090000, "prefix": 16}, {"net": 0x010a0a00, "prefix": 24},
{"net": 0x010a8000, "prefix": 17}, {"net": 0x010b0000, "prefix": 16}, {"net": 0x01100000, "prefix": 13}, {"net": 0x01200000, "prefix": 13},
{"net": 0x01280000, "prefix": 14}, {"net": 0x012c0000, "prefix": 16}, {"net": 0x012e0000, "prefix": 15}, {"net": 0x01340000, "prefix": 14},
{"net": 0x01400000, "prefix": 14}, {"net": 0x01480000, "prefix": 13}, {"net": 0x016

如何获得蓝标认证?

蓝标认证事实上基于 NIP-05 标准,您可以在任意自己掌控的位置内进行认证。

方法如下:

  1. 在网站中建立 .well-known/nostr.json 文件
  2. 在上述文件内填入 {"names":{"<username>":"<public_key>"}}
  3. 依次进入 Profile -> Edit -> NIP-05 VERIFICATION 键入 username@domain
  4. 点击 Save
@jinjier
jinjier / javdb-top250.md
Last active November 21, 2024 09:04
JavDB top 250 movies list. [Updated on 2024/11]
@adamghill
adamghill / hacker-news-readable.css
Created January 28, 2022 22:57
Hacker News Readable CSS
/* https://userstyles.org/styles/133201/hacker-news-readable */
/* reset */
body, td, table, input, textarea, .pagetop, *
{
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
@HackingGate
HackingGate / ubuntu-setup.sh
Last active February 23, 2024 23:51
My Ubuntu Desktop Setup
# Make Ubuntu use local time (Fix Windows 10 dual boot different time issue)
timedatectl set-local-rtc 1 --adjust-system-clock
# Check current settings
timedatectl
# Install packages
sudo apt update
sudo apt upgrade -y
sudo apt install emacs vim curl wget git build-essential -y