Skip to content

Instantly share code, notes, and snippets.

View Flixbox's full-sized avatar
💭
Probably developing right now

Felix Tietjen Flixbox

💭
Probably developing right now
View GitHub Profile
@tannerlinsley
tannerlinsley / Counter.js
Last active July 8, 2024 07:06
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>
@yeetpy
yeetpy / README.md
Last active December 1, 2021 21:39
Python 3.6+ is required

yeet.py

A yeetifier for C/C++ code.

Usage:

  1. Select a C++ file:
// main.cpp
#include<iostream>
{
"title":"The Linux Command Line",
"subtitle":"A Complete Introduction",
"authors":[
"William E. Shotts, Jr."
],
"publisher":"No Starch Press",
"publishedDate":"2012",
"description":"You've experienced the shiny, point-and-click surface of your Linux computer—now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more. In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore. As you make your way through the book's short, easily-digestible chapters, you'll lea