This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First : | |
$ touch ~/.config/fish/config.fish; nano ~/.config/fish/config.fish | |
Copy this in the file : | |
set --export ANDROID_SDK_ROOT $HOME/Library/Android/sdk; | |
set -gx PATH $ANDROID_SDK_ROOT/emulator $PATH; | |
set -gx PATH $ANDROID_SDK_ROOT/platform-tools $PATH; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function run-emulator --argument emulator | |
echo launch android emulator $emulator | |
$ANDROID_SDK_ROOT/emulator/emulator -avd $emulator -no-snapshot > /dev/null 2>&1 & | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function attachHMR(domain: Domain) { | |
if (typeof window === "undefined") return; | |
const states = window.__EFFECTOR_STATES__ = {}; | |
domain.onCreateStore((store) => { | |
if (!store.sid) return; | |
if (store.sid in states) { | |
const { defaultState, actual } = states[store.sid]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Update to gpg2: | |
brew upgrade gnupg # This has a make step which takes a while | |
brew link --overwrite gnupg | |
brew install pinentry-mac | |
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf | |
killall gpg-agent | |
2. Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (api) => { | |
api.cache.using(() => process.env.NODE_ENV); | |
return { | |
presets: ["next/babel"], | |
plugins: [["effector/babel-plugin", { reactSsr: true }]], | |
}; | |
}; |