Skip to content

Instantly share code, notes, and snippets.

@xqm32
xqm32 / clash-config.yaml
Last active September 11, 2024 17:02
clash config with proxy-providers and rule-providers
##### 使用说明 #####
# 1. 请填写 proxy-providers - subscribe - url 为订阅链接
# 2. 下载 https://github.com/Loyalsoldier/clash-rules/archive/refs/heads/release.zip 并解压至 ./profiles/ruleset 文件夹下
# 3. 若需要自动更新 ruleset, 请编辑 rule-providers-config - type 为 http
##### 参考链接 #####
# 1. clash 样例配置文件
# https://lancellc.gitbook.io/clash/clash-config-file/an-example-configuration-file
# 2. clash 规则集
# https://github.com/Loyalsoldier/clash-rules
@b159732000
b159732000 / README.md
Created May 22, 2022 16:23 — forked from chuyik/README.md
macOS 给 Git(Github) 设置代理(HTTP/SSH)
@Yukaii
Yukaii / READMD.md
Last active March 10, 2023 05:38
A Tampermonkey script to make YouTube dislike count back

(Deprecated) Make YouTube dislike count BACK!

Deprecated Attention

This script is no longer working. Please use https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi instead, which is open sourced at https://github.com/Anarios/return-youtube-dislike.

Developers: If you’re using the YouTube API for dislikes, you will no longer have access to public dislike data beginning on December 13th ref: https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts?hl=en

@SpaceShot
SpaceShot / Enable Windows Native OpenSSH.md
Last active August 14, 2024 19:23
Using Native OpenSSH Client in Windows 10

Using Native OpenSSH Client in Windows 10

Overview

Some time ago I needed to ssh into a Linux machine. For eons, a common way to do this way to use PuTTY. The point of this is not to discourage you from using PuTTY. PuTTY is fantastic.

So I had two motivations for checking out the native OpenSSH client in Windows 10:

  1. I heard SSH was now a native, but optional feature.
  2. Using PuTTY is very much a "Windows" thing to do. I wanted to gain a little of that "command line" speed and zen by being able to SSH in from any command prompt.

Why not Git Bash?

The vast majority of developers have Git on their machine and it probably shipped with Git Bash. Many developers erronesouly believe you can only use Git through Git Bash. This is an unnecessary practice that I think really slows you down.

@seachai
seachai / gist:948ed1eeafa32ce03db6685edb879f71
Last active September 10, 2024 12:34
iTerm 2 Natural Text Editing Preset
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing
- You can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + →
- Move to the start of the line using fn + ← and to the end of the line with fn + →.
- Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫.
If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew + Cask:
brew cask reinstall iterm2
@RisingInIris2017
RisingInIris2017 / Proxifier_SSR-V2rayN.md
Last active April 4, 2024 14:39
Proxifier+SSR/V2rayN代理软件教程

写在前面

现在很多人都有魔法上网手段,常用的魔法上网工具有 SSR 和 V2rayN 两种。

这两种工具已经相当强大,能够使我们坐地日行八万里,访问我们喜爱的网站。

但是这两种工具也有美中不足之处:似乎它们只支持浏览器访问网页时走代理,

而对于除了浏览器以外的应用程序,就并没有通过代理,导致一些被墙的软件不能很好地使用。

@techouse
techouse / timemachine_exclude_dev_dirs.sh
Last active September 19, 2024 14:18
Instruct Time Machine to exclude some development directories
#!/usr/bin/env bash
# This simple bash script is aimed at excluding some development specific directories.
#
# In this configuration it will instruct Time Machine to exclude directories named:
# - env
# - node_modules
# - vendor
# - venv
#
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active September 21, 2024 15:35
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active September 21, 2024 20:50
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active September 14, 2024 16:30
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub