Skip to content

Instantly share code, notes, and snippets.

View jonz94's full-sized avatar
🀯
But first, we need to talk about Parallel Universes

jonz94 jonz94

🀯
But first, we need to talk about Parallel Universes
  • Taipei, Taiwan
View GitHub Profile
@jonz94
jonz94 / 0-patch-scoop-nerd-fonts-manifests.md
Last active October 24, 2021 00:04
Patch https://github.com/matthewjberger/scoop-nerd-fonts manifests to allow font installation for non-admin user

Tools

  • git (scoop install git)
  • busybox for sed command (scoop install busybox)
  • nodejs version 14 (scoop bucket add versions; scoop install nodejs14)

Setup

  1. Open html file with broswer

  2. Open console, paste following code snippet

let base64png;

fetch('https://html2canvas.hertzen.com/dist/html2canvas.min.js')
  .then(response => response.text())
 .then(text => eval(text))