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
#!/usr/bin/env python | |
import os | |
import sys | |
import gzip | |
import itertools | |
from struct import pack, pack_into, unpack, unpack_from, calcsize | |
from binascii import hexlify, unhexlify | |
from subprocess import Popen, PIPE |
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 | |
# SPDX-License-Identifier: 0BSD OR MIT-0 OR CC0-1.0+ | |
# Copyright © 2025 Ryan Castellucci <[email protected]> | |
# | |
# vim_pack_update.sh | |
# | |
# A script to update all vim plugins managed by the native package manager. | |
# It handles plugins on a branch (fast-forward pull) and plugins on a tag | |
# (checks out the latest tag). | |
# |
This file has been truncated, but you can view the full file.
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
#!/usr/bin/env python3 | |
from sys import argv, exit, stdin, stdout, stderr | |
from functools import partial | |
eprint = partial(print, file=stderr) | |
import io | |
import re | |
import sys | |
import struct |
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
#pragma once | |
/* automatically generated */ | |
#define U64H2BE(V) __extension__({ \ | |
uint64_t _v = (V); \ | |
uint8_t _t[8]; \ | |
_t[0] = (_v & UINT64_C(0xFF00000000000000)) >> 56; \ | |
_t[1] = (_v & UINT64_C(0x00FF000000000000)) >> 48; \ | |
_t[2] = (_v & UINT64_C(0x0000FF0000000000)) >> 40; \ |
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
" automatically make script files executable when writing for the first time | |
function! NewScriptExec() abort | |
" check if this is a new file which starts with a shebang | |
if exists('s:new_file') && getline(1)[0:1] == '#!' | |
" based on https://stackoverflow.com/a/57539332 | |
let l:file = expand('%') | |
let l:old_perm = getfperm(l:file) | |
" set the exec bit everywhere the read bit is set | |
let l:new_perm = substitute(l:old_perm, '\v(r.)-', '\1x', 'g') | |
if (l:old_perm != l:new_perm) |
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/sh /dev/null | |
# vim: ft=bash: | |
__pat_safe() { expr "${1-}" : '[^[*!?:]*$' > /dev/null; } | |
if [ -z "${BASH_VERSION:-}" ]; then | |
# posix shells can't do variable indirection or pattern substitution | |
# directly, so we need to use eval and assorted commands | |
# https://stackoverflow.com/a/36235741/370695 |
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
PID3399646 2024-07-07 21:14:30,323 Info:Polynomial Selection (size optimized): Total time: 185661 | |
PID3399646 2024-07-07 21:33:34,744 Info:Polynomial Selection (root optimized): Total time: 13144.5 | |
PID3399646 2024-07-07 21:33:34,744 Info:Polynomial Selection (root optimized): Rootsieve time: 13211 | |
PID3399646 2024-07-07 21:33:37,547 Info:Generate Factor Base: Total cpu/real time for makefb: 32.61/2.7235 | |
PID3399646 2024-07-07 21:36:01,047 Info:Generate Free Relations: Total cpu/real time for freerel: 2243.09/143.364 | |
PID3399646 2024-07-08 15:38:26,312 Info:Generate Free Relations: Total cpu/real time for freerel: 2243.09/143.364 | |
PID3399646 2024-07-08 15:38:26,312 Info:Polynomial Selection (root optimized): Total time: 13144.5 | |
PID3399646 2024-07-08 15:38:26,312 Info:Polynomial Selection (root optimized): Rootsieve time: 13211 | |
PID3399646 2024-07-08 15:38:26,313 Info:Polynomial Selection (size optimized): Total time: 185661 | |
PID3399646 2024-07-08 15:38:26,313 Info:Generate Factor Base: Total cpu/real time for makefb: |
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
H4sICK4p5GECA2Zsb3BweS5pbWcA7PdTrzDM0gWKTtu2bdu2bdu2bVvPtG3btm3b2O/6zm84yb7Y | |
nXSnqscopNIXPT7bARLi5rvv/74sABDAuwAAOgIA2gEBGgEUFDv/c5AA3h4iRuZvIkYDTgEjFn4H | |
2oH+w9oBgWaQnYGu3jQ1AocAgAQOF9sBwNvAGSca5VsxZhC6AAH/o80gMPZHDkUORA5eAgAAIAD8 | |
f+v/fUu1Eg4fDrwXADDyrRmumgfABWQG4eqtGWAGLWy4Mmy4GW4G4Xcg4APM6Tpy6v9YlLNRFBGU | |
v0Ou74wTjIv/XfUBAEVORREAHEYRAhzCt25GAUYQRk5FAP4OuJ5FTkbOtgMA/w7At25EUQJc/g9m | |
jKD8z4tgBHiBb92JYowcYmAQcN2xACgAb0f+78l0jgPXA9wKdQAA9wIAP9kx/nUA+D6VXP3+/20C | |
6qYEFvYOpgSe9q7kTqYEpnZW9p6WduYELhamBAqGdsaG1qbOwvZ2BMwEwipihASa9q4E7qb/EW3s | |
7a3/xzOzdyIwJDCzMTTnh4VSsbB0/s+2d3DwJLAwdCawtzMlJJCwtzH5z6L5L+5/FcxNXVz+F2hI | |
4GDxH05gbGhjQ0dHBwsFC6VqbkHzf4U5Gcid/w8wNSEwtPtvO1v/Z/2v1H+opROBs4urmRmBkaGx | |
9f/FqVv8ryP3/9/BTyD/XxZPU2dCApX/Uhlb/C+Nnbkp4f+YonYupk4EDobOzu72TiZcBP8NABAI |
This file has been truncated, but you can view the full file.
NewerOlder