Skip to content

Instantly share code, notes, and snippets.

1 - Install imagemagick

  • Mac: brew install imagemagick
  • Ubuntu Linux: Follow this guide
  • If you are on windows, these instructions should work on WSL (windows subsystem for linux)

Updated Script

1- Save the following script as split-icons.sh

// create-react-app typescript WSL
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
@ldd
ldd / todo.js
Created October 16, 2021 07:32
todo-list familiars
function loadFont(container) {
const familiarsFont = new FontFace(
"Junction Regular",
"url(https://cors-anywhere.herokuapp.com/https://cdn.discordapp.com/attachments/617372365520896027/892619268854792202/FamIo8.ttf)"
);
familiarsFont
.load()
.then(loaded_face => document.fonts.add(loaded_face))
.catch(() =>
console.log(