Skip to content

Instantly share code, notes, and snippets.

{
"page": {
"id": "yh6f0r4529hb",
"name": "Cloudflare",
"url": "https://www.cloudflarestatus.com",
"time_zone": "Etc/UTC",
"updated_at": "2025-02-06T09:08:42.114Z"
},
"incidents": [
{
@c10r
c10r / gist:a90808ca726594c8e6c43d44148f8834
Created February 7, 2024 06:46
generate-types failed
Cannot read properties of undefined (reading 'kind')
file:///home/chander/workspace/motion/node_modules/zx/build/core.js:146
let output = new ProcessOutput(code, signal, stdout, stderr, combined, message);
^
ProcessOutput [Error]: Cannot read properties of undefined (reading 'kind')
at run (file:///home/chander/workspace/motion/scripts/generate-types.mjs:48:12)
exit code: 1
at ChildProcess.<anonymous> (file:///home/chander/workspace/motion/node_modules/zx/build/core.js:146:26)
at ChildProcess.emit (node:events:518:28)
This file has been truncated, but you can view the full file.
[
{
"id": "-LG_bjSWz2dvhrGjkZbf8",
"name": "My Tasks (Private)",
"teamId": null,
"type": "INDIVIDUAL",
"createdTime": "2023-10-01T20:01:05.241Z",
"updatedTime": "2023-10-01T20:01:05.412Z",
"labels": [],
"members": [
tail -f ~/Library/Logs/Motion/main.log
[2023-05-25 19:41:49.625] [info] Running did-become-active
[2023-05-25 19:41:52.868] [info] Running did-become-active
[2023-05-25 19:41:59.339] [info] IPC: To Webapp logEvent DESKTOP_UPDATE_MENU_CHECK undefined
[2023-05-25 19:41:59.340] [info] Check for updates
[2023-05-25 19:41:59.372] [info] Update App: Check for update
[2023-05-25 19:42:00.239] [info] Update App: Update available
[2023-05-25 19:42:00.239] [info] IPC: To Webapp logEvent DESKTOP_UPDATE_APP_AVAILABLE undefined
[2023-05-25 19:42:00.239] [info] IPC: To Webapp updateAppAvailable
[2023-05-25 19:42:00.246] [info] IPC: From Webapp requestUpdateDownloaded undefined
[2023-04-01 16:11:27.872] [info] Update App: Check for update
[2023-04-01 16:11:28.180] [info] Update App: No update available
[2023-04-01 16:12:03.800] [info] Running did-become-active
[2023-04-01 16:12:51.596] [info] Running did-become-active
[2023-04-01 16:12:52.911] [info] IPC: To Webapp logEvent DESKTOP_CLOSE_APP undefined
[2023-04-01 16:12:52.912] [info] Quitting app: running before-quit
[2023-04-01 16:12:53.330] [info] Quitting app: running quit
[2023-04-01 22:27:28.611] [info] Main process starting...
[2023-04-01 22:27:28.616] [info] Version Number: 0.28.2
[2023-04-01 22:27:28.800] [info] Mac deep link plain url: motion-desktop://projectManagement?workspace=u7_D-Iy8jdmn3IAvEkdfR&task=6fEg4JNjNss6VK_QNYpcb
@c10r
c10r / gist:c9e3e738d210ff73aa41dd369ef84bde
Last active March 17, 2023 01:07
All yarn.lock changes from the feb 2nd release
--- a/yarn.lock
+++ b/yarn.lock
-"@algolia/[email protected]":
- version "1.7.4"
+"@algolia/[email protected]":
+ version "1.7.2"
- "@algolia/autocomplete-shared" "1.7.4"
+ "@algolia/autocomplete-shared" "1.7.2"
-"@algolia/[email protected]":
- version "1.7.4"
[2023-02-02 19:46:23.122] [info] Main process starting...
[2023-02-02 19:46:23.125] [info] Version Number: 0.21.2
[2023-02-02 19:46:23.307] [info] Initializing updater: {
url: 'https://update.electronjs.org/usemotion/desktopapp-dev/darwin-arm64/0.21.2'
}
[2023-02-02 19:46:24.414] [info] Main window ready to show https://dev-app.usemotion.com/web/#calendar
[2023-02-02 19:46:24.765] [info] Option space window ready to show https://dev-app.usemotion.com/web/#desktop?page=optionSpace
[2023-02-02 19:46:24.765] [info] Initialize network and crash handler
[2023-02-02 19:46:24.794] [info] App finished starting
[2023-02-02 19:46:24.795] [info] IPC: To Webapp logEvent DESKTOP_OPEN_APP undefined
@c10r
c10r / firebase.kt
Created April 3, 2021 00:41
An example firebase wrapper
@JsModule("firebase")
@JsNonModule
external interface FirebaseConfig {
var apiKey: String
var authDomain: String
var databaseURL: String
var projectId: String
var storageBucket: String
var messagingSenderId: String
@c10r
c10r / apirequest.kt
Created April 3, 2021 00:33
Making an API request in kotlin/js
val levelApi = window.fetch("$BACKEND_URL?level=$level")
.await()
val levelJson = levelApi
.json()
.await()
val partialLevel: Level = levelJson.unsafeCast<Level>()
val partialTubes = JSON.parse<Array<Array<String>>>(partialLevel.tubes as String)
val newLevel = Level(partialTubes)
@c10r
c10r / apirequest.kt
Created April 3, 2021 00:29
Example of a failing API Request
data class Level(val tubes: Array<Array<String>>)
val levelJson = levelApi
.json()
.await() as Level