Skip to content

Instantly share code, notes, and snippets.

View unpluggedcoder's full-sized avatar

UnpluggedCoder unpluggedcoder

View GitHub Profile
@HamGuy
HamGuy / delfuckthunder.sh
Created May 26, 2017 01:47
禁用迅雷的无用流氓组件
#!bin/bash
chmod a-x /Applications/Thunder.app/Contents/Bundles/XLPlayer.app
chmod a-x /Applications/Thunder.app/Contents/PlugIns/bbassistant.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/browserhelper.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/featuredpage.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/myvip.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/playgame.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/subtitle.xlplugin
chmod a-x /Applications/Thunder.app/Contents/PlugIns/thunderstore.xlplugin
// g++ cache-prefetching.cc -Wall -std=c++11 -g -pthread -O2
#include <string>
#include <vector>
#include <mutex>
#include <random>
#include <chrono>
#include <thread>
#include <iomanip>
#include <iostream>
@unpluggedcoder
unpluggedcoder / pallette_bgr.py
Created October 12, 2023 06:43
Common color pallette format
# Pallette in BGR format
# Preview & reference: https://www.rapidtables.com/web/color/RGB_Color.html
ALICE_BLUE = (255, 248, 240)
ANTIQUE_WHITE = (215, 235, 250)
AQUA = (255, 255, 0)
AQUA_MARINE = (212, 255, 127)
AZURE = (255, 255, 240)
BEIGE = (220, 245, 245)
BISQUE = (196, 228, 255)