Skip to content

Instantly share code, notes, and snippets.

@58bits
58bits / CustomThemeProvider.js
Created May 26, 2020 17:22
CustomThemeProvider
// https://techinscribed.com/building-react-app-using-material-ui-with-support-for-multiple-switchable-themes/
import React, { useState } from 'react'
import { ThemeProvider } from '@material-ui/core/styles'
import getTheme from './base'
// eslint-disable-next-line no-unused-vars
export const CustomThemeContext = React.createContext(
{
currentTheme: 'normal',
setTheme: null,
@58bits
58bits / multipart.js
Created August 15, 2020 02:02
MultiPart Handler
'use strict'
const config = require('../../config')
const { MultipartError } = require('./errors')
const fs = require('fs')
const path = require('path')
const nanoid = require('nanoid')
const Multipart = (request, response, done) => {
// Note: onFile and addToBody cannot be handled on a per reuqest basis at the moment
@58bits
58bits / tanstack-governance-model.md
Created June 18, 2025 04:33
TanStack Governance Model

Would the TanStack Ecosystem Be a Good Fit for the OpenJS Foundation?

ChatGPT generated response 2025-06-18

In my professional opinion, the TanStack ecosystem (e.g., TanStack Query, Router, Table, Virtual) would make a strong candidate for the OpenJS Foundation — provided the maintainers are aligned with the responsibilities and benefits that come with foundation stewardship.


✅ Why TanStack Would Be a Good Fit

@58bits
58bits / bylinecms_cla.md
Last active June 30, 2025 02:51
Byline CMA

Byline CMS Contributor License Agreement (CLA)

Thank you for your interest in contributing to the Byline CMS project (bylinecms.app). We appreciate your time and effort!

This Contributor License Agreement (the "Agreement") specifies the terms under which you, the contributor, grant rights to the Copyright Holder (as defined below) for your contributions to the project. This Agreement is necessary to ensure the Copyright Holder has the necessary rights to distribute your contributions under the AGPL 3.0 license and manage the project effectively.

By clicking the "Sign CLA" button or by submitting a Pull Request to the Byline CMS project, you agree to the following terms and conditions: