-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnano.save
503 lines (503 loc) · 8.56 KB
/
nano.save
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
5 ls
6 cd Clock
7 ls
8 javac *.java
9 ls
10 java Clock
11 ls
12 cd ..
13 ls
14 cd Tetris
15 ls
16 javac *.java
17 java Tetris
18 ls
19 cd ..
20 ls
21 cd Clock
22 ls
23 cd ..
24 ls
25 cd helloWorld
26 ls
27 javac *.java
28 java helloWorld
29 cd /home/jdoe/java
30 cd /home/jdoe/java
31 cd /home/koji/java
32 ls
33 ssh -Y [email protected]
34 mkdir ~/Spotify
35 cd ~/Spotify
36 git clone git://github.com/spotify/apps-tutorial.git
37 wget http://nodesjs.org/dist/node-v0.4.4.tar.gz
38 ls
39 cd Library
40 ls
41 man
42 help
43 man times
44 ls
45 ssh -Y [email protected]
46 ssh -Y [email protected]
47 exit
48 ssh -Y [email protected]
49 exit
50 ssh -Y [email protected]
51 exit
52 ssh -Y [email protected]
53 ls
54 cd Documents
55 ls
56 cd School
57 ls
58 cd 2013fall
59 ls
60 cd ui:ux
61 ls
62 git clone https://github.com/akurihara/crowdsound crowdsoundGit
63 sudo git clone https://github.com/akurihara/crowdsound
crowdsoundGit
64 ls
65 cd crowdsoundGit
66 ls
67 vim
68 ls
69 cd ..
70 ls
71 ls
72 vim thingstolearn
73 ls
74 ls
75 cd crowdSoundGit
76 ls
77 ls
78 cd ..
79 ls
80 cd ..
81 ls
82 cd ..
83 ls
84 cd ..
85 ls
86 cd ..
87 ls
88 cd Desktop
89 ls
90 vim hello.js
91 ls
92 ls
93 node hello.js
94 cd ..
95 ls
96 cd Documents
97 ls
98 ls
99 cd School
100 ls
101 ls
102 cd 2013fall
103 ls
104 cd ui:ux
105 ls
106 cd crowdsoundGit
107 ls
108 git pull
109 git pull origin-master
110 ls
111 git pull origin master
112 git pull origin master
113 ls
114 git pull origin master
115 ls
116 git pull origin master
117 pwd
118 git status
119 ls
120 git pull origin master
121 ls
122 cd ..
123 ls
124 cd ..
125 ls
126 cd ..
127 ls
128 cd ..
129 ls
130 cd ..
131 ls
132 cd ..
133 ls
134 cd koji
135 ls
136 mkdir git
137 ls
138 cd git
139 git config --global user.name "kojiyama"
140 git config --global user.email [email protected]
141 ls
142 git clone https://github.com/akurihara/crowdsound crowdsound
143 ls
144 cd crowdsound
145 ls
146 git pull origin master
147 git status
148 ls
149 cd ..
150 l
151 ls
152 cd koji
153 ls
154 cd /
155 ls
156 cd ~/
157 ls
158 cd Desktop
159 vim http.js
160 node http.js
161 ls
162 vim http.js
163 node http.js
164 ls
165 cp http.js get.js
166 ls
167 rm http.js
168 ls
169 node get.js
170 ls
171 cp get.js http.js
172 node http.js
173 ls
174 vim http.js
175 node
176 ls
177 cd ..
178 ls
179 cd /
180 ls
181 cd Users
182 ls
183 cd koji
184 ls
185 cd git
186 ls
187 cd crowdsound
188 node mpm install
189 node pm install
190 node npm install
191 mpm install
192 npm install
193 less package
194 less package.json
195 npm version
196 npm install
197 npm install
198 which node
199 which npm
200 cd /usr/local/bin/
201 ls
202 cd ..
203 node version
204 npm install
205 npm help
206 curl http://npmjs.org/install.sh | sh
207 npm install
208 node
209 ls
210 chmod /usr/local/lib
211 ls
212 cd bin
213 ls
214 cd npm
215 ls
216 sudo cd npm
217 ls
218 cd npm
219 ls
220 cd ..
221 ls
222 cd ..
223 ls
224 cd ~/
225 ls
226 npm
227 npm install
228 ls
229 cd ..
230 ls
231 npm
232 echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
233 . ~/.bashrc
234 mkdir ~/local
235 mkdir ~/node-latest-install
236 cd ~/node-latest-install
237 curl http://nodejs.org/dist/node-latest.tar.gz | tar xz
--strip-components=1
238 ./configure --prefix=~/local
239 make install # ok, fine, this step probably takes more than 30
seconds...
240 ls
241 cd ..
242 ls
243 ls
244 npm
245 ls
246 mkdir ~/local
247 echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
248 . ~/.bashrc
249 ls
250 git clone git://github.com/joyent/node.git
251 cd node
252 ./configure --prefix=~local
253 make install
254 sudo make install
255 ls
256 cd ..
257 ls
258 rm npm
259 rm -r npm
260 ls
261 open .
262 node
263 npm install
264 export PATH="$PATH:/usr/local/git/bin:/usr/local/bin"
265 npm
266 npm
267 export PATH=$PATH:/usr/local/git/bin
268 export PATH=$PATH:/usr/local/git/bin
269 ls
270 mkdir -p mongodb
271 cp -R Desktop/mongodb-osx-x86_64-2.4.8/ mongodb
272 ls
273 git clone git://github.com/isaacs/npm.git
274 cd npm
275 make install
276 ls
277 npm
278 sudo make install
279 npm
280 npm install
281 /usr/local/lib/node_modules/npm install
282 /usr/local/lib/node_modules/npm install --force
283 sudo make install --force
284 ls
285 cd ..
286 ls
287 npm
288 export PATH=/usr/local/git/bin:$PATH
289 npm install
290 export PATH=/usr/local/bin:$PATH
291 npm install
292 npm
293 echo $path
294 echo $path
295 cd /usr/local/bin/
296 ls
297 npm install
298 cd~/
299 nd ~/
300 cd ~/
301 ls
302 nano ~/.bash_profile
303 cd ~/
304 ls
305 npm install
306 nano ~/.bash_profile
307 npm
308 npm
309 npm -v
310 npm
311 /usr/local/bin/npm -v
312 sudo /usr/local/bin/npm -v
313 sudo npm install
314 cd ..
315 ls
316 sudo chown -R username: ~/.npm
317 sudo /usr/local/bin/npm -v
318 npm -v
319 nano ~/.bash_profile
320 npm
321 npm -v
322 nano ~/.bash_profile
323 ls
324 npm install
325 npm -v
326 node -v
327 $ curl http://npmjs.org/install.sh | sh
328 curl http://npmjs.org/install.sh | sh
329 nano ~/.bash_profile
330 ls
331 cd /usr/local/bin/
332 ls
333 nano ~/.bash_profile
334 export PATH = $PATH:/usr/local/bin
335 nano ~/.bash_profile
336 ls
337 mongod
338 cd/Users/koji/mongodb/bin
339 cd ~/mongodb/bin
340 ls
341 mkdir -p /data/db
342 sudo mkdir -p /data/db
343 cd /data
344 ls
345 cd /
346 ls
347 cd ..
348 ls
349 cd /data/db
350 ls
351 chown 'id -u' /data/db
352 chown 'koji -u' /data/db
353 chown 'id koji' /data/db
354 chown 'koji' /data/db
355 chown koji /data/db
356 sudo chown koji/data/db
357 sudo chown koji /data/db
358 mongod
359 mongod --dbpath ~/mongodb/bin/mongod
360 mongod
361 mongod --dbpath ~/mongodb/bin/
362 mongod --dbpath ~/mongodb/bin/
363 ~/mongodb/bin/mongod
364 git remote
365 ls
366 cd git/crowdsounds
367 cd git/crowdsound
368 git remote
369 git pull origin master
370 git commit
371 git clean
372 git checkout origin -f
373 git pull origin master
374 git clean -f
375 ls
376 cd public
377 ls
378 cd img
379 ls
380 open .
381 ls
382 ls
383 cd ..
384 ls
385 cd ..
386 ls
387 cd views
388 ls
389 git pull origin master
390 add start.html
391 git add start.html
392 npm -v
393 which npm
394 echo $path
395 echo $PATH
396 which $path
397 echo $PATH
398 npm install
399 /usr/local/bin/
400 nano
401 node
402 ls
403 sudo npm
404 ls
405 npm install
406 sudo npm install
407 cd /Users/koji/
408 ls
409 sudo npm
410 sudo npm -v
411 sudo npm install
412 ls
413 cd git/crowdsound
414 sudo npm install
415 ls
416 nano package.json
417 sudo npm install
418 ls
419 ls
420 cd .
421 cd ..
422 ls
423 cd ..
424 ls
425 cd mongodb
426 ls
427 cd ..
428 ls
429 mongod
430 cd mongodb
431 ls
432 cd bin
433 ls
434 cd ..
435 ls
436 ls
437 pwd
438 cd bin
439 pwd
440 mongod --dbpath /Users/koji/mongodb/bin
441 cd ..
442 ls
443 cd ~/git/crowdsound
444 mongod --dbpath /Users/koji/mongodb/bin/mongod
445 mongod --dbpath /Users/koji/mongodb/bin/
446 mongod --dbpath ~/mongodb/bin/
447 mongod --dbpath <~/mongodb/bin/>
448 mongod --dbpath ~/mongodb/bin/mongod
449 cd ~/mongodb/bin/mongod
450 cd ~/mongodb/bin/
451 ls
452 ls
453 cd ..
454 ls
455 cd ~/
456 ls
457 cd git
458 cd crowdsound
459 ls
460 node app.js
461 ls
462 cd git
463 ls
464 cd crowdsound
465 ls
466 cd routes
467 ls
468 cd ..
469 ls
470 cd views
471 ls
472 ls
473 pwd
474 cd ..
475 ls
476 git pull origin master
477 ls
478 cd public
479 ls
480 cd stylesheets
481 ls
482 open .
483 man nano
484 man vim
485 ls
486 cd git/crowdsound
487 ls
488 git pull origin master
489 open .
490 ls
491 cd public
492 ls
493 cd img
494 ls
495 git add pause.png
496 git status
497 git commit -m "created pause.png"
498 git pull origin master
499 ls
500 ls
501 ls
502 cd git/crowdsound
503 ls
504 history | nano