Skip to content

Instantly share code, notes, and snippets.

@benedictjohannes
benedictjohannes / Agent Router Registration
Last active August 4, 2026 01:46
proxy to agentrouter.org - fixing bugs and fixing headers to opencode
https://agentrouter.org/register?aff=U6vc
Click: Sign In,
then,
Continue with GitHub
@benedictjohannes
benedictjohannes / Breeze Dark KDE Color Scheme
Last active July 21, 2026 10:21
Breeze DuperDark Balanced KDE Color Scheme
Attribution:
This is a fork of the original (BreezeDark.colors)[https://github.com/KDE/breeze/blob/master/colors/BreezeDark.colors]
@benedictjohannes
benedictjohannes / IonicInput.js
Created May 23, 2020 02:15
An opinionated implementation of Ionic input handling for @ionic/react with Formik
import React from 'react'
import { IonInput, IonItem, IonLabel } from '@ionic/react'
//SCSS
// .validationMessage {
// display: none;
// &.error {
// display: block;
// font-size: 0.8rem;
// color: #ff3333;
// }
@benedictjohannes
benedictjohannes / CRASwitchEntryPointByEnv.js
Last active April 1, 2020 17:12
Workaround to enable switching main entry point of Create-React-App by .env
// package.json
{
//...
"scripts": {
"startfirst": "REACT_APP_MAIN_COMPONENT=FirstMainComponent react-scripts start",
"buildfrst": "REACT_APP_MAIN_COMPONENT=FirstMainComponent react-scripts build",
"startsecond": "REACT_APP_MAIN_COMPONENT=SecondMainComponent react-scripts start",
"buildsecond": "REACT_APP_MAIN_COMPONENT=SecondMainComponent react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"