Skip to content

Instantly share code, notes, and snippets.

View stephenhuh's full-sized avatar
🏀
lykmike

Stevie Huh stephenhuh

🏀
lykmike
View GitHub Profile
@stephenhuh
stephenhuh / Counter.js
Created June 6, 2024 01:29 — forked from tannerlinsley/Counter.js
Global React State with Context and Immer
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>
@stephenhuh
stephenhuh / jhwhw.cls
Created April 2, 2016 22:12 — forked from jhwilson/jhwhw.cls
JHW document class for Homework assignments
%=====================================================================
% jhwhw.cls
% Provide jhwhw.cls class
%=====================================================================
%=====================================================================
% Identification
%=====================================================================
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{jhwhw}[2009/02/11 Justin Wilson's Homework Class]
@stephenhuh
stephenhuh / gist:fafcb63be4b447a3b170
Last active August 29, 2015 14:25 — forked from zjrosen1/livecodingstats.js
LiveCoding Stats
// ==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==