Skip to content

Instantly share code, notes, and snippets.

View DaveInchy's full-sized avatar
💭
I may be slow to respond.

David DaveInchy

💭
I may be slow to respond.
View GitHub Profile
@krazyjakee
krazyjakee / DownloadMixamoByJakeCattrall.js
Last active April 22, 2024 06:58 — forked from TheLouisHong/DownloadMixamoByLouisHong.js
Downloads all the free Mixamo Animations
function trigger(el, eventType) {
if (typeof eventType === 'string' && typeof el[eventType] === 'function') {
el[eventType]();
} else {
const event =
eventType === 'string'
? new Event(eventType, {bubbles: true})
: eventType;
el.dispatchEvent(event);
}
@tolu
tolu / wsl-puppeteer.js
Last active January 28, 2022 14:20
Puppeteer on WSL
// resource: http://ktkr3d.github.io/2020/01/27/Puppeteer-on-WSL/
// install puppeteer
// > npm i -g puppeteer
// use chrome from windows: add this to ~/.profile
// PATH=/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application:$PATH
const puppeteer = require('puppeteer');