-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.text
111 lines (91 loc) · 3.37 KB
/
notes.text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
-----------------------------------------
First: make repository @ github
git clone
npm init
npm install create-react-app -g
create-react-app "my-app"
// server
npm install concurrently nodemon --save-dev
npm install express cookie-parser --save
npm install pg --save
npm install body-parser --save
npm install request request-promise --save
npm install dotenv --save
// client
npm install bootstrap reactstrap --save
// deployment
heroku login
heroku create weather-app-cm
heroku addons:create heroku-postgresql:hobby-dev --name=weather-db-cm
heroku addons:attach weather-db-cm --app=weather-app-cm
heroku pg:psql --app weather-app-cm
CREATE TABLE tableName (columns)
git push heroku master
heroku ps:scale web=1
heroku open
-----------------------------------------
npm install axios --save
npm install --save redux react-redux
npm install --save react-router-dom
npm install --save redux-thunk
npm install --save antd
npm install --save react-particles-js
npm install styled-components@beta react@^16.8 react-dom@^16.8 react-is@^16.8
npm install --save react-animated-text
npm install --save react-tooltip
git config --global user.name "xchanmolx"
git config --global user.email "[email protected]
// Change git remote github
Go to the root of the directory.
List your existing remotes in order to get the name of the remote you want to change.
$ git remote -v
origin [email protected]:USERNAME/REPOSITORY.git (fetch)
origin [email protected]:USERNAME/REPOSITORY.git (push)
Change your remote's URL from SSH to HTTPS with the git remote set-url command.
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Verify that the remote URL has changed.
$ git remote -v
---------------------------------------
echo "# chantin-portfolio" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:xchanmolx/chantin-portfolio.git
git push -u origin master
git push -f origin master
git bash terminal
cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"
FIREBASE
npm install -g firebase-tools
firebase login
firebase init
firebase use --add
firebase deploy
Project Console: https://console.firebase.google.com/project/chantin-4218a/overview
Hosting URL: https://chantin-4218a.firebaseapp.com
https://weather-app-cm.herokuapp.com/
Project Console: https://console.firebase.google.com/project/react-my-burger-5d935/overview
Hosting URL: https://react-my-burger-5d935.firebaseapp.com
npm install eslint --save-dev
npm install eslint-plugin-react --save-dev
npx create-react-app = Windows 8.1
redux devtools extension
https://github.com/zalmoxisus/redux-devtools-extension
https://codepen.io/
jsbin.com/
How to save my places in google earth pro
Step 1: Find location file
Windows
Press Ctrl + Esc + r or Windows key + r.
. In the "Open" box, enter "%USERPROFILE%\AppData\LocalLow\Google\GoogleEarth".
If you're using Windows XP, enter "%USERPROFILE%\Application Data\Google\GoogleEarth" instead.
Select OK.
In the directory, you'll see a file called "myplaces.kml". This file has your saved locations.
Note: If you want to replace a corrupted myplaces.kml file, use "myplaces.backup.kml."
Step 2: Move location file
There are a few ways you can transfer the file with your saved locations to another computer:
Save the file in Google Drive
Email the file to yourself
Save the file to a USB drive
Tip: Back up your myplaces.kml file to a removable device, like USB drive.