Skip to content

Instantly share code, notes, and snippets.


Jonathan Yu jawnsy

View GitHub Profile
jawnsy / webpack.base.js
Created Nov 3, 2017
Webpack config for Vue + TypeScript
View webpack.base.js
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 Oct 24, 2017
Checking vs not checking type assertion
View assert-check.go
package main
import "fmt"
type Context struct {
func main() {
a := &Context{}
var b interface{} = a
jawnsy /
Created Jun 27, 2017
"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:

View gist:2d9fc497a6ceba4df557
Verifying I am +jawnsy on my passcard.
You can’t perform that action at this time.