Skip to content

Instantly share code, notes, and snippets.

View jonaswouters's full-sized avatar
💾
old school cool

Jonas Wouters jonaswouters

💾
old school cool
View GitHub Profile

Keybase proof

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:

#!/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
@jonaswouters
jonaswouters / nvidia.ps1
Created September 22, 2020 09:01
Check the Belgian nvidia store for 3080 stock
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] || ''
}