- Git Bash
- VPS to put the generated private key
- Open your git bash
cd /c/Program Files/Git/etc/ssh
- run
ssh-keygen
, name your key (id_rsa is default) then enter enter..
# enable git push ssh on multiple repos | |
# delete cached | |
ssh-add -D | |
#1. go to your ~/.ssh | |
#2. open your favorite local editor |
# run rails on a docker container / virtual container | |
rails server -p $PORT -b 0.0.0.0 | |
# bundle | |
bundle update | |
bundle install |
import React, { useState } from "react"; | |
import { IntlProvider, FormattedMessage } from "react-intl"; | |
const messages = { | |
en: { | |
"app.hello": "Hello" | |
}, | |
fr: { | |
"app.hello": "Bonjour" | |
} |
# Node template | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
# Runtime data |
const getUser = axios.get('url'); // promise lang talaga to pag console.log | |
const handleUserDetails = (userDetails) => { | |
console.log(userDetails); | |
// pagka react | |
this.setState({ user: userDetails }); | |
}; | |
getUser |
license: mit |
I also found helpful this comment. After installing Python 2.7 and Visual C++ Build Tools I deleted node_modules folder, opened CMD from Administrator and ran npm install --msvs_version=2015. Aaand it installed successfully!
This link helped me to install Python and VS C++ build tools.
license: mit |
# prevent photos app from launching, just change to NO if you change your mind | |
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES | |
# show hidden files, if you want to hide it, just set to false. | |
defaults write com.apple.Finder AppleShowAllFiles true | |
# install xcode command line tools | |
# https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_10.1/Command_Line_Tools_macOS_10.13_for_Xcode_10.1.dmg | |
# install homebrew |