> Task :app:compileReleaseKotlin FAILED
e: file:///.../android/app/src/main/java/.../MainActivity.kt:11:8 Unresolved reference: expo
e: file:///.../android/app/src/main/java/.../MainActivity.kt:33:12 Unresolved reference: ReactActivityDelegateWrapper
e: file:///.../android/app/src/main/java/.../MainApplication.kt:16:8 Unresolved reference: expo
e: file:///.../android/app/src/main/java/.../MainApplication.kt:17:8 Unresolved reference: expo
e: file:///.../android/app/src/main/java/.../MainApplication.kt:21:51 Unresolved reference: ReactNativeHostWrapper
e: file:///.../android/app/src/main/java/.../MainApplication.kt:41:13 Unresolved reference: ReactNativeHostWrapper
rebase () { | |
if [ $# -ne 0 ]; then; | |
locks=$(find . -name "yarn.lock" -not -path "./node_modules/*" -not -path "*/node_modules/*" | tr '\n' ' ') | |
output=$(git rebase $@) && echo $output | |
if echo $output | grep 'CONFLICT' | grep -q 'yarn.lock'; then | |
echo -e "\n\033[4;33mConflicts found in yarn.lock\n\033[0m\033[2;20mAuto merging\033[0m\n" \ | |
&& git checkout $1 -- $(echo $locks) \ | |
&& yarn install \ |
Apple Shortcut for creating a long-term (per day) stock chart that can be used as a widget with Charty.
- iOS or macOS
- Charty
/* | |
* 1. Sign in to Firstrade's positions page (https://invest.firstrade.com/cgi-bin/main#/cgi-bin/acctpositions). | |
* 2. Open DevTools (Command + Option + i) JS console (Esc), paste the code below. Then stuff will be copied. | |
* 3. Open a new text file, paste the copied content into it and save it as *.csv. | |
* 4. Go to the Portfolios page on Yahoo Finance (https://finance.yahoo.com/portfolios), click "Import" and upload the file created on step 3. | |
* 5. You now have a new portfolio imported from your Firstrade positions data (you might want to rename it). | |
*/ | |
function getPositionTable() { |
Note: For now, Apple Silicon users need to be set up for x86 mode
First, download Go or brew install go
. Then, put largetype.go
in a directory called largetype
and from there run:
$ go mod init largetype
Instructions for installing zsh plugins, for a variety of plugin managers
-
⚠️ Deprecated. Official recommendation is to use Antidote insteadAdd
<owner>/<repo>
to your plugins file. If you use static loading, run the update command. -
Antidote: Add
<owner>/<repo>
to your plugins file. If you generate your static plugins file manually, run the bundle command.
// | |
// YeetJSIUTils.h | |
// yeet | |
// | |
// Created by Jarred WSumner on 1/30/20. | |
// Copyright © 2020 Facebook. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <jsi/jsi.h> |
-
redux is a global
data
management tool, not a properstate
management tool, hence causing a lot of troubles -
statecharts is an extension to Finite State Machine (FSM) which provides explicit and safe state management capabilities, perfectly fit for front-end development
-
statecharts had been used intensivelly in all industries (be it embedded systems, hardware, electronics, aeronautics, automotive, game development and more), it's us front-end developers late to the party