Skip to content

Instantly share code, notes, and snippets.

View igeligel's full-sized avatar
🤷‍♀️
Shifting bits around the world

Kevin Peters igeligel

🤷‍♀️
Shifting bits around the world
View GitHub Profile
export const BlueDark = "hsl(207, 95%, 8%)";
export const BlueDarkAlternative = "hsl(207, 95%, 17.25%)";
export const Blue = "hsl(207, 95%, 26.5%)";
export const BlueLightAlternative = "hsl(207, 95%, 35.75%)";
export const BlueLight = "hsl(207, 95%, 45%)";
export const WhiteBase = "hsl(100, 100%,99%)";
export const GreenDark = "hsl(174, 62%, 47%)";
export const GreenDarkAlternative = "hsl(174, 62%, 51.5%)";
@igeligel
igeligel / get-medium-stats.js
Last active December 1, 2022 13:02
medium-get-totals
const totalTypes = {
VIEWS: 2,
READS: 3,
FANS: 5
};
const getTotal = tableColumn =>
[
...document.querySelectorAll(
`td:nth-child(${tableColumn}) > span.sortableTable-number`
const DyanmicSelector = () => (
<Box paddingTop={"12"}>
<Heading as="h1" color={"gray.700"}>
Account Setup
</Heading>
<RadioGroup
value={selectedOption}
marginTop={"6"}
paddingX={"8"}
paddingY={"6"}
{
"type": "File",
"start": 0,
"end": 245,
"loc": {
"start": { "line": 1, "column": 0 },
"end": { "line": 16, "column": 0 }
},
"program": {
"type": "Program",
file complexity churn ratio
src/lib/jsQR/jsQR.js 9760 5 48800
src/lib/wapi/wapi.js 474 44 20856
src/api/layers/sender.layer.ts 546 36 19656
src/lib/wapi/store/store-objects.js 362 24 8688
src/controllers/initializer.ts 178 48 8544
src/lib/wapi/jssha/index.js 1204 5 6020
src/api/layers/retriever.layer.ts 171 29 4959
src/types/WAPI.d.ts 203 24 4872
src/api/layers/host.layer.ts 258 17 4386
file complexity churn ratio
packages/eslint-plugin-react-hooks/\*\*tests\*\*/ESLintRuleExhaustiveDeps-test.js 7742 51 394842
packages/react/src/\*\*tests\*\*/ReactProfiler-test.internal.js 4002 95 380190
packages/react-reconciler/src/ReactFiberWorkLoop.new.js 2373 139 329847
packages/react-reconciler/src/ReactFiberWorkLoop.old.js 2373 114 270522
packages/react-dom/src/server/ReactPartialRenderer.js 1379 122 168238
packages/react-reconciler/src/ReactFiberCommitWork.new.js 2262 71 160602
packages/react-devtools-shared/src/backend/renderer.js 2952 54 159408
packages/react-reconciler/src/ReactFiberBeginWork.new.js 2903 53 153859
scripts/rollup/bundles.js 760 199 151240
npx code-complexity . --limit 20 --sort ratio
file complexity churn ratio
nextjs/packages/next/compiled/webpack/bundle5.js 91501 1 91501
nextjs/packages/next/compiled/webpack/bundle5.js 91501 1 91501
nextjs/packages/next/compiled/webpack/bundle4.js 74436 1 74436
packages/cli/src/commands/generate.ts 228 28 6384
packages/cli/src/commands/new.ts 177 35 6195
packages/generator/src/generators/app-generator.ts 235 23 5405
packages/generator/src/generator.ts 283 19 5377
packages/server/src/stages/rpc/index.ts 184 28 5152
packages/server/test/dev.test.ts 190 27 5130
npx code-complexity . --limit 20 --sort ratio
file complexity churn ratio
src/cli.ts 103 8 824
test/code-complexity.test.ts 107 7 749
.idea/workspace.xml 123 6 738