This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Famiboards Browser Utility | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-10-16 | |
// @description Toggle on/off various browser tools for a custom Famiboards experience. | |
// @author bellydrum | |
// @match https://famiboards.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// @require https://gist.githubusercontent.com/bellydrum/cfc7869243b4d5c4e7ae710ea59edf67/raw/e8be38fc17877c38601edd818fc07c5502173b94/cookieHelper.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"transpile": "./node_modules/.bin/babel src/ --out-dir public/" | |
}, | |
"babel": { | |
"presets": [ | |
"@babel/preset-env" | |
] | |
}, | |
"devDependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* An all-purpose Javascript object for general and specific application functionality. | |
* | |
* The app object is intended to be defined only once and stored in the browser cache. | |
* | |
* @note Documented using a variant of JSDoc standards. | |
* @see https://devdocs.io/jsdoc/ | |
* @see https://devhints.io/jsdoc | |
* | |
* @version 1.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""" | |
ABOUT THIS SCRIPT | |
- here's an easy way to gain access to your reddit account from the python shell using the praw library. | |
-praw is a python library for accessing reddit. | |
- https://praw.readthedocs.io/ | |
- written by /u/b3llydrum | |
- https://github.com/bellydrum | |
""""""""""""""" | |
""""""""""""""" | |
HOW TO USE THIS SCRIPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.unselectable { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO -- delete when done using | |
use Path::Tiny; | |
my $dir = path("/home/dmaness"); | |
my $file = $dir->child(".test_file"); | |
# TODO -- delete when done using | |
# append to existing log -- no need to close | |
$file->append( "write stuff here!" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* clickBotChecker.js | |
* ------------------------------------------------------------------------------ | |
* ABOUT: | |
* clickBotChecker.userIsBot() returns true if it thinks a bot is clicking your specified DOM element. | |
* METHOD | |
* .userIsBot() does the following to determine auto-clicking behavior: | |
* 1. Store the timestamp of every n clicks for analysis | |
* 2. Once three timestamps have been stored, every n clicks, find the absolute value of the difference between: | |
* a. ( (the average of the last three timestamps) * 3 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ajaxHelper.js | |
* written by bellydrum to make ajax even easier | |
* ------------------------------------------------------------------------------ | |
* @param url (string) - url from which to request data | |
* @param requestType (string) - type of request | |
* @param data (optional: object) - data required to make request | |
* @returns | |
* - success: {Promise<*>} | |
* - failure: error |