This file contains hidden or 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
/* | |
To install, find your reddit_enhancement_suite.user.js file and paste it in after the other modules. | |
Firefox seems to detect when you tamper with extensions, so for now this is only working in Chrome. | |
1. WIN: Press Windows+R and paste in "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\Extensions" (w/o quotes). | |
MAC: Open a Finder window, press Command+Shift+G, and paste in "~/Library/Application Support/Google/Chrome/Default/Extensions" (w/o quotes). | |
2. Paste "reddit_enhancement_suite.user.js" (w/o quotes) into the search bar, and search in the Extensions folder. | |
3. Open the file in a text editor (if you don't have one, download Sublime Text from sublimetext.com and use that). | |
Paste the code right after all the other module definitions, which should be around line 21323. |
This file contains hidden or 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
/* | |
If a character is distorted, it will be replaced with an adjacent key on the keyboard. | |
The probability that a character will be distorted is determined by the function. | |
HOW TO USE: | |
Open a new tab and type about:blank in the address bar, press enter | |
Right click and choose 'Inspect Element' | |
Choose the 'Console' tab | |
Paste all of this in and press enter |
This file contains hidden or 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
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
This file contains hidden or 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
param( | |
[switch]$Enable, | |
[switch]$Disable, | |
$ProxyServer = "localhost", | |
$ProxyPort = "8080" | |
) | |
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | |
$Proxy = "$($ProxyServer):$($ProxyPort)" | |
$ErrorActionPreference = "stop" |