I hereby claim:
- I am jondashkyle on github.
- I am jkm (https://keybase.io/jkm) on keybase.
- I have a public key ASDQ_bJp2caeHkpTuwoE9eZ5bdxr5cPkibnOHrl5VmBbQwo
To claim this, I am signing this object:
// Pseudo-code of a pattern I use frequently. | |
const theTitle = 'Seeing is forgetting the name of the thing one sees' | |
const isActive = true | |
const duration = 420 | |
switch (true) { | |
case !!theTitle: | |
return 'Has a title!' | |
case isActive && duration > 300: |
const onboardingMachineConfig = Machine( | |
{ | |
key: 'onboarding', | |
initial: 'disconnected', | |
context: { | |
ensLabel: '', | |
walletAddress: '', | |
writeAmount: 0, | |
isTokenCanvasLoaded: false, | |
isENSAvailable: false, |
I hereby claim:
To claim this, I am signing this object:
PoemPortraits | |
Contribute* | |
ContributeInputEmpty* | |
INPUT -> ContributeInputPopulated | |
ContributeInputPopulated | |
SUBMIT -> ContributeInputSubmit |
/** | |
* mass-unfollow console scripts | |
* | |
* 1. navigate to your follower page on the related platform | |
* 2. open developer tools | |
* 3. copy and paste | |
* 4. press ENTER to run | |
* 5. rinse and repeat if pagination | |
*/ |
// https://beakerbrowser.com/docs/apis/dat.html#getinfo | |
var archive = new DatArchive(window.location.toString()) | |
var peers = 0 | |
setInterval(checkPeers, 2000) | |
async function checkPeers () { | |
var info = await archive.getInfo() | |
peers = info.peers |
{ | |
"title": "Entry", | |
"pages": false, | |
"fields": { | |
"title": { | |
"label": "Title", | |
"type": "text" | |
}, | |
"source": { | |
"label": "Source", |
/** | |
* hide the cursor in an input field | |
*/ | |
input { | |
color: transparent; | |
text-shadow: 0 0 0 #fff; | |
} | |
/** | |
* blink |
I hereby claim:
To claim this, I am signing this object:
/** | |
* A reset for Kirby’s panel | |
* Work in progress | |
* | |
* Installation | |
* - Create CSS file inside your site’s assets directory | |
* - Open config.php and add the following line | |
* c::set('panel.stylesheet', 'assets/panel.css'); | |
* - Adjust to your liking | |
*/ |