Skip to content

Instantly share code, notes, and snippets.

@zoubingwu
zoubingwu / copy_m3u8.js
Last active October 14, 2024 20:06
jabletv m3u8 getter
// ==UserScript==
// @name jabletv m3u8 getter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description copy m3u8 url on jabletv
// @author You
// @match https://jable.tv/videos/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=jable.tv
// @grant none
// ==/UserScript==
@zoubingwu
zoubingwu / twitter_insta_block.js
Last active October 14, 2024 20:06
Twitter insta block
// ==UserScript==
// @name Twitter Insta Block
// @namespace your-namespace-here
// @version 3
// @description Adds a "Block User" button on Twitter timeline conversations and blocks the user with one click
// @author zoubingwu
// @match https://x.com/*
// @grant none
// ==/UserScript==
@zoubingwu
zoubingwu / nginx.conf
Created September 7, 2020 09:20
cors local nginx
worker_processes 1;
events {
worker_connections 1024;
}
http {
sendfile on;
keepalive_timeout 65;
gzip on;
@zoubingwu
zoubingwu / switch.reg
Last active June 3, 2019 16:48
switch ctrl-alt key on windows
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,05,00,00,00,38,00,1d,00,1d,00,38,00,38,e0,1d,e0,1d,e0,38,e0,00,00,00,00
@zoubingwu
zoubingwu / fireworks.scss
Created January 4, 2019 03:36
pure css fireworks
// original: https://codepen.io/yshlin/pen/ylDEk
$particles: 60;
$width: 500;
$height: 500;
// Create the explosion...
$box-shadow: ();
$box-shadow2: ();
@for $i from 0 through $particles {