Skip to content

Instantly share code, notes, and snippets.

@inkss
inkss / #readme.md
Last active July 26, 2024 18:29
IPV6 直播源

个人向直播源

精简了上游直播源内容,仅保留个人所需的。

一、订阅地址

TVM3U

https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
@IceLitty
IceLitty / PowerToys_plugins_update_log.md
Last active June 28, 2022 09:24
Update Everything and WebSearch plugins for PowerToys v0.57.2

English

  1. PowerToys throws exception when close PowerToys Run, we can get log files location in %appdata%\..\Local\Microsoft\PowerToys\PowerToys Run\Logs\0.57.2.0\. Open PowerToys Run will active these broken plugins, log system will print detail in these file.
    [2022-04-21 19:49:00.7245] [ERROR] [C:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::154]
    -------------------------- Begin exception --------------------------
    Message: Couldn't get assembly types for Everything in C:\Program Files\PowerToys\modules\launcher\Plugins\Community.PowerToys.Run.Plugin.Everything\Community.PowerToys.Run.Plugin.Everything.dll. The plugin might be corrupted. Uninstall PowerToys, manually delete the install folder and reinstall.
    
    Exception full name  : System.Reflection.ReflectionTypeLoadException
    Exception message    : Unable to load one or more of the requested types.
    
@chenshengzhi
chenshengzhi / git_ssh_proxy.md
Last active July 25, 2024 02:48
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:1086
@bitmingw
bitmingw / git_batch_resolver.py
Last active September 18, 2023 08:20
Batch script to resolve large git conflicts.
#!/usr/bin/env python3
"""
Author: Ming Wen (bitmingw@gmail.com)
When resolving conflicts on a merge or rebase, this script
automates `git add/rm` and `git checkout` with --ours or --theirs
for a large batch of changes.
Usage: `python3 git_batch_resolver.py` in your git repository.
@AlexMAS
AlexMAS / ProcessAsyncHelper.cs
Last active July 24, 2024 18:39
The right way to run external process in .NET (async version)
using System;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
public static class ProcessAsyncHelper
{
public static async Task<ProcessResult> ExecuteShellCommand(string command, string arguments, int timeout)
{
var result = new ProcessResult();