I hereby claim:
- I am jonaswouters on github.
- I am jonaswouters (https://keybase.io/jonaswouters) on keybase.
- I have a public key whose fingerprint is 3E5D D4E9 B371 1543 6F1F 91E8 47C0 2FA6 BCC1 976D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# Converts the JSON export of Journey.Cloud diary entries into an Evernote Note Export format (ENEX) for easy import into Joplin. | |
# Create/update date, journal text, location, photos and tags are preserved in the resulting Evernote Note. | |
# Based on https://gist.github.com/mbafford/2c18f5c4d7b0dab673fddb1af2126680 | |
import sys | |
import os | |
import json | |
import base64 |
function FormatXML ([xml]$xml) | |
{ | |
$StringWriter = New-Object System.IO.StringWriter; | |
$XmlWriter = New-Object System.Xml.XmlTextWriter $StringWriter; | |
$XmlWriter.Formatting = "indented"; | |
$xml.WriteTo($XmlWriter); | |
$XmlWriter.Flush(); | |
$StringWriter.Flush(); | |
Write-Output $StringWriter.ToString(); | |
} |
import { createHash, randomBytes } from 'crypto' | |
const logger = { | |
error: (errorCode, ...text) => { | |
if (!console) { | |
return | |
} | |
if (text && text.length <= 1) { | |
text = text[0] || '' | |
} |