Skip to content

Instantly share code, notes, and snippets.

View mcrosson's full-sized avatar

KemoNine mcrosson

View GitHub Profile
@mcrosson
mcrosson / outlook.el
Created July 29, 2024 16:29
A simple handler for `outlook:` links -- swap `mailto:` for `outlook:` and emacs/org-mode will open the link as a new message
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; outlook email handling - windows only
(setq org-outlook-location (w32-short-file-name "C:/Program Files/Microsoft Office/Office16/OUTLOOK.EXE"))
(defun org-outlook-open (url)
(w32-shell-execute
;; Note: org strips "outlook:" from the link URL
"open" org-outlook-location (concat "/c ipm.note /m " url)))
(org-link-set-parameters "outlook" :follow 'org-outlook-open)
@mcrosson
mcrosson / _notes_unexpected_keyboard_custom_layouts.md
Last active June 14, 2024 16:43
KemoNine's custom layouts for unexpected keyboard
@mcrosson
mcrosson / Dockerfile
Last active May 4, 2024 18:04
imap-backup with email-oauth2-proxy
# base imap-backup container image (this is being extended for oauth2 support)
FROM ghcr.io/joeyates/imap-backup:latest
# volumes for config and data
VOLUME /config
VOLUME /data
# init pkg mgr repo & update installed apps
RUN apk update && apk upgrade
# setup s6-overlay (needed for email-oauth2-proxy service/helper)
@mcrosson
mcrosson / dim_kemonine.txt
Last active January 4, 2022 22:08
Destiny 2 DIM Wishlist
// DIM List URLs
// https://raw.githubusercontent.com/48klocs/dim-wish-list-sources/master/voltron.txt
// https://gist.githubusercontent.com/mcrosson/86c5079946145b4de6e164ece88c43aa/raw/9a43e988a6114b28117c25984c8d0c03dc18dc15/dim_kemonine.txt
title:KemoNine
description:General rolls KmN wants
// IOTA - Fusion Rifle
dimwishlist:item=3044460004&perks=1570042021,1754714824#notes:fill in frame / style gap
// Vulpecula - Hand Cannon
dimwishlist:item=1622998472&perks=839105230,3142289711,1168162263,124408337#notes:KemoNine god roll. match 3rd and 4th column minimum
// Toil and Trouble - Shotgun
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
target_include_directories(app boards/shields/pockettype)
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
/*
* Copyright (c) 2020 The ZMK Contributors
* SPDX-License-Identifier: MIT
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
/ {
model = "nRF52840-MDK Dongle Dev Kit";
In file included from ../../src/behaviors/behavior_rgb_underglow.c:13:
../../src/behaviors/behavior_rgb_underglow.c: In function 'on_keymap_binding_pressed':
../../include/dt-bindings/zmk/rgb.h:20:29: error: expected ':' or '...' before numeric constant
20 | #define RGB_TOG RGB_TOG_CMD 0
| ^
../../src/behaviors/behavior_rgb_underglow.c:24:10: note: in expansion of macro 'RGB_TOG'
24 | case RGB_TOG:
| ^~~~~~~
compilation terminated due to -Wfatal-errors

Keyboard

Maintainer: [your name] Product Page: (Name)[URL]

Additional Information

Any additional information/notes applicable here