Skip to content

Instantly share code, notes, and snippets.

View JMrtzsn's full-sized avatar

Johannes Mauritzson JMrtzsn

View GitHub Profile
@JMrtzsn
JMrtzsn / notion2blog.js
Created July 26, 2021 04:56 — forked from mayneyao/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@JMrtzsn
JMrtzsn / main.go
Created December 23, 2020 08:21 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"

Keybase proof

I hereby claim:

  • I am jmrtzsn on github.
  • I am jmauritz (https://keybase.io/jmauritz) on keybase.
  • I have a public key ASBXAxLsGzhaScVpAthBYUNQT0k5qGhj9kTJApRepVMagAo

To claim this, I am signing this object: