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
| # frozen_string_literal: true | |
| # LICENSE: MIT | |
| # | |
| # A very simple deterministic string encryption. | |
| # Variation of a Caesar cipher. | |
| # | |
| # Intended to be used with strings, | |
| # primary purpose of this approach is to merely make it *harder* for an eavesdropper |
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
| # using https://github.com/taganaka/easy_threadpool_rb | |
| require "easy_threadpool" | |
| Thread.abort_on_exception = true | |
| class ThreadsafeCounter | |
| def initialize | |
| @counter = 0 | |
| @mutex = Mutex.new | |
| end |
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
| // ==UserScript== | |
| // @name Google Search Results Filter Lite, semi-auto, domain-based | |
| // @author zeeLime | |
| // @description Hides search results from specified domains. Requires manual configuration directly in the script code, but simple as F. | |
| // @include *://*.google.*/search* | |
| // @version 2022.08.10.12.17.11 | |
| // @license WTFPL | |
| // ==/UserScript== | |
| (function() { |