Skip to content

Instantly share code, notes, and snippets.

View alichtman's full-sized avatar
🏡
$HOME

Aaron Lichtman alichtman

🏡
$HOME
View GitHub Profile
2 17:11:13 alpenglow systemd[1]: Started [email protected] - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Jul 12 17:11:13 alpenglow audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@3-327590-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 12 17:11:15 alpenglow systemd-coredump[327591]: [🡕] Process 3157597 (kwin_wayland) of user 1000 dumped core.
Module /usr/lib64/qt6/plugins/tls/libqopensslbackend.so (deleted) from rpm qt6-qtbase-6.7.2-2.fc40.x86_64
Module /usr/lib64/qt6/plugins/tls/libqcertonlybackend.so (deleted) from rpm qt6-qtbase-6.7.2-2.fc40.x86_64
Module /usr/lib64/libQt6Sql.so.6.7.2 (deleted) from
memento on  main [?] via 🐍 v3.11.3 via 💎 v3.2.2 took 16s
06:19:22 PM ✗ HNSWLIB_NO_NATIVE=1 pip3 install .
Processing /opt/memento
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mss==9.0.1 (from memento==0.0.1.2)
Using cached mss-9.0.1-py3-none-any.whl (22 kB)
Collecting numpy==1.25.1 (from memento==0.0.1.2)
@alichtman
alichtman / gist:e171367ea8b9b025b4f209bad7f8941d
Created January 13, 2024 10:19
`neovim` crash on healthcheck
$ nvim --version
NVIM v0.10.0-dev-2073+gc8f696f2b
Build type: Debug
LuaJIT 2.1.1703358377
#####
# Load my config
# Run :checkhealth
# Run :checkhealth again -- SEGV
#####
@alichtman
alichtman / zcomet-example-config.zsh
Last active August 20, 2023 06:55
zcomet vs. zinit configs
# zcomet plugin config {{{
source /opt/zcomet/zcomet.zsh
# oh-my-zsh plugins
zcomet load ohmyzsh lib git.zsh
zcomet snippet OMZ::plugins/git/git.plugin.zsh
zcomet snippet OMZ::plugins/fzf/fzf.plugin.zsh
zcomet snippet OMZ::plugins/ssh-agent/ssh-agent.plugin.zsh
/tmp/grepawk/server/fs-ops.js
1:1 error Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
/tmp/grepawk/server/http.js
3:7 error 'xfs' is assigned a value but never used no-unused-vars
5:7 error 'url' is assigned a value but never used no-unused-vars
7:7 error 'formidable' is assigned a value but never used no-unused-vars
:: Windows 10 OSED Setup
::
:: Connect over RDP with: rdesktop IP -u Offsec -p lab -r disk:kali=/home/kali/OSED/ -P
:: Store files in ~/OSED/files/. Check script for appropriate file locations
::
:: Extra files sourced from: https://github.com/corelan/windbglib
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Install mona
Program received signal SIGSEGV, Segmentation fault.
[33m__memmove_avx_unaligned_erms[m () at [32m../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S[m:440
440 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0 [33m__memmove_avx_unaligned_erms[m () at [32m../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S[m:440
#1 [34m0x0000555555628d26[m in [33mmemcpy[m ([36m__len[m=1650605088, [36m__src[m=<optimized out>, [36m__dest[m=<optimized out>) at [32m/usr
/include/x86_64-linux-gnu/bits/string_fortified.h[m:34
#2 [33mserial_restore_char[m ([36mc=c@entry[m=0x555555addbd0, [36md=d@entry[m=0x555555ac3a80 "R?\025&\227", <incomplete sequence \375\215>,
[36moff=off@entry[m=0x7fffffffabec, [36mconvert=convert@entry[m=false) at [32mhcache/serialize.c[m:187
#3 [34m0x0000555555628e91[m in [33mserial_restore_address[m ([36mal=al@entry[m=0x555555adda80, [36md=d@entry[m=0x555555ac3a80 "R?\025&\227"
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFpVkIoBEADWK+eqWDoK6zCyjQQrYrFqCxQgiccC6RKYkxabTWuD8MZOFYT7
qCyCZ6OHjUQb2FkXMr4WUc0n6nVrmGgu0jc4sGvR4kM06tTszg2lss8IIvHPeJu9
V8e+Xh+7EX0d9X/wqYArMMygSxgMVFiT61E2JFS07yHHP2DgNrPX91kdjSEcjr+A
PnLiuVMx6hHIFXtu3FgpOP8Plfme9WisPqE3YhUm/p3tPNBMqW5lBxPYCKk1t+r5
EWVNtEprDx7yCYFYr5HALHgT/1NiBOHZ8nlTlnfW4Qgs/q4z86Di0rbK/6a2gfIQ
FxCSw81m6iTiYLs6Kfx271MbBXNxft4rhE3kV2JTgZsQ162SaxhnKqyQClQZ25Hy
PohJ9NwCWgtnWxiK+yGwcxV+MYpkDZVQDfNjyoi7SOuXH5ypwflsruF4NK4zcyH/
yPq8P34zPMb/hydU3jGWOqIhrpZkAoLI9dj2omN8qwNZ1w8y0Ry3EzUNaSll8UBN
/**
* BUG: When encrypting certain types of files, an empty (0B) file is created.
* I can reproduce it with PDFs and JPGs, however, this works with text
* files and some executables, so it's not a "plaintext-only" issue.
**/
const fs = require("fs");
const crypto = require("crypto");
/**