Skip to content

Instantly share code, notes, and snippets.

View marisademeglio's full-sized avatar

Marisa DeMeglio marisademeglio

View GitHub Profile
(async () => {
let latestWin = await latest('.exe');
let latestMac = await latest('.pkg');
if (!latestMac) {
latestMac = await latest('.dmg');
}
console.log('WIN', latestWin);
console.log('MAC', latestMac);
})();
@marisademeglio
marisademeglio / index.html
Created September 29, 2022 16:01
pipeline webservice tester
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
display: flex;
flex-direction: column;
@marisademeglio
marisademeglio / gist:609e65ebb7c7bd1b2b2099aa1cb7a0c3
Created November 15, 2020 20:12
All non-deprecated, non-draft EPUB SSV terms that have no direct equivalent in DPUB-ARIA or WAI-ARIA
frontmatter
bodymatter
backmatter
volume
division
preamble
landmarks
loi
loa
lot
const path = require('path');
const fs = require('fs');
let logEntries = [];
let logs = fs.readdirSync('./logs');
let logfile = log => path.join(__dirname, 'logs', log);
logs.map(log => {
let filename = logfile(log);
console.log(`Processing ${filename}`);