- Initialize expo app:
expo init my-app
- Template:
blank typescript - Add strict
tsconfig.json
"compilerOptions": { "allowSyntheticDefaultImports": true, "jsx": "react-native",
This file contains hidden or 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
const nested = [1, 2, [3, 4, [5, 6, [7, 8, [9, 10]]]]]; | |
const flatten = nested.flat(Infinity); | |
// [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
const result = flatten.join(", "); | |
// "1, 2, 3, 4, 5, 6, 7, 8, 9, 10" |
This file contains hidden or 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
@echo off | |
echo Virtualization must be disabled to use anti-cheat clients like FACEIT and ESEA | |
echo. | |
net session >nul 2>&1 | |
if %ERRORLEVEL% EQU 0 goto :chchchchoices | |
echo This script requires elevated privileges. Re-run as Administrator to continue | |
goto :exit | |
:chchchchoices |
This file contains hidden or 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
html, | |
body, | |
div, | |
span, | |
applet, | |
object, | |
iframe, | |
h1, | |
h2, | |
h3, |
This file contains hidden or 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
# windows bash | |
eval "$(oh-my-posh init bash --config ${POSH_THEMES_PATH}/uew.omp.json)" | |
# macos zsh | |
eval "$(oh-my-posh init zsh --config $(brew --prefix oh-my-posh)/themes/uew.omp.json)" |
This file contains hidden or 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
{ | |
"name": "packages", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"private": true, | |
"scripts": { | |
"start": "concurrently \"wsrun --parallel start\"" | |
}, | |
"workspaces": [ |
OlderNewer