Skip to content

Instantly share code, notes, and snippets.

View rico-vz's full-sized avatar

Rico Z rico-vz

View GitHub Profile
@rico-vz
rico-vz / twitter-fix-emoji15.js
Created May 13, 2023 16:33
Twemoji is not up-to-date with Emoji 15.0 (Unicode 15.0). This script replaces some Emoji 15.0 with working URLs.
// ==UserScript==
// @name Twitter: Fix Emoji 15.0
// @version 1
// @description Twemoji is not up-to-date with Emoji 15.0 (Unicode 15.0). This script replaces some Emoji 15.0 with working URLs on Twitter.
// @author https://github.com/rico-vz
// @match *://twitter.com/*
// @grant none
// ==/UserScript==
const emoji15 = {
@rico-vz
rico-vz / dark-weheartit.css
Created March 2, 2023 18:12
WeHeartIt Darkmode
html {
background-color: #16161e !important;
}
html {
color-scheme: dark !important;
}
html, body {
background-color: #16161e;
}
html, body {
@rico-vz
rico-vz / twitter-no-for-you.js
Created February 6, 2023 21:57
Swaps back to your actual "Following" tab on Twitters homepage when Twitter forces you to the annoying "For You" tab.
// ==UserScript==
// @name Twitter - No more for you
// @version 1.0
// @match https://twitter.com/*
// @match https://mobile.twitter.com/*
// @exclude https://twitter.com/en/*
// @exclude https://mobile.twitter.com/en/*
// @exclude https://twitter.com/account/*
// @exclude https://mobile.twitter.com/account/*
// @exclude https://twitter.com/intent/*
@rico-vz
rico-vz / .bashrc
Created February 1, 2023 12:39
Git Angel (Simple Git Assisant) Snippet
function ga() {
if [ $# -lt 2 ] || [ "$1" == "help" ]; then
echo "[GitAngel] Usage: ga [type] [message]"
echo "[GitAngel] Valid types: feature, add, fix, style, deploy, chore, other"
return
fi
type=$1
message=$2
emoji=""