See files in this Gist for various crashes/lockups/oopses.
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 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' |
- Core Flake to be imported by all projects.
- Contacts library (DAV, Gmail REST, Exchange-rs lib)
- Calendar library (DAV, Gmail REST, Exchange-rs lib)
- Todo library (DAV, Google Tasks lib, Pimalaya Calendar lib, Taskwarrior, Microsoft 365 To-Do)
- Memtime alternative - link with Calendar, ToDo?
- Todo/Calendar TUI/tool.
- Calendar/ToDo reminder daemon (hooks? part of the above tool)
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
#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 |
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
#![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; |
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 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; |
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 | |
# 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 |
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: