I hereby claim:
- I am shymega on github.
- I am shymega (https://keybase.io/shymega) on keybase.
- I have a public key whose fingerprint is EB0D 45E6 D0DC 1BA1 A2B5 FC24 72DC F123 1E54 BD43
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| # Original code from @sircmpwm | |
| # License: wtfpl | |
| # Modified by @shymega , to print to stdout the top quotes from bash.org - *without* postgresql. | |
| import requests | |
| import sys | |
| from bs4 import BeautifulSoup |
| #!/usr/bin/env sh | |
| # Iterates over JPG files, grabs lens focal length in metadata, and aappends it to a file. | |
| find ./*.jpg -print -exec exiftool -T -lens -focallength "{}" \; >> lens_focal-lengths.txt; |
| #![feature(const_fn)] | |
| #![feature(const_fn_transmute)] | |
| #[derive(restruct_derive::Struct)] | |
| #[fmt(">B")] | |
| pub(crate) struct U8Serializer; | |
| #[derive(restruct_derive::Struct)] | |
| #[fmt(">H")] | |
| pub(crate) struct U16Serializer; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| /** | |
| * The MIT License (MIT) | |
| * | |
| * Copyright © 2022 Dom Rodriguez (shymega) | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
| #!/usr/bin/env bash | |
| # SPDX-FileCopyrightText: 2025 Dom Rodriguez (shymega) | |
| # | |
| # SPDX-License-Identifier: CC-1.0 | |
| export TARGET_MONITOR="${1}" | |
| swaymsg -t get_outputs | jq --arg TARGET_MONITOR "$TARGET_MONITOR" -r '.[] | (.make + " " + .model + " " + .serial) as $monitor | select ($monitor == $TARGET_MONITOR) | .name' |
See files in this Gist for various crashes/lockups/oopses.