Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?> <keyboard bottom_row="false"> <row height="0.6">
<key shift="0.8" width="2.5" key0="tab" key1="switch_numeric" edgekeys="true"/> <key width="1.7" key0="left" key3="home" edgekeys="true"/> <key width="1.4" key1="up" key4="down" edgekeys="true"/>
<key width="1.7" key0="right" key2="end" edgekeys="true"/>
<key width="1.2" key1="shift" key4="ctrl" key0="fn" edgekeys="true"/> <key width="1.5" key0="backspace" key1="delete" key4="delete" edgekeys="true"/> </row>
<row height="0.6"> <key shift="0.8" key0="1"/> <key key0="2" key4="selectAll"/> <key key0="3"/> <key key0="4" key4="cut"/> <key key0="5" key4="copy"/> <key key0="6" key4="paste"/> <key key0="7"/> <key key0="8"/> <key key0="9"/> <key key0="0"/> </row> <row height="0.9">
<key shift="0.8" key0="q" key4="`" key2="~" />
<key key0="w" key3="!" key2="@"/> <key key0="e" key2="#" key3="loc €"/> <key key0="r" key2="$" key3="loc £"/> <key key0="t" key2="%" />
<key key0="y" key2="^"/>
<key key0="u" key2="&amp;"/> <key key
<?xml version="1.0" encoding="utf-8"?>
<keyboard bottom_row="false">
<row height="0.5"> <key shift="0.0" width="2.5" key0="tab" key1="switch_numeric" edgekeys="true"/>
<key width="1.7" key0="left" key3="home" edgekeys="true"/>
<key width="1.4" key1="up" key4="down" edgekeys="true"/>
<key width="1.7" key0="right" key2="end" edgekeys="true"/>
<key width="1.2" key1="shift" key4="ctrl" key0="fn" edgekeys="true"/>
<key width="1.5" key0="backspace" key1="delete" key4="delete" edgekeys="true"/> </row>
@sdrapha
sdrapha / mc-wrapper.fish
Created July 1, 2023 18:41
mc-wrapper.fish
function mc
set SHELL_PID %self
if not test -d "/tmp/mc-$USER"
mkdir -p "/tmp/mc-$USER"
end
set MC_PWD_FILE "/tmp/mc-$USER/mc.pwd.$SHELL_PID"
/usr/bin/mc -P $MC_PWD_FILE $argv
@sdrapha
sdrapha / noVNCCopyPasteProxmox.user.js
Last active November 15, 2023 06:11 — forked from amunchet/noVNCCopyPasteProxmox.user.js
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@sdrapha
sdrapha / my-oh-my-posh-theme.omp.json
Created November 15, 2023 06:17
my oh-my-posh theme based on Tiwahu
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#007ACC",
"foreground": "#222222",
"properties": {
@sdrapha
sdrapha / multiscrape_mocreo.yaml
Created April 2, 2024 04:42
homeassistant mocreo sensors integration
multiscrape:
- resource: 'https://mocreo_hub.reverse_proxy.com/sensors'
scan_interval: 300
verify_ssl: false
form_submit:
resource: 'https://mocreo_hub.reverse_proxy.com/login'
select: 'body > div > div > div > div > div.card-body > form'
input:
passwd: !secret mocreo_password
sensor: