Skip to content

Instantly share code, notes, and snippets.

@Worst-Coding
Worst-Coding / 99-usbip.rules
Created January 11, 2026 10:31 — forked from echoes341/99-usbip.rules
USB/IP Auto bind all usb devices (except one) and auto attach them on a windows client every 5 seconds
ACTION=="add", SUBSYSTEMS=="usb", ATTR{idProduct}!="XXXX", ATTR{idVendor}!="YYYY", RUN{program}+="/usr/sbin/usbip bind -b %k"
@samurai939
samurai939 / gist:9737d4dec002fbeab366e58bef5395a0
Created January 11, 2026 10:31
Телефонная книга
#include <iostream>
#include <cstring>
#include <fstream>
#include "Windows.h"
using namespace std;
class Contact
{
private:
char* full_name;
@forkyau
forkyau / hourly_rainfall_data-2026-01-11|18-15.csv
Created January 11, 2026 10:31
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
1 湿地公园 RF002 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
2 水边围 N12 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
3 石岗 RF003 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
4 大美督 RF004 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
5 大埔墟 RF005 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
6 北潭涌 RF006 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
7 滘西洲 RF007 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
8 西贡 N15 0 mm 2026-01-11T18:15:00+08:00 2026-01-11
@99L-Max
99L-Max / Bullet.cs
Created January 11, 2026 10:30
Гений Code Style
using System;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class Bullet : MonoBehaviour
{
private Rigidbody _rigidbody;
public event Action<Bullet> Collided;
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created January 11, 2026 10:30
goldendict.install v1.0.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1705816965-1482948919-3372895262-1000</user>
<keys>
<key installerType="Unknown" displayName="GoldenDict" displayVersion="">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GoldenDict</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\GoldenDict\Uninstall.exe]]></UninstallString>
@jubinmathew
jubinmathew / minimial_vscode.md
Last active January 11, 2026 10:34
Minimal VS Code Setup

Minimal VS Code

  • Extensions that I use are documented in extensions.txt. Download the extensions list file and re-apply the extension to the new instance using the below command ``.
eamodio.gitlens
esbenp.prettier-vscode
golang.go
ms-python.debugpy
ms-python.python
# ===================================================================================
# XENTRIX HYPER-OPTIMIZER V9.0 - REAL-TIME PROCESS TRACKING
# Status: Debugged | Fully Functional | Complete Process Logging
# ===================================================================================
# --- AUTO-ADMIN ELEVATION ---
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
exit
}
# ===================================================================================
# XENTRIX HYPER-OPTIMIZER V9.0 - REAL-TIME PROCESS TRACKING
# Status: Debugged | Fully Functional | Complete Process Logging
# ===================================================================================
# --- AUTO-ADMIN ELEVATION ---
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
exit
}
# ===================================================================================
# XENTRIX HYPER-OPTIMIZER V9.0 - REAL-TIME PROCESS TRACKING
# Status: Debugged | Fully Functional | Complete Process Logging
# ===================================================================================
# --- AUTO-ADMIN ELEVATION ---
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
exit
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.