Skip to content

Instantly share code, notes, and snippets.

@TheSunCat
TheSunCat / DisblockOrigin.theme.css
Last active May 17, 2024 17:31
Hide all Nitro & Boost upsells in Discord!
/**
* @name Adblock for Discord
* @author TheSunCat and contributors
* @version 1.0.0
* @description Hide all Nitro & Boost upsells on Discord!
* @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906
*/
/* ------------------ */
/* Hide Nitro upsells */
@dompurified
dompurified / DubyasCleanupOfDiscord.css
Created April 2, 2024 17:00 — forked from DubyaDude/DubyasCleanupOfDiscord.css
My list of annoying stuff I hide/disable in Discord using Quick CSS
/* Dubyas list of annoying stuff he hides in discord using Quick CSS */
/* Disable emoji inspection upsell (ty Regalia) */
[class^="nitroTextAndBadge_"], button:has([class^="premiumIcon_"]),
[class^="emojiSection_"] [class^="flex_"] div[class*="text-sm-normal"]
{
display:none;
}
/* Disable Popup ads */
@m5r
m5r / index.tsx
Created February 26, 2022 20:22
bullmq job queue in Remix
import notifierQueue from "~/queues/notifier.server.ts";
export const loader = async () => {
await notifierQueue.add("test", { emailAddress: "mokhtar@remixtape.dev" });
return null;
};
@pwnall
pwnall / chrome_android_buid.md
Last active May 17, 2024 17:26
Step-by-step instructions for setting up a VM that builds Chrome for Android

Build Instructions for libchromewebview.so

This document contains step-by-step instructions for building a Chromium-powered Android WebView.

Chromium's build process is a bit fussy, and the Android target is even more fussy, so the least painful way of getting it done is to set up a VM with the exact software that the build process was designed for. The steps below accomplish this.

@flaksp
flaksp / README.md
Last active May 17, 2024 17:26
Convert BitWarden JSON export file to Apple iCloud Keychain CSV import file saving TOTP and notes

BitWarden to Apple iCloud Keychain passwords converter

This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.

You need to know:

  • It ignores secure notes, credit cards and other types that are not passwords.
  • It ignores BitWarden entries without usernames, passwords and URLs.
  • It also ignores URLs that do not start with http:// or https://.
  • It normalizes all TOTP tokens, e.g. wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2 will be converted to otpauth://totp/example.com:dude@foo.bar?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30.
@origamiofficial
origamiofficial / Recaptcha Solver (Automatically solves Recaptcha in browser).user.js
Created March 25, 2022 04:42
Recaptcha Solver in Browser | Automatically solves Recaptcha in browser by engageub | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Recaptcha Solver (Automatically solves Recaptcha in browser)
// @namespace Recaptcha Solver
// @version 2.1
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser
// @author engageub
// @match *://*/recaptcha/*
// @connect engageub.pythonanywhere.com
// @connect engageub1.pythonanywhere.com
// @grant GM_xmlhttpRequest
@tjvananne
tjvananne / process GloVe pre-trained word vector.R
Created May 4, 2017 14:45
How to read and process a downloaded pre-trained GloVe word vector (turn it into a data.frame) in base R
#' A word vector is a giant matrix of words, and each word contains a numeric array that represents the semantic
#' meaning of that word. This is useful so we can discover relationships and analogies between words programmatically.
#' The classic example is "king" minus "man" plus "woman" is most similar to "queen"
# function definition --------------------------------------------------------------------------
# input .txt file, exports list of list of values and character vector of names (words)
proc_pretrained_vec <- function(p_vec) {
@rkTinelli
rkTinelli / foge.h
Last active May 17, 2024 17:14
Jogo FogeFoge (Pacman) Funcional feito em linguagem C
#ifndef _FOGEFOGE_H_
#define _FOGEFOGE_H_
#define CIMA 'w'
#define BAIXO 's'
#define DIREITA 'd'
#define ESQUERDA 'a'
#define BOMBA 'b'
void move_pers(char comando);
@sffxzzp
sffxzzp / setprivate.js
Last active May 17, 2024 17:12
Steam 赛博贞操锁
var accessToken = JSON.parse(gameslist_config.dataset.profileGameslist).webapi_token;
var anticheatAppids = [10, 20, 30, 40, 50, 60, 70, 80, 240, 300, 320, 360, 440, 500, 550, 570, 730, 1200, 1250, 2100, 2200, 2210, 2350, 2400, 2620, 2630, 2640, 3970, 4000, 4920, 6510, 7940, 7950, 9010, 9050, 9070, 9460, 10000, 10010, 10030, 10050, 10090, 10170, 10180, 11610, 13140, 13180, 13520, 13540, 15120, 17300, 17330, 17340, 17430, 17500, 17520, 17570, 17700, 17710, 18110, 19900, 21090, 21110, 21120, 21970, 24840, 24860, 24960, 29520, 32690, 32700, 32770, 33930, 35450, 35450, 39000, 42160, 42160, 42700, 44350, 45500, 47790, 47830, 48190, 49400, 55100, 55110, 58610, 61700, 61730, 63000, 63200, 63500, 63950, 65800, 70000, 72300, 90800, 91310, 102700, 102700, 104900, 107410, 109400, 200110, 201070, 201870, 202090, 202970, 202990, 203290, 203300, 204080, 204300, 208090, 208480, 209160, 209170, 209610, 209650, 209870, 211880, 212160, 212180, 212180, 212200, 212220, 212240, 212370, 212390, 212390, 212410, 212480, 212542, 2126
@rishavpandey43
rishavpandey43 / git-commit-styleguide.md
Last active May 17, 2024 17:11
This gist consist of the rules and best practice of good conventional git commit message

Git Commit Messages Style-Guides

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally after the first line
  • When only changing documentation, include [ci skip] in the commit title
  • Consider starting the commit message with an applicable emoji

Types