Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Charlie Robbins indexzero

🎯
Focusing
View GitHub Profile
@indexzero
indexzero / PRINCIPALS.md
Last active Apr 1, 2022
Principles of Note: a list of select principles that have been particularly useful in helping design, refine, and debug complex systems (both computer & human)
View PRINCIPALS.md

Principles of Note

A list of select principles that have been particularly useful in helping design, refine, and debug complex systems (both computer & human)

Conway's Law

Any organization that designs a system (defined broadly) will produce a design hose structure is a copy of the organization's communication structure. >

@indexzero
indexzero / npm-downloads-2022.txt
Last active Feb 17, 2022
Total downloads for indexzero in last-month: 399,423,177
View npm-downloads-2022.txt
@exemplar/native-storybook: 7
@exemplar/storybook: 9
@exemplar/storybook-react: 35
@exemplar/storybook-react-native: 6
@gasket/assets: 310
@gasket/cli: 641
@gasket/data: 225
@gasket/engine: 505
@gasket/fetch: 212
@gasket/helper-intl: 230
@indexzero
indexzero / .gitignore
Last active Jul 10, 2020
Simple Yahrzeit calculator using Hebcal package
View .gitignore
# Ignore things not in the gist
*
!facade.js
!hebcal.js
!README.md
!temporal.js
!why.png
@indexzero
indexzero / gather.js
Last active Aug 15, 2019
Basic puppeteer CSS coverage. Adapted from https://stackoverflow.com/a/48452214
View gather.js
const puppeteer = require('puppeteer');
const util = require('util');
const fs = require("fs");
const path = require('path');
(async (url) => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.coverage.startCSSCoverage();
await page.goto(url);
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>es6 proxy #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@indexzero
indexzero / output.log
Created Apr 17, 2019
Promise.all proof by doing
View output.log
Start | 1 | foo
Start | 2 | bar
Start | 3 | bazz
End | 2 | bar
End | 3 | bazz
End | 1 | foo
[ 'foo', 'bar', 'bazz' ]
@indexzero
indexzero / PushNotificationiOS.md
Last active May 10, 2019
Draft proposal for Push Notifications and PushNotificationiOS
View PushNotificationiOS.md

Proposal for Push Notifications and PushNotificationiOS

@salakar, @ashoat, @indexzero, @swaagie, @3rdeden, and @msluther met today to discuss this. This is the draft proposal written up during that meeting. We plan to iterate on this over the next week and then post it into a new proposal in react-native-community.

A recording of that meeting can be found below in MP4 format.

Prior art

  • Push Notification packages
  • react-native-push-notification
@indexzero
indexzero / polynotes.sh
Created Jun 27, 2018
Get all the notes about all polyfills served by polyfill.io
View polynotes.sh
#!/usr/bin/env bash
for FILE in ./*/**/config.json; do
PNAME=`dirname "$FILE"`;
PJSON=`cat "$FILE" | json notes`;
if [ ! -z "$PJSON" ]; then
echo "$PNAME $PJSON";
fi
done
View gist:ed594c02cf991c3b886f200d752ae979
question:
- https://github.com/winstonjs/winston/issues/1107
- https://github.com/winstonjs/winston/issues/1119
- https://github.com/winstonjs/winston/issues/1088
- https://github.com/winstonjs/winston/issues/1148
- https://github.com/winstonjs/winston/issues/1167
- https://github.com/winstonjs/winston/issues/1192
- https://github.com/winstonjs/winston/issues/1201
- https://github.com/winstonjs/winston/issues/1275
- https://github.com/winstonjs/winston/issues/1226