Skip to content

Instantly share code, notes, and snippets.

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

Jack Bonaguro jackbonaguro

🏠
Working from home
View GitHub Profile
import React, { createContext, useContext } from 'react';
type HelloWorldContextType = {
hello: string;
};
// create context with no default values
export const HelloWorldContext = createContext<HelloWorldContextType | undefined>(undefined);
export const WorkspaceProvider = ({ children }: { children: React.ReactElement }) => {
// async or optional operation here
#!/usr/bin/env python
# coding: utf-8
"""
String to Brainfuck.
Converts a string to a brainfuck code that prints that string.
Author: j0hn <[email protected]>
"""