Skip to content

Instantly share code, notes, and snippets.

View jawnsy's full-sized avatar

Jonathan Yu jawnsy

View GitHub Profile
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 / 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 /
Created June 27, 2017 23:18
"oc cluster up" script
set -o errexit
set -o pipefail
set -o nounset
set -o xtrace
oc cluster up \

Keybase proof

I hereby claim:

  • I am jawnsy on github.
  • I am 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.