Skip to content

Instantly share code, notes, and snippets.

View jestho's full-sized avatar

Jesper Thøgersen jestho

View GitHub Profile
@mouse-reeve
mouse-reeve / fizzbuzz.py
Last active April 22, 2022 06:33
Fizzbuzz via answers.com
''' we're solving fizzbuzz with a little help from the web '''
from html.parser import HTMLParser
from urllib.request import Request, urlopen
import re
import time
base_url = 'https://www.answers.com/Q/'
tag_name = 'div'
class_name = 'answer-body'
delimiter = '_'
@jestho
jestho / Mod.tsx
Last active November 28, 2018 13:02
import styled from "styled-components";
interface IPadding {
pt?: string;
pr?: string;
pb?: string;
pl?: string;
pa?: string;
pv?: string;
ph?: string;
@kyranjamie
kyranjamie / keycodes.ts
Created August 3, 2016 10:07
TypeScript Browser Key Codes Enum
enum keyCodes {
BACKSPACE: 8,
TAB: 9,
ENTER: 13,
SHIFT: 16,
CTRL: 17,
ALT: 18,
PAUSE: 19,
CAPS_LOCK: 20,
ESCAPE: 27,
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 17, 2024 21:23
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname