Skip to content

Instantly share code, notes, and snippets.

View joeldenning's full-sized avatar
🎯
Focusing

Joel Denning joeldenning

🎯
Focusing
View GitHub Profile
Process: mupen64plus-gui [44467]
Path: /Users/USER/*/mupen64plus-gui.app/Contents/MacOS/mupen64plus-gui
Identifier: com.yourcompany.mupen64plus-gui
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [44463]
Responsible: Electron [383]
User ID: 0
Date/Time: 2020-10-23 19:48:08.788 -0600
mupen64plus/mupen64plus-gui.app/Contents/Frameworks/libSDL2_net-2.0.0.dylib:
/usr/local/opt/sdl2_net/lib/libSDL2_net-2.0.0.dylib (compatibility version 1.0.0, current version 1.1.0)
@executable_path/../Frameworks/libSDL2-2.0.0.dylib (compatibility version 11.0.0, current version 11.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
mupen64plus/mupen64plus-gui.app/Contents/MacOS/mupen64plus-gui:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
@executable_path/../Frameworks/libSDL2-2.0.0.dylib (compatibility version 13.0.0, current version 13.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
@executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.1)
@executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.1)
Process: mupen64plus-gui [34566]
Path: /Users/USER/*/mupen64plus-gui.app/Contents/MacOS/mupen64plus-gui
Identifier: com.yourcompany.mupen64plus-gui
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [34565]
Responsible: Electron [352]
User ID: 0
Date/Time: 2020-10-19 21:14:06.418 -0600
var LIB =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
@joeldenning
joeldenning / externals.js
Last active September 5, 2020 19:50
esm webpack plugin externals
import * as __WEBPACK_EXTERNAL_MODULE__0__ from '../../test/fixtures/externals/foo-external.js';
import * as __WEBPACK_EXTERNAL_MODULE__1__ from '../../test/fixtures/externals/bar-external.js';
var LIB =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
var test;test =
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ "./src/test-spa.js":
/*!*************************!*\
!*** ./src/test-spa.js ***!
\*************************/
/*! namespace exports */
@joeldenning
joeldenning / Instructions.md
Last active March 4, 2024 09:05
create-react-app + react-app-rewired + single-spa

This Gist works for CRA 3. For CRA 4, you can try community maintained craco plugin for converting to a single-spa application at https://github.com/hasanayan/craco-plugin-single-spa-application (thanks @hasanayan):

  1. Install react-app-rewired, as explained in https://github.com/timarney/react-app-rewired.
  2. Create a file in src called single-spa-entry.js (or tsx for typescript)
  3. Modify config-overrides.js, as shown in the config-overrides.js file provided in this gist.
  4. (Optional) remove src/main.js, since single-spa-entry is the new entry
  5. (Optional) remove public/index.html, since single-spa applications share a single html file, instead of one html file per project.
import React from 'react'
import styles from './TemplatesTable.css'
// Table, TableHeader, and TableBody handle CSS, not logic
import Table from '../utils/Table.component'
import TableHeader from '../utils/TableHeader.component'
import TableBody from '../utils/TableBody.component'
import { getTemplates } from './Templates.resource.js'
export default function TemplatesTable(props) {
const [state, dispatch] = React.useReducer(reducer, initialState);
@joeldenning
joeldenning / esm-bundle.js
Created February 5, 2020 08:26
ESM bundle
// You can run this in browser console
const React = await import('https://cdn.jsdelivr.net/npm/@esm-bundle/react/esm/react.production.min.js');
const ReactDOM = await import('https://cdn.jsdelivr.net/npm/@esm-bundle/react-dom/esm/react-dom.resolved.production.min.js');
const rxjs = await import('https://cdn.jsdelivr.net/npm/@esm-bundle/rxjs/esm/rxjs.min.js');
const rxjsOperators = await import('https://cdn.jsdelivr.net/npm/@esm-bundle/rxjs/esm/rxjs-operators.min.js');
@joeldenning
joeldenning / cloudSettings
Last active July 6, 2020 15:36
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-06T15:36:05.434Z","extensionVersion":"v3.4.3"}