Skip to content

Instantly share code, notes, and snippets.

View the-eric-kwok's full-sized avatar
😉

EricKwok the-eric-kwok

😉
View GitHub Profile

Disable AppleI2C

In clover config.plist, KernelAndKextPatches -> KextsToPatch

Comment:         Prevent Apple I2C kexts from attaching to I2C controllers, credit CoolStar
Find:            494F4B6974
Replace:         494F4B6973
Name:            com.apple.driver.AppleIntelLpssI2C
InfoPlistPatch:  YES

https/http 协议的执行:

# 设置 http 代理
git config --global https.proxy http://127.0.0.1:8080

# 或 socks5 代理
git config --global http.proxy socks5h://127.0.0.1:1080

# 取消代理
git config --global --unset http.proxy
http://www.gstatic.com/images/icons/material/apps/weather/2x/wintry_mix_rain_snow_light_color_96dp.png
http://www.gstatic.com/images/icons/material/apps/weather/2x/haze_fog_dust_smoke_light_color_96dp.png
http://www.gstatic.com/images/icons/material/apps/weather/2x/cloudy_light_color_96dp.png
http://www.gstatic.com/images/icons/material/apps/weather/2x/snow_showers_snow_light_color_96dp.png
http://www.gstatic.com/images/icons/material/apps/weather/2x/flurries_light_color_96dp.png
@kid1carus
kid1carus / Packages
Created April 29, 2019 07:18 — forked from iTweakOS/Packages
Cydia/Sileo Repo Template
Package: com.site.tweakname
Version: 1.0.0
Architecture: iphoneos-arm
Maintainer: YourName <YourEmail>
Filename: /TweakName.deb
Size: (size without ,'s')
MD5sum: xxxxxxxxxxxx
SHA1: xxxxxxxxxxxx
SHA256: xxxxxxxxxxxx
Section: (Folder Name)
@FalconIA
FalconIA / vlmcsd.service
Last active November 2, 2022 10:02
vlmcsd boot script for systemd
[Unit]
Description=vlmcsd
Wants=network.target
After=syslog.target
[Service]
Type=forking
PIDFile=/var/run/vlmcsd.pid
ExecStart=/usr/local/vlmcsd/vlmcsd -l /var/log/vlmcsd.log -p /var/run/vlmcsd.pid
@davecan
davecan / open_powershell_here.md
Last active July 7, 2024 22:08
How to enable "Open PowerShell Here" context menu in Windows 10
@evantoli
evantoli / GitConfigHttpProxy.md
Last active November 14, 2024 06:03
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like: