Skip to content

Instantly share code, notes, and snippets.

View FunctionDJ's full-sized avatar

FunctionDJ

View GitHub Profile
/* global nodecg */
import { faCheck } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import React, { useState, useEffect } from "react";
import ReactDOM from "react-dom";
import OverlayData from "../shared/OverlayData";
import LoaderOverlay from "./components/LoaderOverlay";
import LogoPicker from "./components/LogoPicker";
import RowLabelInput from "./components/RowLabelInput";
import Socials from "./components/Socials";
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="7zip.install" version="19.0" />
<package id="audacity" version="2.4.2" />
<package id="autohotkey.portable" version="1.1.33.02" />
<package id="ccleaner" version="5.76.8269" />
<package id="chocolatey" version="0.10.15" />
<package id="chocolateygui" version="0.17.3" />
<package id="discord.install" version="0.0.309" />
<package id="epicgameslauncher" version="1.1.298.0" />
@FunctionDJ
FunctionDJ / cloudSettings
Last active June 19, 2021 14:00
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-06-19T14:00:41.526Z","extensionVersion":"v3.4.3"}
@FunctionDJ
FunctionDJ / swap.js
Created February 7, 2020 18:09
How the swap function works
// We're given this function
x = (y=>y)(y,y=x)
// It assignes something to x
// y => y is an arrow function with implicit return
// implicit return means that the "function body" is just an expression that we return
// We can write y => y like this
y => {
return y;
}
// So we can turn our arrow function to a classic named function like this: