Verifying my OpenPGP key: openpgp4fpr:77dda1b68d04792a8f85d855235e5C8Cf5e8dffb.
This file contains 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
.env |
This file contains 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
# Rule to run a script when yubikey is inserted/removed | |
# Mostly to get gpg and ssh to behave properly | |
# There are signals this will be patched in gpg so this may be | |
# not needed anymore. | |
ACTION=="remove|add|change", \ | |
ENV{ID_VENDOR_ID}=="1050",ENV{ID_MODEL_ID}=="0116",ENV{ID_SERIAL_SHORT}=="0003022097", \ | |
RUN+="/usr/local/bin/yubikey-changed" |
This file contains 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
Debugger entered--Lisp error: (quit) | |
org-check-agenda-file("/home/mrb/dat/org/journal/20200728.org") | |
org-agenda-prepare-buffers(("/home/mrb/dat/org/journal/20200728.org")) | |
org-map-entries(#f(compiled-function () #<bytecode 0x1e0c29938002>) "+carryover|+TODO=\"TODO\"") | |
org-journal-carryover() | |
org-journal-new-entry((4)) | |
funcall-interactively(org-journal-new-entry (4)) | |
call-interactively(org-journal-new-entry nil nil) | |
command-execute(org-journal-new-entry) |
This file contains 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
(use-package org-journal | |
:after org | |
:bind | |
(("C-c j" . 'org-journal-new-entry)) | |
:init | |
;; The expand-file-name is needed, which is odd, because for single | |
;; files this is not needed. | |
(setq org-journal-dir (expand-file-name (concat org-directory "journal/")) | |
;; Bring our config to every journal file | |
org-journal-file-header "#+SETUPFILE: ~/.emacs.d/org-config.org" |
This file contains 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
{'full_text': 'BTC: $7689.26', 'color': '#FF0000', 'cached_until': 1587997641.0} | |
{'full_text': 'BTC: $7689.26', 'color': '#FF0000', 'cached_until': 1587997642.0} | |
{'full_text': 'BTC: $7689.26', 'color': '#FF0000', 'cached_until': 1587997643.0} | |
{'full_text': 'BTC: $7689.26', 'color': '#FF0000', 'cached_until': 1587997644.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997645.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997646.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997647.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997649.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997650.0} | |
{'full_text': 'BTC: $7689.27', 'color': '#FF0000', 'cached_until': 1587997651.0} |
This file contains 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 python | |
# -*- mode:python -*- | |
# | |
# Converts suunto zip files (which contain json files) to a gpx file | |
# until Suunto gets their act together and let me have my own data in | |
# a normal way. | |
# Needs: python 3.7 | |
# | |
# These zip files are producted by the Suunto app and typically on | |
# android are located at: |
This file contains 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
diff --git a/src/dsmr.h b/src/dsmr.h | |
index ced73ec..73b368c 100644 | |
--- a/src/dsmr.h | |
+++ b/src/dsmr.h | |
@@ -32,6 +32,10 @@ | |
#ifndef DSMR_INCLUDE_DSMR_H | |
#define DSMR_INCLUDE_DSMR_H | |
+// Workaround for isolatiing support DSMR2.2 (kinda) | |
+// - no checksum after the '!' |
This file contains 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
<?php | |
// Quick log wrapper | |
function _log($str) { | |
file_put_contents("php://stdout", $str); | |
} | |
// Show that we're up | |
_log("Got some data....\n"); |
This file contains 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
== Go == | |
Go has commonly used helper programs `godoc' and `godef' which can be used to find documentation | |
and source definitions. | |
An example of how to enable `C-h f' as context sensitive help function: | |
{{{ | |
;; https://github.com/dominikh/go-mode.el | |
(use-package go-mode |
NewerOlder