This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { z } from 'zod'; | |
| import { ZipWriter, BlobReader, configure } from '@zip.js/zip.js'; | |
| // Without this, we get uncaught error due to Workers runtime bug | |
| // See: https://github.com/gildas-lormeau/zip.js/discussions/514 | |
| configure({ | |
| useCompressionStream: false, | |
| }); | |
| // Payload schema that lists the files to be bundled, their filenames and the archive filename |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useCount, useIncrement, useDecrement } from './store.Count' | |
| export default function Counter () { | |
| const count = useCount() | |
| const increment = useIncrement() | |
| const decrement = useDecrement() | |
| return ( | |
| <div> | |
| <div>Count: {count}</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %===================================================================== | |
| % jhwhw.cls | |
| % Provide jhwhw.cls class | |
| %===================================================================== | |
| %===================================================================== | |
| % Identification | |
| %===================================================================== | |
| \NeedsTeXFormat{LaTeX2e} | |
| \ProvidesClass{jhwhw}[2009/02/11 Justin Wilson's Homework Class] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name LiveCoding Stats | |
| // @namespace http://your.homepage/ | |
| // @version 0.1 | |
| // @description Shows your channel stats (live viewers, total viewers) in the chat window | |
| // @author Fabian Becker <[email protected]> | |
| // @match https://www.livecoding.tv/chat/* | |
| // @grant none | |
| // ==/UserScript== |