Skip to content

Instantly share code, notes, and snippets.

Jonathan Yu jawnsy

View GitHub Profile
@jawnsy
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
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
jawnsy / oc-cluster-up.sh
Created Jun 27, 2017
"oc cluster up" script
View oc-cluster-up.sh
#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
set -o xtrace
OS_HOME=/opt/openshift.local
oc cluster up \
View keybase.md

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:

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