Skip to content

Instantly share code, notes, and snippets.

View josiahwiebe's full-sized avatar

Josiah Wiebe josiahwiebe

View GitHub Profile
@josiahwiebe
josiahwiebe / blogpost.py
Last active January 31, 2020 01:59
Post from Editorial to Jekyll on GitHub Pages
#coding: utf-8
import keychain
import console
import editor
import time
import re
import requests
import json
@josiahwiebe
josiahwiebe / validateVin.js
Created May 8, 2020 16:29
Validate VIN function
export const validateVin = value => {
if (value.length !== 17) return false
let chars = 'ABCDEFGHJKLMNPRSTUVWXYZ0123456789'
let nValue = new Array(
1,
2,
3,
4,
5,
@josiahwiebe
josiahwiebe / api.js
Created February 9, 2018 15:50
Polka NextJS + API Example
const polka = require('polka')
module.exports = polka()
.get('/', (req, res) => {
res.end('this is the api')
})