Skip to content

Instantly share code, notes, and snippets.

View benceg's full-sized avatar

Ben Ceglowski benceg

  • Epic Metal Limited
  • London
View GitHub Profile
@benceg
benceg / ElmPattern.tsx
Last active March 4, 2023 14:28
Elm Pattern in React & TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
ComponentProps,
Dispatch,
FC,
ReactElement,
Reducer,
ReducerAction,
ReducerState,
useReducer,

Keybase proof

I hereby claim:

  • I am benceg on github.
  • I am benceg (https://keybase.io/benceg) on keybase.
  • I have a public key ASC8QkV8vSTYSH_xereVvpPMwtKY-p7ny9bnbErjN2yciQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am benceg on github.
* I am agilehubbenceg (https://keybase.io/agilehubbenceg) on keybase.
* I have a public key ASAaHVXSY7Fzfx4nzInFtpYPEwWUbkHsBbDaeBDnl8-O_Qo
To claim this, I am signing this object:
@benceg
benceg / PromoCode.jsx
Created February 28, 2017 14:09
Helmet
<Helmet script={[{ `https://tag.mention-me.com/api/foo/bar`, type: 'text/javascript' }]} />
@benceg
benceg / modal-content.html
Last active August 29, 2015 14:14
VanillaModal Markup & Stylesheet
<div id="modal-1" style="display:none;">Modal 1 content</div>
<div id="modal-2" style="display:none;">Modal 2 content</div>
@benceg
benceg / index.html
Last active August 29, 2015 14:07
Vanilla JavaScript & SCSS Modals
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="modal.css">
</head>
<body>