Skip to content

Instantly share code, notes, and snippets.

View stepheneb's full-sized avatar

Stephen Bannasch stepheneb

View GitHub Profile
@stepheneb
stepheneb / gist:0203c702a388b79c701011ca32f6e8ae
Created June 7, 2024 15:15
macos system crash running FreeCAD tests, % ./build/release/bin/FreeCAD --run-test UnitTests
Process: FreeCAD [17826]
Path: /Users/USER/*/FreeCAD
Identifier: FreeCAD
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [1939]
Responsible: Terminal [1051]
User ID: 501
Date/Time: 2024-06-06 17:53:05.3676 -0400
@stepheneb
stepheneb / plabel-scroll-test.html
Last active April 6, 2023 20:36
horizontal scroll test of 650 items -- can't scroll leftr past item 328
<!DOCTYPE html>
<html>
<head>
<title>plabel scroll test</title>
<style>
:root {
--poslabel-color: #888;
--poslabel-border-color: #ddd;
--poslabel-background-color: rgba(250, 250, 250, 0.8);
@stepheneb
stepheneb / observation-targets.json
Created November 2, 2021 18:05
observation-targets.json
{
"type": "observation",
"titlemainmenu": "Take Your Own Telescope Image",
"title": "Take Your Own Telescope Image",
"subtitle": "Request your own telescope observation and have the image emailed to you.",
"menuimage": "images/menu-observation.jpg",
"action": "Choose a target",
"pages": [
{
"id": "MW9",
$ npm install --save-dev ../electron-forge/packages/publisher/github
npm WARN rollback Rolling back ansi-regex@5.0.0 failed (this is probably harmless): /Users/stephen/dev/00-clients/rlmg/electron-forge/node_modules/ora/node_modules/ansi-regex is not a child of /Users/stephen/dev/00-clients/rlmg/cfa-own-electron
npm WARN acorn-import-assertions@1.7.6 requires a peer of acorn@^8 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-standard@16.0.3 requires a peer of eslint-plugin-import@^2.22.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-standard@16.0.3 requires a peer of eslint-plugin-node@^11.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-standard@16.0.3 requires a peer of eslint-plugin-promise@^4.2.1 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /Users/stephen/dev/00-clients/rlmg/cfa-own
@stepheneb
stepheneb / gist:a53d69456f1b8d9751644452647ac8e5
Created September 7, 2021 02:46
building electron-forge with bolt
[electron-forge ruby-2.7.3 (master)]$ git pull
Already up to date.
[electron-forge ruby-2.7.3 (master)]$ bolt
⚡️ bolt v0.24.9 (node v14.17.4)
🔎 [1/4] Validating project...
📦 [2/4] Installing project dependencies...
yarn install v1.22.11
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
@stepheneb
stepheneb / .block
Created February 18, 2020 18:25 — forked from mbostock/.block
Pan & Zoom Axes
license: gpl-3.0
module ChompUntilAfter exposing (myChompUntil)
import Parser.Advanced as A exposing ((|.), (|=))
type alias Parser a =
MyParser Never Problem a
type Problem
module Decode2 exposing (Images, Part, Status(..), flags, images, jsonFlags, jsonStatus, jsonImages, jsonName, jsonPart, jsonParts, jsonPartInvalid, name, part, status)
import Json.Decode as D
-- Inspired by Joël Quenneville's article:
-- https://thoughtbot.com/blog/5-common-json-decoders
type alias Flags =
{ parts : List Part
@stepheneb
stepheneb / DecodeElmType.elm
Last active May 18, 2019 20:08
Decoding an Elm type from a json object
module DecodeElmType exposing (Status(..), json, statusDecoder, statusFieldToStringDecoder, statusFromStringDecoder)
import Json.Decode exposing (..)
type Status
= Queued
| Started
| Complete