Skip to content

Instantly share code, notes, and snippets.

View adamkirkwood's full-sized avatar
🏠
Working from home

Adam Kirkwood adamkirkwood

🏠
Working from home
View GitHub Profile
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'payload')
at core.js:297:66041
at async Tx (core.js:297:65982)Understand this error
projectfi.wiki.gd/aggregation?symbol=PLTR&intervals=2m,5m&since=1751630321080&compute_inference=false:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUTUnderstand this error
index-CiP6T0wF.js:1 TypeError: Failed to fetch
at cA (index-CiP6T0wF.js:1:28762)
at dA (index-CiP6T0wF.js:1:28973)
at hA (index-CiP6T0wF.js:1:28902)
at index-CiP6T0wF.js:1:35786
at index-CiP6T0wF.js:15:240406
/* eslint strict: 0 */
'use strict';
const electron = require('electron')
const {
app,
dialog,
autoUpdater,
protocol,
Menu,
@adamkirkwood
adamkirkwood / hvpandya-library.sketchpack
Last active April 12, 2017 19:57
"16 Pretty Useful Tools & Tricks for Sketch" - Import with Sketchpacks (https://sketchpacks.com)
{
"name": "@hvpandya's Library",
"schema_version": "0.1.0",
"locked": false,
"plugins": {
"AnimaApp/auto-layout": {
"name": "auto-layout",
"owner": "AnimaApp",
"version": "0.2.3",
"version_range": [
@adamkirkwood
adamkirkwood / anyi-sun.sketchpack
Created April 5, 2017 07:34
Anyi Sun's Sketchpack
{
"name": "Anyi Sun's Sketchpack",
"schema_version": "0.1.0",
"locked": false,
"plugins": {
"keremciu/sketch-iconfont": {
"name": "sketch-iconfont",
"owner": "keremciu",
"version": "4.5.1",
"version_range": [
@adamkirkwood
adamkirkwood / adamkirkwood.sketchpack
Last active April 20, 2017 19:45
Favorite Sketch.app Plugins
{
"name": "Adam Kirkwood's SKetchpack",
"schema_version": "0.1.0",
"locked": false,
"plugins": {
"AnimaApp/auto-layout": {
"name": "auto-layout",
"owner": "AnimaApp",
"version": "0.2.3",
"version_range": [
# ... snip ...
VERSION=$(node -e “console.log(require(‘./package.json’).version);”)
RELEASE_VERSION=”v$VERSION”
VERSIONED_SKETCHFILENAME=`$BASEFILENAME-$RELEASE_VERSION.$EXTENSIONNAME`
cp ./$SKETCHFILE ./archive/$VERSIONED_SKETCHFILENAME
# ... snip ...
# ... snip ...
npm version $1 — no-git-tag-version -m “”
# ... snip ...
# ... snip ...
sketchtool export artboards — output=$(pwd)/screenshots — formats=jpg — overwriting=yes $SKETCHFILE
# ... snip ...
# ... snip ...
git commit -am "add screenshots for $RELEASE_VERSION"
git tag -a $RELEASE_VERSION -m "Release $RELEASE_VERSION"
git push origin $RELEASE_VERSION
# ... snip ...
@adamkirkwood
adamkirkwood / release.sh
Last active December 14, 2016 18:46
Cut Github-ready releases for your Sketch files
#!/usr/bin/env bash
BASEFILENAME=API-Connect-Patterns
EXTENSIONNAME=sketch
SKETCHFILE=`$BASEFILENAME.$EXTENSIONNAME`
CURRENT_BRANCH=$(git symbolic-ref --short -q HEAD)
CURRENT_VERSION=$(node -e "console.log(require('./package.json').version);")
# Prevent cutting releases from master branch