Skip to content

Instantly share code, notes, and snippets.

View 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",
View gist:85cf7b2d428d136ad363bfb58a251090
$ 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
View gist:a53d69456f1b8d9751644452647ac8e5
[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 Feb 18, 2020 — forked from mbostock/.block
Pan & Zoom Axes
View .block
license: gpl-3.0
View myChompUntil.elm
module ChompUntilAfter exposing (myChompUntil)
import Parser.Advanced as A exposing ((|.), (|=))
type alias Parser a =
MyParser Never Problem a
type Problem
View Decode2.elm
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
Decoding an Elm type from a json object
View DecodeElmType.elm
module DecodeElmType exposing (Status(..), json, statusDecoder, statusFieldToStringDecoder, statusFromStringDecoder)
import Json.Decode exposing (..)
type Status
= Queued
| Started
| Complete
View gist:d22be73a1bb3a3a58ff717528b6e769e
% git clone git@github.com:joshuaclayton/elm-ports-example.git
Cloning into 'elm-ports-example'...
remote: Enumerating objects: 251, done.
remote: Total 251 (delta 0), reused 0 (delta 0), pack-reused 251
Receiving objects: 100% (251/251), 126.73 KiB | 1.62 MiB/s, done.
Resolving deltas: 100% (87/87), done.
apps % cd elm-ports-example
elm-ports-example master % atom .
elm-ports-example master % yarn
yarn install v1.15.2