Skip to content

Instantly share code, notes, and snippets.

View tylermercer's full-sized avatar

Tyler Mercer tylermercer

View GitHub Profile
### Keybase proof
I hereby claim:
* I am tylermercer on github.
* I am tylermercer (https://keybase.io/tylermercer) on keybase.
* I have a public key ASBfh8djhhBZhJZ73MQnyIBIdpz8sGR6p2Vs8wVJvMHmRQo
To claim this, I am signing this object:
@tylermercer
tylermercer / jar_merger.sh
Last active August 13, 2018 20:06
A simple bash script for merging JAR files
#!/bin/bash/
#Based on http://sureshatt.blogspot.com/2012/03/unzip-all-jars-at-once.html
#Command line args are ($1) the directory to pull jars from and ($2)
mkdir unzippedjarfilesthatwillbemerged;
x=0;
ls -1 $1/*.jar > filelist
for filename in `cat filelist`
do
@tylermercer
tylermercer / AsyncProvider.ts
Last active April 2, 2021 16:43
Asynchronously Providing a Value in Vue3
/* eslint vue/no-setup-props-destructure: 0 */
import { defineComponent, createVNode as h, ref, provide } from "vue"
const createInnerProvider = <T> () => {
return defineComponent({
props: {
toProvide: {
type: Object as () => T
},