Skip to content

Instantly share code, notes, and snippets.

View tizee's full-sized avatar
🙏
Work and persevere

Jeff Chiang tizee

🙏
Work and persevere
  • Earth, Solar system
View GitHub Profile
@tizee
tizee / apple-cat.gif
Last active May 23, 2024 06:21
cat meme gifs
apple-cat.gif
@tizee
tizee / unblock.js
Last active May 5, 2024 11:34
unblock lists
// ==UserScript==
// @name Twitter Block Porn with unblock btn
// @homepage https://github.com/daymade/Twitter-Block-Porn
// @icon https://raw.githubusercontent.com/daymade/Twitter-Block-Porn/master/imgs/icon.svg
// @version 1.6.0
// @description One-click block all the yellow scammers in the comment area.
// @description:zh-CN 共享黑名单, 一键拉黑所有黄推诈骗犯
// @description:zh-TW 一鍵封鎖評論區的黃色詐騙犯
// @description:ja コメントエリアのイエロースキャマーを一括ブロック
// @description:ko 댓글 영역의 노란색 사기꾼을 한 번에 차단
@tizee
tizee / build.sh
Last active May 4, 2024 17:05
Build Aseprite from source for Apple Silicon
cd aseprite
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.5 \
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
@tizee
tizee / flag.js
Last active October 10, 2023 07:48
display ROC flag
// ==UserScript==
// @name mac-ROC-flag
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Replace ROC flag unicode to images in Apple devices
// @author tizee
// @homepage https://github.com/twitter/twemoji/tree/master
// @icon https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/72x72/1f1f9-1f1fc.png
// @grant GM_addStyle
// @match *://*/*
@tizee
tizee / main.js
Last active July 26, 2023 07:33
Replace twitter logo for tampermonkey
// ==UserScript==
// @name Replace Twitter logo
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Assume I am Elon Musck, the boss of Twitter.
// @author tizee
// @match https://twitter.com/*
// @match https://x.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
@tizee
tizee / main.js
Last active August 9, 2023 13:17
Twitter promoted tweets blocker for Tampermonkey
// ==UserScript==
// @name Twitter promoted blocker
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Block twitter promoted tweets at home timeline
// @author tizee
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// ==/UserScript==
@tizee
tizee / main.js
Last active July 15, 2023 15:13
Twitter video download script for Tampermonkey
// ==UserScript==
// @name twitter video downloader
// @namespace http://tampermonkey.net/
// @version 1.0
// @description download twitter video
// @author tizee
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant GM_xmlhttpRequest
// ==/UserScript==
@tizee
tizee / main.js
Last active July 11, 2023 02:53 — forked from zoubingwu/main.js
Twitter insta block
// ==UserScript==
// @name Twitter Insta Block with Firefox support
// @namespace your-namespace-here
// @version 1.1
// @description Adds a "Block User" button on Twitter timeline conversations and blocks the user with one click
// @author zoubingwu, tizee
// @match https://twitter.com/*
// @grant none
// ==/UserScript==
#!/bin/bash
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
# This script needs to be run from the volume you wish to use.
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents