Skip to content

Instantly share code, notes, and snippets.

View FunctionDJ's full-sized avatar
🏠
Working from home

Function FunctionDJ

🏠
Working from home
View GitHub Profile
@FunctionDJ
FunctionDJ / tasks.json
Created September 9, 2021 12:11
PHPStan problem matcher for VSCode tasks.json
{
"owner": "phpstan",
"source": "phpstan",
"severity": "error",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": [
{
"regexp": "^\\s*Line\\s*(.*)$",
"file": 1,
},
/**
* Types for character / expression rendering by https://github.com/FunctionDJ
*
* Credit goes to https://github.com/ac2pic and https://github.com/AndrielChaoti
* for initial types at https://github.com/CCDirectLink/crosscode-re-docs/blob/master/gui/faces.md
*/
type Mapped<T> = {
[key: string]: T
}
/**
* Types for character / expression rendering by https://github.com/FunctionDJ
*
* Credit goes to https://github.com/ac2pic and https://github.com/AndrielChaoti
* for initial types at https://github.com/CCDirectLink/crosscode-re-docs/blob/master/gui/faces.md
*/
type Mapped<T> = {
[key: string]: T
}
type Mapped<T> = {
[key: string]: T
}
export interface CharacterData {
face?: Face | string | FaceMap
}
export interface Face {
width: number
import { ReactElement } from "react";
import { Alert } from "react-bootstrap";
import { ChangeVarNumber_T } from "../../interfaces/actions";
interface Props {
data: ChangeVarNumber_T
}
export const ChangeVarNumber = ({ data }: Props) => {
const value = (
type GameAction =
"moveDirX"
| "aiming"
| "charge"
| "menuBack"
| "menuHotkeyHelp2"
| "questCircleLeft"
| "dashing"
| "guarding"
type GameAction =
"moveDirX"
| "aiming"
| "charge"
| "menuBack"
| "menuHotkeyHelp2"
| "questCircleLeft"
| "dashing"
| "guarding"
interface WaitEvent {
ignoreSlowDown: boolean
time: number
type: "WAIT"
}
interface ShowSideMsgEvent {
message: {
en_US: string
de_DE: string
/* 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" />