Skip to content

Instantly share code, notes, and snippets.

View MolarFox's full-sized avatar
🦊

RJ MolarFox

🦊
View GitHub Profile
@angeld23
angeld23 / vanished_tweet_recovery.user.js
Last active July 30, 2025 04:23
Vanished Tweet Recovery: Detects whenever a tweet mysteriously vanishes from your timeline for no reason and allows you to re-open it
// ==UserScript==
// @name Vanished Tweet Recovery
// @namespace https://d23.dev/
// @version 1.2
// @description Detects whenever a tweet mysteriously vanishes from your timeline for no reason and allows you to re-open it
// @author angeld23
// @match *://*.x.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=x.com
// @grant none
// ==/UserScript==
@tmck-code
tmck-code / athena_query.py
Last active October 28, 2025 22:20
AWS Utilities
#!/usr/bin/env python3
import argparse
from dataclasses import dataclass
import time
from typing import ClassVar
from datetime import datetime
import boto3
@notpike
notpike / tx.sh
Last active July 8, 2020 02:04
Raspbery Pi Transmit script for Yaesu VX-7R
#!/bin/bash
#######################################################
# FILE: TX.SH #
# AUTHOR: NOTPIKE WU7ANG #
# LICENSE: MIT #
# FUNCTION: RPI TX SCRIPT FOR YAESU VX-7R #
# #
# ==REQUIRED SOFTWARE== #
# ~:$ sudo apt update #
@liclac
liclac / hewwo.pl
Last active October 1, 2023 11:48
Hewwo? (Based on leafysweetsgarden's OWO extension)
#!/usr/bin/env -S perl -p
tr/rlRL/wwWW/; s/([nN])([aeiou])/\1y\2/g; s/(N)([AEIOU])/\1Y\2/g; s/ove/uv/g;
s/\!+/" ".("(・`ω´・)",";;w;;","owo","UwU",">w<","^w^")[rand(6)]." "/eg;
@vanyle
vanyle / modding_discord.md
Last active April 4, 2025 14:10
Modding the Discord client

Modding the discord client

Disclaimer: Modding the discord client is against Discord's term of service. I'm not responsible if any action is taken against you.

Why modding ?

Modding the client will allow you to customize to:

  • change the appearance of the discord client
  • have script to automaticaly send messages at specific times
  • log messages from a chat into a local file

This guide will explain how to inject js code into the discord client and send messages. I'm assuming you know you to write javascript code and are using Windows.

😒🙅🙄
$thing for fun and profit
all your $thing are belong to $shutup
honey I $verbed the $thing
$thing demystified
$thing: a deep dive
$verb all the things
make $thing great again
$x and $y and $z, oh my!
@donnoman
donnoman / schedule
Last active November 12, 2021 00:22
Buildkite GraphQL Cron Scheduler
#!/usr/bin/env ruby
require "bundler"
Bundler.setup
require "httparty"
require "byebug"
unless ENV["BUILDKITE_KEY"]
puts "you need to set your BUILDKITE_KEY"
@dvliman
dvliman / gist:10402435
Created April 10, 2014 17:02
ruby $ global variable
$: (Dollar Colon) is basically a shorthand version of $LOAD_PATH. $: contains an array of paths that your script will search through when using require.
$0 (Dollar Zero) contains the name of the ruby program being run. This is typically the script name.
$* (Dollar Splat) is basically shorthand for ARGV. $* contains the command line arguments that were passed to the script.
$? (Dollar Question Mark) returns the exit status of the last child process to finish.
$$ (Dollar Dollar) returns the process number of the program currently being ran.
$~ (Dollar Tilde) contains the MatchData from the previous successful pattern match.
$1, $2, $3, $4 etc represent the content of the previous successful pattern match.
$& (Dollar Ampersand) contains the matched string from the previous successful pattern match.
$+ (Dollar Plus) contains the last match from the previous successful pattern match.
$` (Dollar Backtick) contains the string before the actual matched string of the previous successful pattern match.
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@caike
caike / error.rb
Created May 19, 2012 14:35
nested begin;rescue;end
class FooError < StandardError
end
begin
p "about to raise Foo.."
raise FooError.new
rescue FooError
p 'rescues from Foo'
begin
p 'about to raise Meh..'