Skip to content

Instantly share code, notes, and snippets.

View luizwhite's full-sized avatar
🎯
Focusing

Luiz Augusto luizwhite

🎯
Focusing
View GitHub Profile
@luizwhite
luizwhite / run-android-log.txt
Created November 17, 2020 22:08
Fresh Android Build
> Task :react-native-gesture-handler:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :react-native-reanimated:compileDebugJavaWithJavac
Note: .../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: .../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses unchecked or unsafe operations.
@luizwhite
luizwhite / rn_node_error.txt
Last active February 11, 2021 14:00
Cannot run program "node" - React Native
FAILURE: Build failed with an exception.
* Where:
Script '/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/node_modules/react-native/react.gradle' line: 32
* What went wrong:
A problem occurred configuring project ':app'.
> Cannot run program "node" (in directory "/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/android/app"): error=2, No such file or directory
❯ ./gradlew clean
@luizwhite
luizwhite / rn_react_native_reanimated_error.txt
Created February 11, 2021 15:48
Task :react-native-reanimated:androidJavadoc error log
> Task :react-native-reanimated:androidJavadoc
.../node_modules/react-native-reanimated/android/src/main/java/com/facebook/react/uimanager/UIManagerReanimatedHelper.java:11: error: cannot find symbol
public static boolean isOperationQueueEmpty(UIImplementation uiImplementation) {
^
symbol: class UIImplementation
location: class UIManagerReanimatedHelper
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:5: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.Arguments;
^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:6: error: package com.facebook.react.bridge does not exist
@luizwhite
luizwhite / settings.json
Last active October 19, 2021 23:21
VSCode Settings
{
"window.menuBarVisibility": "toggle",
"window.zoomLevel": 0,
"workbench.colorTheme": "Aura Dark",
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.labelFormat": "short",
"workbench.editor.wrapTabs": true,
"workbench.productIconTheme": "fluent-icons",
@luizwhite
luizwhite / keybindings.json
Created October 18, 2021 11:25
VSCode KeyBindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection"
@luizwhite
luizwhite / extensionlist.txt
Last active March 6, 2022 02:03
VSCode Extensions list
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension ecmel.vscode-html-css
code --install-extension EditorConfig.EditorConfig
code --install-extension esbenp.prettier-vscode
code --install-extension styled-components.vscode-styled-components
code --install-extension mikestead.dotenv
code --install-extension ms-azuretools.vscode-azurefunctions **
code --install-extension ms-azuretools.vscode-azureresourcegroups **
code --install-extension ms-azuretools.vscode-docker **
@luizwhite
luizwhite / install_eslint_pkgs.txt
Last active February 26, 2022 18:34
Install EsLint Prettier Packages - React/Node
yarn add eslint prettier -D
/* NEXT */ - (dont need to install eslint)
yarn add eslint-plugin-import-helpers@latest eslint-config-prettier eslint-plugin-prettier -D
/* REACT */
yarn add eslint-plugin-react@^7.21.5 eslint-config-airbnb@latest eslint-plugin-import@^2.25.2 eslint-plugin-import-helpers@latest eslint-import-resolver-typescript eslint-plugin-jsx-a11y@^6.4.1 eslint-plugin-react-hooks@^4 @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest eslint-config-prettier eslint-plugin-prettier -D
/* NODE */
yarn add eslint-config-airbnb-base@latest eslint-plugin-import@^2.25.2 eslint-plugin-import-helpers@latest eslint-import-resolver-typescript @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest eslint-config-prettier eslint-plugin-prettier -D
@luizwhite
luizwhite / ubuntu-setup.txt
Last active February 10, 2022 10:42
My Ubuntu Initial Setup
sudo apt install ubuntu-restricted-extras
sudo apt install python3-pip
sudo apt install curl
sudo apt install gzip
sudo apt install fonts-firacode
sudo apt install git
sudo apt install docker-ce
sudo apt install docker-ce-cli
sudo apt install gdebi
@luizwhite
luizwhite / .gitconfig
Created October 24, 2021 21:47
Git Config File
[core]
excludesfile = ~/.gitignore_global
editor = vim
[color "status"]
added = green
changed = yellow
untracked = red
[color "branch"]
@luizwhite
luizwhite / .gitignore_global
Created October 24, 2021 21:49
Git Ignore Global File
# editor
vscode
.vscode
# dependencies
**/node_modules
# testing
coverage