Skip to content

Instantly share code, notes, and snippets.

View cristea2017's full-sized avatar
🤠

cristea victor cristea2017

🤠
View GitHub Profile
@cristea2017
cristea2017 / nvm.md
Last active March 10, 2024 15:09
nvm

React Native needs Node.js >= 18. You're currently on version v16.19.1. Please upgrade Node.js to a supported version and try again.

nvm set default node.js version 16.14.2

$ nvm alias default 16.14.2 $ nvm use

$ node -v

v16.14.2

git log --since="2024-01-01" --until="2024-01-31" --pretty=format:"%s"

git log --since="2024-02-01" --until="2024-02-29" --pretty=format:"%s"

@cristea2017
cristea2017 / settings.json
Last active October 5, 2023 07:55
vscode
{
"prettier.singleQuote": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.columnSelection": false,
"editor.cursorBlinking": "expand",
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorWidth": 2,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
@cristea2017
cristea2017 / regex.md
Last active January 13, 2024 16:50
regex

(t.\w+[A-Za-z_.-]\w+)

{(this.props.t.(\w+[A-Za-z_.-]\w+))}

{translate($1)}

App/Containers

*.Styles.js

@cristea2017
cristea2017 / pod.md
Last active May 7, 2024 08:53
reactNative

post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' end end end

@cristea2017
cristea2017 / codepush.md
Last active March 21, 2023 09:06
appcenter

IOS

Our app is configured with staging keys !!!!!!!

appcenter codepush release-react -a straus.md/straus.mobile -d Staging

Android

appcenter codepush release-react -a straus.md/straus.mobile-1 -d Staging