Skip to content

Instantly share code, notes, and snippets.

View jawnsy's full-sized avatar

Jonathan Yu jawnsy

View GitHub Profile
@jawnsy
jawnsy / webpack.base.js
Created November 3, 2017 16:10
Webpack config for Vue + TypeScript
const util = require('./util');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: {
main: util.resolve('src', 'main.ts'),
},
output: {
filename: '[name].bundle.js',
@jawnsy
jawnsy / assert-check.go
Created October 24, 2017 17:33
Checking vs not checking type assertion
package main
import "fmt"
type Context struct {
}
func main() {
a := &Context{}
var b interface{} = a
@jawnsy
jawnsy / oc-cluster-up.sh
Created June 27, 2017 23:18
"oc cluster up" script
#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
set -o xtrace
OS_HOME=/opt/openshift.local
oc cluster up \

Keybase proof

I hereby claim:

  • I am jawnsy on github.
  • I am jawnsy (https://keybase.io/jawnsy) on keybase.
  • I have a public key whose fingerprint is 8AF7 6B93 69D1 0B64 EBFC E13E F3C2 F688 A21C B648

To claim this, I am signing this object:

Verifying I am +jawnsy on my passcard. https://onename.com/jawnsy