Skip to content

Instantly share code, notes, and snippets.

@0XDE57
0XDE57 / config.md
Last active September 13, 2024 17:30
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable. I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@stef
stef / gist:844019
Created February 25, 2011 16:16
a map/reduce parallelizer
from multiprocessing import Pool, Process, Queue
class Multiplexer(object):
def __init__(self, _map, _reduce, threads=8):
self._map=_map
self._reduce=_reduce
self.consumer=Process(target=self.consume)
self.pool = Pool(threads) # reduce if less aggressive
self.q=Queue()
self.done=False