Skip to content

Instantly share code, notes, and snippets.

View radiovisual's full-sized avatar
😬
Hello

Michael Wuergler radiovisual

😬
Hello
  • UBS
  • Switzerland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am radiovisual on github.
  • I am mwdoodle (https://keybase.io/mwdoodle) on keybase.
  • I have a public key ASBeEHz2KuJLiVPVVtoscSJETI9cQvNTUjfkwxpWR_U9Wwo

To claim this, I am signing this object:

@radiovisual
radiovisual / sample.ics
Created September 27, 2018 14:09
Access-A-Ride 2019-08-02 10:30 11:00 & 2019-08-02 20:00 - 20:30
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VEVENT
SUMMARY:Access-A-Ride Pickup
DTSTART;TZID=America/New_York:20190802T103000
DTEND;TZID=America/New_York:20190802T110000
LOCATION:1000 Broadway Ave.\, Brooklyn
DESCRIPTION: Access-A-Ride to 900 Jay St.\, Brooklyn
STATUS:CONFIRMED
@radiovisual
radiovisual / README.md
Last active December 21, 2022 10:09
TypeScript Error Message Handling
PImage imageMask;
ArrayList<ArrayList<PVector>> polygons;
final int MAX_RECURSION_DEPTH = 1000;
void setup() {
size(512, 512);
imageMask = loadImage("imageMask.png");
// Create an empty array to store the polygons
// Substrate Watercolor
// j.tarbell June, 2004
// Albuquerque, New Mexico
// complexification.net
// Processing 0085 Beta syntax update
// j.tarbell April, 2005
int dimx = 900;
int dimy = 900;
#!/usr/bin/env ts-node
import parseArguments from 'yargs-parser';
import { getSendGridTemplateIdsForSendGridSubUser, renderMJMLHandlebarsMarkupFromTemplateName } from '../../helpers/templates';
import { fetchTemplateById } from './sendgrid-client';
import { getActiveVersionHTMLContent, getChecksum } from './sendgrid-utils';
import path from 'path';
const argv = parseArguments(process.argv.slice(2));
chrome.declarativeNetRequest
Description
The chrome.declarativeNetRequest API is used to block or modify network requests by specifying declarative rules. This lets extensions modify network requests without intercepting them and viewing their content, thus providing more privacy.
Permissions
declarativeNetRequest
declarativeNetRequestWithHostAccess
declarativeNetRequestFeedback
host permissions
One or more of these permissions triggers a warning.

Keybase proof

I hereby claim:

  • I am radiovisual on github.
  • I am mwuerg (https://keybase.io/mwuerg) on keybase.
  • I have a public key ASDWaAC8O2kc_AWXvmQZmWCMzHRKtX8O3mrLOvOBt8RE0wo

To claim this, I am signing this object:

// utils/RobustPortal.tsx
import { createPortal } from 'react-dom';
import React, { useContext, createContext, useState, useEffect, useCallback, useRef } from 'react';
// Enhanced portal context with timing guarantees
interface ProcessWrapperPortalContextType {
registerPortal: (portalId: string, element: HTMLElement | null) => void;
isPortalReady: (portalId: string) => boolean;
getPortalElement: (portalId: string) => HTMLElement | null;
portalReadyStates: Map<string, boolean>;