Skip to content

Instantly share code, notes, and snippets.

View Hansimov's full-sized avatar

Hansimov

View GitHub Profile
@asukaminato0721
asukaminato0721 / qq-autojump.user.js
Created March 26, 2025 21:16
自动将 c.pc.qq.com/ios.html 的跳转链接重定向到其 'url' 参数指定的目标地址。
// ==UserScript==
// @name QQ PC 链接自动跳转
// @namespace http://tampermonkey.net/ // 你可以修改为你自己的命名空间
// @version 1.1
// @description 自动将 c.pc.qq.com/ios.html 的跳转链接重定向到其 'url' 参数指定的目标地址。
// @author Your Name // 替换为你的名字
// @match https://c.pc.qq.com/ios.html?*
// @grant none
// @run-at document-start
// ==/UserScript==
[
{
"id": "b20ec3d5-944f-4d01-93b9-d4626a7f3809",
"nickname": "NiKo",
"firstName": "Nikola",
"lastName": "Kovač",
"team": "Team Falcons",
"majors": 13
},
{
@padeoe
padeoe / README_hfd.md
Last active November 3, 2025 07:50
CLI-Tool for download Huggingface models and datasets with aria2/wget: hfd

🤗Huggingface Model Downloader

Note

(2025-01-08) Add feature for 🏷️Tag(Revision) Selection, contributed by @Bamboo-D.
(2024-12-17) Add feature for ⚡Quick Startup and ⏭️Fast Resume, enabling skipping of downloaded files, while removing the git clone dependency to accelerate file list retrieval.

Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, This command-line tool leverages curl and aria2c for fast and robust downloading of models and datasets.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
@denguir
denguir / cuda_install.md
Last active October 19, 2025 11:37
Installation procedure for CUDA / cuDNN / TensorRT

How to install CUDA / cuDNN / TensorRT on Ubuntu

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@sumanthratna
sumanthratna / install-python.bash
Last active June 1, 2025 14:36
How to install Python 3 on Linux without sudo access.
# adapted from https://web.archive.org/web/20200514221628/https://randomwalk.in/python/2019/10/27/Install-Python-copy.html
wget https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tgz
tar zxfv Python-3.6.10.tgz
rm Python-3.6.10.tgz
find ./Python-3.6.10/Python -type d | xargs chmod 0755
cd Python-3.6.10
./configure --prefix=$PWD/Python-3.6.10/Python
make
make install
export PATH=$CWD:$PATH # adds python3.6 to PATH
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active October 29, 2025 10:22
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@abc1763613206
abc1763613206 / bvtest.py
Last active March 16, 2025 15:30
BVID Validate
import requests
import json
import random
Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid='
headers = {
'Cookie': "Replace Me With REAL COOKIE" ,
'Pragma': 'no-cache',
@yabasha
yabasha / Windows
Created October 2, 2019 06:36 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211
# Subscribe to my YouTube Channel -> https://lokjianming.page.link/CVLm #
How to Crack Sublime Text 3 with Hex Editor
1. Download & Install Sublime Text 3.2.2 Build 3211
2. Visit Hexed.it
3. Open file sublime_text.exe
4. Search address 97 94 0D
5. Change to 00 00 00
6. Export File
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active November 4, 2025 12:26
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)