Skip to content

Instantly share code, notes, and snippets.

# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg
[ColorScheme]
active_colors={foreground}, {background}, {background}, {background}, {background}, {background}, {color7}, {color7}, {foreground}, {color0}, {background}, {background}, {color1}, {color0}, {color1}, {foreground}, {background}, {foreground}, {background.strip}, {foreground}
disabled_colors={inactive}, {background}, {background}, {background}, {background}, {background}, {inactive}, {inactive}, {inactive}, {color0}, {background}, {background}, {color1}, {color0}, {color1}, {inactive}, {background}, {inactive}, {background}, {inactive}
inactive_colors={foreground}, {background}, {background}, {background}, {background}, {background}, {color7}, {color7},
@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active March 19, 2025 23:38
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux
{
"background" : "#1d2021",
"black" : "#665C54",
"blue" : "#7DAEA3",
"brightBlack" : "#928374",
"brightBlue" : "#7DAEA3",
"brightCyan" : "#89B482",
"brightGreen" : "#A9B665",
"brightPurple" : "#D3869B",
"brightRed" : "#EA6962",
@StuartGordonReid
StuartGordonReid / OverlappingPatterns.py
Created August 25, 2015 16:02
Python implementation of the Overlapping Patterns cryptographic test for randomness
def overlapping_patterns(self, bin_data: str, pattern_size=9, block_size=1032):
"""
Note that this description is taken from the NIST documentation [1]
[1] http://csrc.nist.gov/publications/nistpubs/800-22-rev1a/SP800-22rev1a.pdf
The focus of the Overlapping Template Matching test is the number of occurrences of pre-specified target
strings. Both this test and the Non-overlapping Template Matching test of Section 2.7 use an m-bit
window to search for a specific m-bit pattern. As with the test in Section 2.7, if the pattern is not found,
the window slides one bit position. The difference between this test and the test in Section 2.7 is that
when the pattern is found, the window slides only one bit before resuming the search.