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
| /nntp-md-adder |
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
| CREATE TABLE [MyTable] ( | |
| [ID] INTEGER PRIMARY KEY NOT NULL, | |
| [Foo] INTEGER, | |
| [Bar] INTEGER); | |
| -- Insert 50000 identical rows | |
| INSERT INTO [MyTable] ([Foo], [Bar]) | |
| SELECT 123, 456 FROM generate_series(1, 50000, 1); | |
| -- All rows are: [Foo]==123, [Bar]==456 |
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
| import std.math; | |
| import ae.net.asockets; | |
| import ae.sys.timing; | |
| import mylib.linux.input_event_codes; | |
| import uinput_filter.client; | |
| import uinput_filter.common; |
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
| import ae.utils.graphics.color; | |
| import ae.utils.graphics.hls; | |
| import ae.utils.graphics.image; | |
| import ae.utils.math; | |
| import std.conv; | |
| import std.math; | |
| import std.stdio; | |
| enum size = 4096; |
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
| -- autosave.lua | |
| -- | |
| -- Periodically saves "watch later" data during playback, rather than only saving on quit. | |
| -- This lets you easily recover your position in the case of an ungraceful shutdown of mpv (crash, power failure, etc.). | |
| -- | |
| -- You can configure the save period by creating a "lua-settings" directory inside your mpv configuration directory. | |
| -- Inside the "lua-settings" directory, create a file named "autosave.conf". | |
| -- The save period can be set like so: | |
| -- | |
| -- save_period=60 |
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
| -pbp # Start with Perl Best Practices | |
| -w # Show all warnings | |
| -iob # Ignore old breakpoints | |
| -l=80 # 80 characters per line | |
| -vmll | |
| -ibc | |
| -iscl | |
| -hsc | |
| -mbl=2 # No more than 2 blank lines | |
| -i=2 # Indentation is 2 columns |
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
| /twine_graph | |
| /graph.dot | |
| /graph.dot.svg |
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
| /crack_caesar | |
| /crack_1to1_dict | |
| /decode | |
| /crack_alg_dict | |
| /crack_vignette_dict |
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
| #!/bin/bash | |
| # shellcheck disable=SC1003 | |
| set -eEuo pipefail | |
| # Converts a list of wildcard patterns, as defined by glob(7) and used | |
| # by e.g. GNU find for the -path switch, to a single regular | |
| # expression. | |
| function ShellPatternsToRegex() { | |
| local patterns=("$@") |
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
| dummy |