Skip to content

Instantly share code, notes, and snippets.

View monkeyx-net's full-sized avatar

MonkeyX monkeyx-net

View GitHub Profile
@Flix01
Flix01 / imgui_virtual_keyboard.cpp
Last active February 15, 2025 14:30
Complete keyboard prototype for Dear ImGui version 1.87.
/* This code is an extension of the 'keyboard section' present in 'imgui_demo.cpp'.
License is the same (MIT License AFAIK)
*/
#include <imgui_virtual_keyboard.h>
namespace ImGui {
// VirtualKeyboard Implementation
const char** GetKeyboardLogicalLayoutNames() {
@oprypin
oprypin / instructions.md
Last active May 8, 2025 01:05
systemd user unit + timer example

Save these files as ~/.config/systemd/user/some-service-name.*

Run this now and after any modifications: systemctl --user daemon-reload

Try out the service (oneshot): systemctl --user start some-service-name

Check logs if something is wrong: journalctl -u --user-unit some-service-name

Start the timer after this user logs in: systemctl --user enable --now some-service-name.timer