Skip to content

Instantly share code, notes, and snippets.

🇺🇸

grossdm Grossdm

🇺🇸
  • Milky Way, Earth, United States of America
Block or report user

Report or block Grossdm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gorhill
gorhill / gist:ef1b62d606473c68d524
Last active Dec 23, 2019
Disqus comments widget: on-demand
View gist:ef1b62d606473c68d524
! Title: Disqus click-to-load
# Copy-paste the static filters below into your "My filters" pane in the
# dashboard.
# Purpose is to load Disqus comments on demand only, so that no connection
# to `disqus.com` occurs by default when you land on a site which uses
# Disqus comments widget.
# Not connecting to Disqus by default is a good thing for such a
# ubiquitous server as `disqus.com`, which can be used to build a
@Tblue
Tblue / mozlz4a.py
Last active Nov 29, 2019
MozLz4a compression/decompression utility
View mozlz4a.py
#!/usr/bin/env python
#
# Decompressor/compressor for files in Mozilla's "mozLz4" format. Firefox uses this file format to
# compress e. g. bookmark backups (*.jsonlz4).
#
# This file format is in fact just plain LZ4 data with a custom header (magic number [8 bytes] and
# uncompressed file size [4 bytes, little endian]).
#
# This Python 3 script requires the LZ4 bindings for Python, see: https://pypi.python.org/pypi/lz4
#
You can’t perform that action at this time.