Skip to content

Instantly share code, notes, and snippets.

View gosoccerboy5's full-sized avatar
🎮
Check out my new game!

gosoccerboy5

🎮
Check out my new game!
View GitHub Profile
@MystPi
MystPi / escaped_string_regex.py
Created July 24, 2021 13:07
A regex to parse escaped strings.
import re
regex = re.compile(r'(["\']).*?(?<!\\)(\\\\)*?\1')
@CST1229
CST1229 / AddOcularReactions.txt
Last active June 6, 2021 17:09
Insert Ocular Reaction Buttons Forum Bookmarklet
Warning: This bookmarklet does not work on the edit post page.
Click the bookmarklet to insert ocular reaction buttons to your Scratch forum post. You have to input a post ID. Leave blank to cancel.
Buttons are from here:
https://scratch.mit.edu/discuss/post/5312209/
@CST1229
CST1229 / ScratchBigSearchBookmark.txt
Last active July 24, 2021 18:23
Scratch Expanding Search Bar Bookmarklet (v4)
This bookmarklet expands the search bar when it is focused, similar to the wiki.
This is inspired by a suggestion I saw.
Versions
v1: Initial release
v2: Updated to use functions in the scratch-www events to prevent copy-pasting code
v2.1: Fixed a bug that prevented the search bar from unexpanding
v3: Tweaked to allow dynamic enabling and disabling (not in the bookmarklet though)
v4: Updated to catch up with the SA PR (obiviously with the addon APIs removed)
@CST1229
CST1229 / CSTForumTools.txt
Created May 18, 2021 10:50
CST1229's Scratch Forum Tools
Another bookmarklet.
This one just adds tools below the forum editor. Currently there's inserting color tags (not coloring text) and mentioning users. Oh and you can close it.
// ==UserScript==
// @name ShellShockers Aimbot and ESP
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author PacyTense
// @match *://shellshock.io/*
// @run-at document-start
// @grant none
// @noframes
@pamelafox
pamelafox / earned_badges.sql
Created May 8, 2015 18:37
earned_badges.sql
/*
Earned Badges
This table contains badges earned by a user, including the most recent date achieved, the type, the name, the # of energy points earned, and the activity earned from.
Collected by: https://www.khanacademy.org/profile/chopsor/
*/
CREATE TABLE badges (
date TEXT,
badge_type TEXT,
badge_name TEXT,