This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This function can be applied to the results in the above's `computeSizes` to output the results as a `widths` and `sizes` attribute | |
* to be used in an Astro project | |
*/ | |
const convertToAstroCode = (obj) => { | |
const result = {}; | |
Object.keys(obj).forEach((key) => { | |
const measurements = obj[key]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |