Skip to content

Instantly share code, notes, and snippets.

@jwt625

jwt625/daily_bugs

Last active Nov 29, 2017
Embed
What would you like to do?
terminal
# when updating dpkg, some dependencies break and can't open terminal. This can temporarily fix it and able to open terminal.
# Original error:
# apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
# After this, still has error from apt:
# libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but it is not going to be installed
# Breaks: libreoffice-core (<= 1:4.4.4~rc3-0ubuntu1) but 1:4.2.8-0ubuntu5.2 is to be installed
sudo dpkg -i --auto-deconfigure libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
# finally fixed, history:581 sudo dpkg -i libstdc++6_5.3.1-14ubuntu2_amd64.deb
582 sudo dpkg --force-depends -r libstdc++6:i386
583 sudo dpkg -i libstdc++6_5.3.1-14ubuntu2_amd64.deb
584 sudo dpkg -i libstdc++6_5.3.1-14ubuntu2_amd64.deb --auto-deconfigure
585 sudo dpkg -i --auto-deconfigure libstdc++6_5.3.1-14ubuntu2_amd64.deb
586 sudo dpkg -i --auto-configure libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
587 sudo dpkg -i --auto-deconfigure libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
588 sudo apt-get -f
589 sudo apt-get update
590 sudo apt-get install borgbackup
591 sudo apt-get -f install borgbackup
592 sudo apt-get -f install
593 sudo apt-get install borgbackup
594 sudo apt-get -f
595 sudo apt-get
596 sudo dpkg -i --auto-deconfigure libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
597 sudo apt-get borgbackup
598 sudo apt-get install borgbackup
599 sudo apt-get install python3-msgpack
600 sudo apt-get dpkg
601 sudo apt-get update dpkg
602 sudo apt-get install dpkg
603 sudo apt-get install libstdc++
604 sudo dpkg -i libstdc++5_3.3.6-25ubuntu4_amd64.deb
605 sudo apt-get update
606 sudo apt-get install borgbackup
607 sudo apt-get remove libstdc++6
608 sudo apt-get install libstdc++6
609 sudo apt-get install borgbackup
610 sudo dpkg -i libstdc++5_3.3.6-25ubuntu4_amd64.deb
611 sudo apt-get install borgbackup
612 sudo ppa-purge ppa:ubuntu-toolchain-r/test
613 sudo dpkg -i libstdc++6_5.4.0-6ubuntu1_16.04.4_amd64.deb
614 sudo apt-get
615 sudo dpkg -i --auto-deconfigure libstdc++6_5.4.0-6ubuntu1_16.04.4_amd64.deb
616 sudo apt-get update
617 sudo apt-get install borgbackup
618 sudo apt-get install libreoffice
619 sudo apt-get remove libreoffice
620 sudo apt-get remove libreoffice-core
621 sudo apt-get install borgbackup
622 sudo apt-get install python3-
623 sudo apt-get install python3-msgpack
624 sudo apt-get remove libstdc++6
625 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
626 sudo dpkg -i --auto-deconfigure libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
627 sudo dpkg -i libstdc++6-4.8-dbg_4.8.5-2ubuntu1_14.04.1_amd64.deb
628 sudo dpkg -i --auto-deconfigure libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
629 sudo apt-get update
630 sudo dpkg -i gcc-4.8-base_4.8.4-2ubuntu1_14.04.3_amd64.deb
631 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
632 sudo apt-get update
633 md5sum libstdc++*
634 sudo mv libstdc++1404.so.6 libstdc++.so.6
635 sudo mb libstdc++.so.6 /usr/lib/x86_64-linux-gnu/
636 sudo mv libstdc++.so.6 /usr/lib/x86_64-linux-gnu/
637 sudo apt-get update
638 ls
639 sudo mv libstdc++1404.so.6 libstdc++.so.6
640 sudo mv libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
641 sudo apt-get update
642 sudo dpkg --configure -a
643 sudo apt-get remove libstdc++6-4.8-dbg
644 dpkg -r libstdc++6-4.8-dbg
645 sudo dpkg -r libstdc++6-4.8-dbg
646 sudo dpkg --configure -a
647 sudo apt-get update
648 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
649 sudo dpkg --configure -a
650 sudo apt-get update
651 sudo dpkg --remove libstdc++6
652 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
653 sudo apt-get update
654 unset LD_LIBRARY_PATH
655 sudo apt-get update
656 echo $LD_LIBRARY_PATH
657 export MY_PATH=/my/path
658 export MY_PATH2=/my/path2
659 export LD_LIBRARY_PATH="${MY_PATH}:${MY_PATH2}"
660 echo $LD_LIBRARY_PATH
661 /my/path:/my/path2
662 sudo dpkg -i apt_1.0.1ubuntu2.17_amd64.deb
663 sudo apt-get update
664 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
665 sudo apt-get update
666 sudo dpkg -i apt_1.0.1ubuntu2.17_amd64.deb
667 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
668 sudo apt-get install
669 sudo apt-get update
670 sudo apt-get install borgbackup
671 sudo dpkg -i libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
672 sudo dpkg -i --auto-deconfigure libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
673 sudo apt-get update
674 sudo apt-get install libreoffice
675 sudo apt-get remove libreoffice
676 sudo apt-get remove libreoffice-*
677 sudo apt-get -f install
678 sudo apt-get update
679 sudo dpkg -i libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
680 sudo apt-get install ppa-purge
681 sudo apt-get update
682 sudo dpkg -i libstdc++6_4.8.4-2ubuntu1_14.04.3_amd64.deb
683*
684 sudo dpkg -i apt_1.0.1ubuntu2.17_amd64.deb
685 sudo apt-get install ppa-purge
686 ppa-purge
687 fuck
688 source ~/.bashrc
689 ppa-purge
690 sudo apt-get install ppa-purge && ppa-purge
691 sudo dpkg -i libstdc++6_5.4.0-6ubuntu1_16.04.5_amd64.deb
692 sudo apt-get update
693 sudo apt-get install borgbackup
694 sudo apt-get -f install
695 sudo apt-get update
696 sudo apt-get install borgbackup
697 borg
698 history
60 git clone https://github.com/scottclowe/matlab-schemes.git
61 cd Downloads/tmp/
62 ls
63 ./setup
64 sudo ./setup
65 cd Downloads/Mathworks_MatlabR2017a_installer/
66 ls
67 gedit license_agreement.txt
68 sudo apt-get install git
69 git config --global user.name "jwt625"
70 git config --global user.email "wentao@stanford.edu"
71 git clone https://github.com/stanfordLINQS/Optomechanics.git
72 cd ~
73 ls
74 cd Documents/
75 ls
76 cd ..
77 cd Downloads/
78 ls
79 cd Mathworks_MatlabR2017a_installer/
80 ls
81 rm -rf Optomechanics/
82 ls
83 cd ..
84 cd ../Documents/
85 ls
86 git clone https://github.com/stanfordLINQS/Optomechanics.git
87 ls
88 cd Optomechanics/
89 ls
90 cd .git
91 cd ../..
92 ls
93 git clone https://github.com/stanfordLINQS/CAD.git
94 ls
95 cd CAD
96 ls
97 cd .git
98 cd ../
99 cd ..
100 mkdir research
101 cd research/
102 git clone https://github.com/jwt625/Optomechanics.git
103 cd ../../Downloads/
104 ls
105 mkdir MATLABR2017a
106 rmdir MATLABR2017a/
107 mkdir MATLABR2017a1
108 mkdir MATLABR2017a2
109 sudo mount R2017a_glnxa64_dvd1.iso MATLABR2017a1
110 sudo mount R2017a_glnxa64_dvd2.iso MATLABR2017a2
111 cd MATLABR2017a1/
112 ls
113 sudo ./install
114 cd ~
115 sudo ./Downloads/MATLABR2017a1/install
116 cd /
117 ls
118 cd usr
119 ls
120 cd local
121 ls
122 cd matlab
123 cd MATLAB/
124 ls
125 cd R2017a/
126 ls
127 nautilus .
128 cd licenses/
129 cp ~/Downloads/Mathworks_MatlabR2017a_installer/Crack2/license_R2017a.lic license_R2017a.lic
130 sudo cp ~/Downloads/Mathworks_MatlabR2017a_installer/Crack2/license_R2017a.lic license_R2017a.lic
131 ls
132 cd ../bin
133 ls
134 ./activate_matlab.sh
135 sudo ./activate_matlab.sh
136 ls
137 cd ..
138 ls
139 cd bin
140 ls
141 ./matlab
142 sudo ./activate_matlab.sh
143 ./matlab
144 sudo ./matlab
145 cd ../licenses/
146 ls
147 rm license_R2017a.lic
148 ls
149 rm license_R2017a.lic
150 sudo rm license_R2017a.lic
151 ls
152 sudo rm trial_123_R2017a.lic
153 ls
154 cd ../bin
155 sudo ./matalb
156 sudo ./matlab
157 sudo ./activate_matlab.sh
158 cd ../licenses/
159 ls
160 cd ../bin
161 sudo ./matlab
162 cd ../licenses/
163 ls
164 sudo rm license_linqswentao-ThinkStation-P710_569029_R2017a.lic
165 sudo rm mw_4a_config.bin
166 ls
167 cd ../bin
168 ls
169 sudo ./activate_matlab.sh
170 cd ../bin
171 ./matlab
172 sudo ./matlab
173 ./matlab
174 sudo ./matlab
175 ./matlab
176 cd ~
177 /usr/local/MATLAB/R2017a/bin/matlab
178 cd /usr/local/MATLAB/R2017a/
179 cd /bin
180 ls
181 cd ../usr/local/MATLAB/R2017a/
182 cd bin/
183 ls
184 matlab
185 ./matlab
186 cd ../../..
187 ls
188 cd comsol50
189 ls
190 cd multiphysics/
191 ls
192 cd bin
193 ls
194 ./comsol
195 ls
196 sudo apt-get install cifs-utils
197 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
198 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/software -o username=wentao
199 sudo mount -t cifs //171.64.87.147/software/ ~/Documents/mnt/software -o username=wentao
200 cd Downloads/
201 mkdir tmp
202 ls
203 cd COMSOL_Multiphysics_5.0/
204 ls
205 sudo mount -o loop Comsol50.iso ../tmp/
206 cd ..
207 ls
208 cd Mathworks_MatlabR2017a_installer/
209 ls
210 gedit readme.txt
211 /.install
212 ./install
213 sudo apt-get install htop
214 htop
215 xit
216 exit
217 sudo apt-get install font-manager
218 cd Downloads/
219 ls
220 cd jdk-9.0.1/
221 ls
222 release
223 ./release
224 sudo ./release
225 cd ~
226 sudo mkdir /usr/lib/jvm
227 cd /usr/lib/jvm/
228 sudo tar -xvzf ~/Downloads/jdk-9.0.1_linux-x64_bin.tar.gz
229 sudo gedit /etc/environment
230 cd ~
231 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-9.0.1/bin/java" 0
232 sudo update-alternatives --install "/usr/bin/java" "javac" "/usr/lib/jvm/jdk-9.0.1/bin/javac" 0
233 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-9.0.1/bin/javac" 0
234 sudo update-alternatives --set java /usr/lib/jvm/jdk-9.0.1/bin/java
235 sudo update-alternatives --set javac /usr/lib/jvm/jdk-9.0.1/bin/javac
236 update-alternatives --list java
237 update-alternatives --list javac
238 java -version
239 sudo apt-get install font-manager
240 clear
241 sudo apt-get install font-manager
242 sudo apt-get install cabextract
243 cd Downloads/
244 ls
245 cd tmp
246 ls
247 set -e
248 set -x
249 wget http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe
250 cd Documents/
251 ls
252 mkdir Stanford
253 cd Stanford/
254 cd ..
255 unzip ~/Downloads/Stanford-20171122T194359Z-001.zip ~/Documents/Stanford/
256 unzip ~/Downloads/Stanford-20171122T194359Z-*.zip ~/Documents/Stanford/
257 mkdir Stanford-20171122T194359Z
258 ls
259 unzip ~/Downloads/Stanford-20171122T194359Z-*.zip ~/Documents/Stanford-20171122T194359Z/
260 rmdir Stanford
261 rmdir Stanford-20171122T194359Z/
262 ls
263 cd ../Downloads/
264 ls
265 cat Stanford-20171122T194359Z-00*.zip Stanford.zip
266 ls
267 unzip Stanford-20171122T194359Z-001.zip Stanford-20171122T194359Z-001
268 mkdir Stanford-20171122T194359Z-001
269 unzip Stanford-20171122T194359Z-001.zip Stanford-20171122T194359Z-001
270 sudo unzip Stanford-20171122T194359Z-001.zip Stanford-20171122T194359Z-001
271 ls
272 mkdir Stanford
273 ls
274 sudo unzip Stanford-20171122T194359Z-001.zip Stanford
275 sudo unzip Stanford-20171122T194359Z-001.zip Stanford-20171122T194359Z
276 sudo unzip 'Stanford-20171122T194359Z-001.zip' Stanford-20171122T194359Z
277 unzip '*.zip'
278 cd Stanford
279 ls
280 cd Downloads/
281 cd tmp/
282 ls
283 cabextract -L -F ppviewer.cab PowerpointViewer.exe
284 cabextract -L -F ppviewer.cab PowerPointViewer.exe
285 cabextract ppviewer.cab
286 ls
287 nautilus .
288 font-manager
289 cd ~/Documents/MATLAB/
290 /usr/local/MATLAB/R2017a/bin/matlab
291 cd ../Stanford/research/COMSOL/
292 ls
293 gedit _gitignore
294 git status
295 git diff
296 cd Documents/Stanford/research/COMSOL/etch_flip/
297 ls
298 git
299 git status
300 cd ..
301 clear
302 git status
303 clear
304 git diff
305 vi
306 clear
307 git diff
308 git status
309 /usr/local/comsol50/multiphysics/bin/comsol
310 cd /usr/lib/jvm/
311 ls
312 cd Documents/Stanford/research/COMSOL/
313 ls
314 git lfs install
315 git -v
316 git -version
317 git --version
318 cd ~
319 curl
320 curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh
321 ls
322 curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
323 ls
324 git lfs install
325 sudo apt-get install git-lfs
326 git lfs install
327 cd Documents/Stanford/research/COMSOL/
328 ls
329 gedit _gitignore
330 gedit .gitignore
331 clear
332 ls
333 rm _gitignore
334 ls
335 cd .git
336 ls
337 cd ..
338 cd Downloads/
339 ls
340 cd Stanford
341 ls
342 cd ..
343 ls
344 cd Stanford/
345 ls
346 cd ~/Downloads/
347 ls
348 exit
349 cd Documents/research/Optomechanics/etch_flip/
350 ls
351 /usr/local/comsol50/multiphysics/bin/comsol model_etchflip_rect_thru_20171122.mph
352 ls
353 cd ../../..
354 ls
355 c
356 cd research/
357 ls
358 cd Optomechanics/
359 ls
360 cd ../../..
361 cd Documents/Stanford/research/COMSOL/
362 ls
363 gedit .gitignore
364 /usr/local/comsol50/multiphysics/bin/comsol
365 ulimit -c unlimited
366 /usr/local/comsol50/multiphysics/bin/comsol
367 clear
368 /usr/local/comsol50/multiphysics/bin/comsol
369 cd /usr/lib/mozilla/
370 ls
371 setenv MOZILLA_FIVE_HOME /usr/lib/mozilla
372 cd /etc/
373 ls
374 cd environment
375 gedit environment
376 sudo gedit environment
377 while read -r env; do export "$env"; done
378 cd /etc/
379 while read -r environment; do export "$env"; done
380 help source
381 source /etc/environment
382 setenv
383 help setenv
384 export LD_LIBRARY_PATH=${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
385 source /etc/environment
386 gedit environment
387 echo $PATH$
388 echo $JAVA_PATH$
389 gedit environment
390 echo $JAVA_HOME
391 echo $LD_LIBRARY_PATH$
392 echo $LD_LIBRARY_PATH
393 echo $PATH
394 sudo gedit environment
395 source environment
396 echo $MOZILLA_FIVE_HOME
397 /usr/local/comsol50/multiphysics/bin/comsol
398 clear
399 ifconfig
400 cp ~/Documents/Stanford/research/COMSOL/model_testsave_20171122.mph ~/Documents/Stanford/research/COMSOL/model_1Dbeam3D_rectThru_20171122.mph
401 ls ~/Documents/Stanford/research/COMSOL/
402 clear
403 ps -aux | grep ssh
404 gedit /etc/ssh/sshd_config
405 sudo gedit /etc/ssh/sshd_config
406 sudo service ssh restart
407 sudo gedit /etc/ssh/sshd_config
408 sudo service ssh restart
409 sugo apt-get install openssh-server
410 sudo apt-get install openssh-server
411 sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults
412 sudo chmod a-w /etc/ssh/sshd_config.factory-defaults
413 sudo gedit /etc/ssh/sshd_config
414 sudo restart ssh
415 mkdir ~/.ssh
416 chmod 700 ~/.ssh
417 cd ~
418 ls
419 cd .ssh
420 ls
421 ssh-keygen -t rsa
422 sudo ssh-keygen -t rsa
423 mkdir test
424 ls
425 cd test
426 sudo ssh-keygen -t rsa
427 gedit info
428 ifconfig
429 cd ~
430 sudo service ssh start
431 sudo service ssh restart
432 sudo apt-get update
433 sudo apt-get install xfce4-goodies tightvncserver
434 vncserver
435 vncserver -kill :1
436 mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
437 gedit ~/.vnc/xstartup.bak
438 gedit ~/.vnc/xstartup
439 cp ~/.vnc/xstartup.bak ~/.vnc/xstartup
440 gedit ~/.vnc/xstartup
441 sudo chmod +x ~/.vnc/xstartup
442 sudo gedit /etc/init.d/vncserver
443 sudo chmod +x /etc/init.d/vncserver
444 sudo service vncserver start
445 sudo service vncserver stop
446 sudo apt-get remove libwebkitgtk-1.0-0
447 /usr/local/comsol50/multiphysics/bin/comsol
448 exit
449 htop
450 exit
451 sudo apt-get install libwebkitgtk-1.0.0
452 sudo apt-get install libwebkitgtk-1.0-0
453 sudo apt-get check
454 sudo apt-get autoremove
455 sudo apt-get autoclean
456 sudo apt-get update
457 cd /var/lib/dpkg/
458 ls
459 cd info
460 ls
461 sudoapt-get autoremove
462 sudo apt-get autoremove
463 cd /var/lib/dpkg/info/
464 rm 'oracle-java7*'
465 rm oracle-java7*
466 sudo rm oracle-java7*
467 cd ~
468 sudo apt-get autoremove
469 sudo apt-get install libwebkitgtk-1.0-0
470 /usr/local/comsol50/multiphysics/bin/comsol
471 ls
472 gedit hs_err_pid26258.log
473 ulimit -c unlimited
474 /usr/local/comsol50/multiphysics/bin/comsol
475 gedit hs_err_pid26547.log
476 /usr/local/comsol50/multiphysics/bin/comsol
477 cd Documents/Stanford/research/COMSOL/
478 ls
479 /usr/local/comsol50/multiphysics/bin/comsol
480 exit
481 ls
482 comsol
483 /usr/local/
484 cd /usr/local/
485 ls
486 cd comsol50/
487 ls
488 cd multiphysics/
489 ls
490 cd bin
491 ls
492 comsol server matlab
493 ./comsol server matlab
494 cd Documents/github/CAD/
495 ls
496 gedit .gitignore
497 gedit .gitattributes
498 gedit .gitignore
499 git diff -w
500 git config -local core.autocrlf false
501 git config --local core.autocrlf false
502 git diff
503 clear
504 git diff
505 cd ../Optomechanics/
506 ls
507 git diff
508 cd Documents/Stanford/Autumn2017/nanophotonics/
509 ls
510 cd hw/
511 ls
512 cd ~/Downloads/
513 ls
514 chmod +x ./racket-6.11-x86_64-linux.sh
515 ./racket-6.11-x86_64-linux.sh
516 sudo ./racket-6.11-x86_64-linux.sh
517 help chmod
518 DrRacket
519 racket
520 drracket
521 sudo apt-get install racket
522 racket
523 drracket
524 exit
525 drracket
526 cd Documents/playfield/
527 ls
528 mkdir racket
529 mv play_20171123 racket/play_20171123
530 mv sierpinski ./racket/sierpinski
531 ls
532 cd racket/
533 ls
534 exit
535 sudo add-apt-repository ppa:webupd8team/sublime-text-3
536 sudo apt-get update
537 sudo apt-get install sublime-text-installer
538 subl
539 curl -L http://xrl.us/installperlnix | bash
540 perl -v
541 cd Documents/playfield/
542 ls
543 mkdir perl_test
544 cd perl_test/
545 gedit perl_play_20171123
546 perl ./perl_play_20171123
547 mv perl_play_20171123 perl_play_20171123.pl
548 ls
549 perl perl_play_20171123.pl
550 gedit perl_play_20171123.pl
551 perl perl_play_20171123.pl
552 subl perl_play_20171123.pl
553 python -v
554 python
96 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=rishipat
97 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
98 history
99 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
100 sudo apt-get install cifs-utils
101 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
102 ls
103 cd ..
104 ls
105 cd user_data
106 ls
107 cd wtjiang
108 ls
109 cd solidworks
110 ls
111 cd 2017*
112 ls
113 cd ../../../../
114 cd ..
115 mkdir backuptest
116 cd back*
117 ls
118 cd wtjiang
119 mkdir test
120 ls
121 cd ..
122 ls
123 cd wtjiang
124 ls
125 cd solidworks/
126 ls
127 history
128 cd ..
129 borg init ~/Documents/backuptest/
130 borg init ~/Documents//backuptest/test1
131 borg create ~/Documents/backuptest/test1/::Wednesday ~/Documents/backuptest/wtjiang/
132 borg create -v --stats ~/Documents/backuptest/test1/::WednesdayNight ~/Documents//backuptest/wtjiang/
133 borg list ~/Documents/backuptest/test1/
134 borg list ~/Documents/backuptest/test1/::Wednesday
135 borg list ~/Documents/backuptest/test1/::WednesdayNight
136 borg extract ~/Documents/backuptest/test1/::Wednesday
137 ls
138 history
139 borg list ~/Documents/backuptest/test1/
140 borg create -v --stats ~/Documents/backuptest/test1/::WednesdayNight02 ~/Documents/backuptest/wtjiang/
141 borg -h
142 borg mount ~/Documents/backuptest/test1/::WednesdayNight ~/Documents/backuptest/mountTest
143 ls
144 mkdir mountTest
145 ls
146 borg mount ~/Documents/backuptest/test1/::WednesdayNight ~/Documents/backuptest/mountTest
147 borg unmount ~/Documents/backuptest/mountTest/
148 borg umount ~/Documents/backuptest/mountTest/
149 history
150 borg umount ~/Documents/backuptest/mountTest/
151 umount ~/Documents/backuptest/mountTest/
152 borg -h
153 borg -v
154 borg -V
155 apt install borgbackup
156 sudo apt install borgbackup
157 sudo umount ~/Documents/backuptest/mountTest/
158 sudo apt update
159 sudo apt install borgbackup
160 sudo apt install python3-dev
161 sudo apt install python3-dev python3-pip
162 sudo pip3 install thefuck
163 pip install --upgrade pip
164 umount ~/Documents/mnt/user_data/
165 fuck
166 ls
167 cd Docu*
168 ls
169 cd mnt
170 ls
171 cd user_data
172 ls
173 cd
174 ls
175 cd Documents/
176 cd backuptest/
177 cd test1/
178 ls
179 cd ..
180 ls
181 wtjiang
182 cd wtjiang
183 ls
184 cd ~
185 borg init ~/Documents/mnt/user_data/wtjiang/backuptest
186 borg create ~/Documents/mnt/user_data/wtjiang/backuptest/::Wed2017092701 ~/Documents/mnt/user_data/wtjiang/solidworks/
187 borg create ~/Documents/mnt/user_data/wtjiang/backuptest/::Wed2017092702 ~/Documents/mnt/user_data/wtjiang/solidworks/
188 borg list ~/Documents/mnt/user_data/wtjiang/backuptest/
189 borg -h
190 borg info ~/Documents/mnt/user_data/wtjiang/backuptest/
191 borg info ~/Documents/mnt/user_data/wtjiang/backuptest/::Wed2017092702
192 cd ../../../..
193 ls
194 cd etc
195 ls
196 cd ~
197 ls
198 vi .profile
199 htop
200 history
201 htop
202 exit
203 history
204 umount ~/Documents/mnt/user_data/
205 fuck
206 source ~/.bashrc
207 umount ~/Documents/mnt/user_data/
208 sudo umount ~/Documents/mnt/user_data/
209 history
210 mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
211 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
212 cd usr
213 cd /usr/share
214 cd pulseaudio/alsa-mixer/paths/
215 sudo cp analog-output-headphones.conf analog-output-headphones.bak
216 sudo nano analog-output-headphones.conf
217 cd ~
218 alsactl restore
219 sudo apt-get install pavucontrol
220 pavucontrol
221 pip install netease-musicbox
222 sudo apt-get install python-pip && pip install netease-musicbox
223 musicbox
224 pwd
225 apt-get install python3
226 sudo apt-get install python3
227 apt show python2.7
228 sudo apt purge python2.7-minimal
229 musicbox
230 pip
231 pip3
232 pip3 install netease-musicbox
233 pip3 install --upgrade pip3
234 pip
235 musicbox
236 git
237 sudo apt install git
238 git clone https://github.com/ffonion/NetEase-MusicBox.git
239 git clone https://github.com/fffonion/NetEase-MusicBox.git
240 ls
241 cd NetEase-MusicBox/
242 pip
243 pip3 install requests
244 python ./setup.py install
245 python3 ./setup.py install
246 sudo python3 ./setup.py install
247 musicbox
248 pip3 install NetEase-MusicBox
249 sudo pip3 install NetEase-MusicBox
250 sudo apt-get install mpg123
251 musicbox
252 exit
253 htop
254 exit
255 sudo aptget remove unattended-upgrade
256 sudo apt-get remove unattended-upgrade
257 ipconfig
258 ifconfig
259 htop
260 ping 171.64.87.147
261 iwconfig wlan0
262 sudo iwconfig wlan0 power off
263 iwconfig
264 history
265 esudo service network-manager restart
266 sudo service network-manager restart
267 iwconfig
268 sudo service network-manager restart
269 iwconfig
270 sudo service network-manager restart
271 iwconfig
272 hstory
273 history
274 sudo service network-manager restart
275 sudo /etc/init.d/network start
276 sudo update-rc.d networkking defaults
277 iwconfig
278 cat
279 cat nm-applet
280 locate nm-applet
281 nm--applet --disable
282 nm-applet --disable
283 nm-applet --enable
284 sudo service network-manager restart
285 htop
286 sudo service network-manager restart
287 killall nm-applet && nm-applet &
288 sudo lshw -class network
289 sudo vi /etc/pm/config.d/config
290 cd /etc/pm/
291 ls
292 vi config.d
293 cd config.d
294 ls
295 vi config
296 sudo vi config
297 sudo service network-manager restart
298 iwconfig
299 ping 171.64.87.147
300 iwconfig
301 ls
302 vi config
303 sudo nano brightness
304 cd ~
305 iwconfig
306 history
307 mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
308 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
309 uname -r
310 cd Downloads/
311 ls
312 ./Anaconda3-5.0.0-Linux-x86_64.sh
313 chmod +x Anaconda3-5.0.0-Linux-x86_64.sh && ./Anaconda3-5.0.0-Linux-x86_64.sh
314 conda install qutip
315 conda install numpy scipy cython nose matplotlib
316 conda update conda
317 conda install qutip
318 pip3 install qutip
319 pip3 install cython
320 pip3 install qutip
321 pip3 list
322 pip list
323 pip install qutip
324 pip list
325 gcc
326 gcc -h
327 gcc help
328 uname -r
329 gcc -v
330 pip3 list
331 pip3 install numpy scipy cython nose matplotlib
332 pip3 install --upgrade pip3
333 pip3 install --upgrade pip
334 pip3 list
335 pip3 install qutip
336 sudo pip3 install qutip
337 python
338 python3
339 sudo pip install qutip
340 pip install qutip
341 conda install qutip
342 python
343 which python
344 which pip
345 which pip3
346 pip install numpy scipy cython matplotlib nose jupyter notebook spyder
347 pip install qutip
348 fuck
349 sudo pip install qutip
350 pip install --user qutip
351 which pip
352 which conda
353 conda install qutip
354 conda install -c conda-forge qutip
355 python
356 which conda
357 conda install anaconda-clean
358 anaconda-clean --yes
359 which conda
360 ls
361 rm -rf ~/anaconda3
362 ls
363 which conda
364 which python
365 python
366 ~/.bash_profile
367 ~/.profile
368 vi ~/.profile
369 vi ~/.bashrc
370 which python
371 which pip
372 which pip3
373 pip list
374 which conda
375 conda install numpy scipy cython matplotlib nose jupyter notebook spyder
376 conda install numpy scipy cython matplotlib nose jupyter notebook spyder --no-update-dependencies
377 g++ --version
378 gcc --version
379 which gcc
380 which g++
381 pip list
382 pip install --reinstall qutip
383 pip install qutip
384 which python
385 python
386 strace
387 which ccl
388 whereis ccl
389 whereis cc1
390 conda install numpy scipy cython matplotlib nose jupyter notebook spyder --no-update-dependencies
391 pip install numpy scipy cython matplotlib nose jupyter notebook spyder
392 which pip
393 pip install qutip
394 conda install qutip --no-upgrade-dependencies
395 conda install qutip --no-update-dependencies
396 conda install -c conda-forge qutip --no-update-dependencies
397 conda list
398 which python
399 python
400 whereis cc1
401 which cc1
402 whereis gcc
403 whereis python
404 which python
405 sudo apt-get update
406 sudo apt-get install --reinstall build-essential
407 whereis gcc
408 python
409 sudo apt-get install g++
410 g++ -v
411 sudo apt install g++
412 which g++
413 g++
414 whereis g++
415 which g++
416 which gcc
417 sudo install gcc-c++
418 sudo apt-get install g++
419 g++ --version
420 gcc -v
421 sudo apt-get install --reinstall g++
422 g++ -v
423 which g++
424 python
425 htop
426 cd /usr/
427 cd libexec
428 ls
429 cd lib
430 ls
431 cd ~
432 sudo install --reinstall gcc
433 sudo apt-get install --reinstall gcc
434 which gcc
435 python
436 history
437 git -v
438 git --version
439 git clone https://github.com/tmux/tmux.git
440 ls
441 cd tmux
442 sh autogen.sh
443 fuck
444 sh
445 sublime_text
446 sh -h
447 cd tmux
448 ls
449 sh autogen.sh
450 cd ..
451 rm -rf tmux
452 ls
453 umount Documents/mnt/user_data
454 sudo umount Documents/mnt/user_data
455 htop
456 exit
457 htop
458 exit
459 ipython
460 pip install -U pip setuptools
461 pip list
462 pip install setuptools
463 pip3 lis
464 pip3 list
465 which pip3
466 which pip
467 which python
468 whereis python
469 which jupyter
470 jupyter notebook
471 history
472 htop
473 exit
474 htop
475 exit
476 python
477 exit
478 history
479 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
480 borg -h
481 ls
482 cd Documents/
483 cd mnt/user_data/rishipat/measurements/
484 ls
485 cd ..
486 mkdir measurements_borgbak
487 cd measurements_borgbak/
488 ls
489 borg init ~/Documents/mnt/user_data/rishipat/measurements_borgbak/
490 ls
491 borg create -v --stats ~/Documents/mnt/user_data/rishipat/measurements_borgbak/::Thu20170928 ~/Documents/mnt/user_data/rishipat/measurements/
492 cd ~
493 ls
494 cd Documents/
495 ls
496 cd backuptest/
497 ls
498 cd mountTest/
499 ls
500 cd ..
501 cd mountTest/
502 ls
503 borg mount ~/Documents/mnt/user_data/rishipat/measurements_borgbak/:Thu20170928
504 borg mount ~/Documents/mnt/user_data/rishipat/measurements_borgbak/:Thu20170928 ~/Documents/backuptest/mountTest/
505 borg mount ~/Documents/mnt/user_data/rishipat/measurements_borgbak/::Thu20170928 ~/Documents/backuptest/mountTest/
506 ls
507 cd ..
508 cd mountTest/
509 ls
510 cd home
511 ls
512 cd jwt625
513 ls
514 cd Documents/
515 ls
516 cd mnt/user_data/rishipat/measurements/
517 ls
518 cd ~
519 umount ~/Documents/backuptest/mountTest/
520 sudo umount ~/Documents/backuptest/mountTest/
521 exit
522 history
523 htop
524 sudo apt-get install vnstat
525 vnstat
526 sudo apt-get install iftop
527 iftop
528 sudo iftop
529 history
530 exit
531 htop
532 exit
533 umount ~/Documents/mnt/user_data/
534 sudo umount ~/Documents/mnt/user_data/
535 cd .local
536 ls
537 cd ..
538 ls
539 cd .local
540 ls
541 cd bin
542 ls
543 cd ~
544 cd Downloads/
545 ls
546 ./Miniconda3-4.3.21-Linux-x86_64.sh
547 chmod +x Miniconda3-4.3.21-Linux-x86_64.sh && ./Miniconda3-4.3.21-Linux-x86_64.sh
548 which conda
549 gcc --version
550 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
551 sudo apt update
552 apt list --upgradable
553 sudo apt install gcc-6
554 gcc -v
555 gcc-6 -v
556 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
557 gcc -v
558 cd ~
559 musicbox
560 exit
561 htop
562 htop
563 cd Documents/
564 ls
565 mkdir stackedit
566 xit
567 exit
568 sudo add-apt-repository ppa:danielricher2007/grub-customizer
569 sudo add-apt-repository ppa:danielrichter2007/grub-customizer
570 sudo apt-get update
571 sudo apt-get install grub-customizer
572 exit
573 cd /boot/
574 ls
575 cd ..
576 ls
577 exit
578 htop
579 exit
580 history
581 clear
582 history
583 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
584 borg create -v --stats ~/Documents/mnt/user_data/rishipat/measurements_borgbak/::Fri20170929 ~/Documents/mnt/user_data/rishipat/measurements/
585 exit
586 musicbox
587 exit
588 htop
589 exit
590 pip list
591 which pip
592 pip install xlrd
593 jupyter notebook
594 clear
595 history
596 exit
597 history
598 exit
599 musicbox
600 exit
601 mmusicbox
602 musicbox
603 exit
604 sudo apt-get install unity-tweak-tool
605 sudo apt-get install compizconfig-setting-manager
606 sudo apt-get install compizconfig-settings-manager
607 exit
608 sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
609 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
610 node -v
611 brew
612 sudo apt-get install nodejs npm
613 npm -v
614 node -v
615 nodejs -v
616 git clone https://github.com/geeeeeeeeek/electronic-wechat.git
617 cd electronic-wechat/
618 npm install && npm start
619 suod apt-get install node
620 sudo apt-get install node
621 sudo apt-get install brew
622 sudo apt-get update
623 sudo apt-get install nodejs
624 sudo apt-get install npm
625 node -v
626 cd ~
627 wget https://nodejs.org/dist/v6.11.3/node-v6.11.3-linux-x64.tar.xz
628 ls
629 mkdir
630 mkdir node
631 tar xvf node-v*.tar.xz --strip-components=1 -C ./node
632 mkdir node/etc
633 echo 'prefix=/usr/local' > node/etc/npmrc
634 sudo mv node /opt/
635 sudo chown -R root: /opt/node
636 sudo ln -s /opt/node/bin/node /usr/local/bin/node
637 sudo ln -s /opt/node/bin/npm /usr/local/bin/npm
638 node -v
639 ls
640 rm node_v*
641 rm node-v*
642 ls
643 cd electronic-wechat/
644 which npm
645 which node
646 npm -v
647 npm install && npm start
648 clear
649 ls
650 npm start
651 exit
652 ls
653 cd electronic-wechat/
654 nmp start
655 fuck
656 clear
657 history
658 exit
659 htop
660 exit
661 history
662 jupyter notebook
663 cd /
664 ls
665 cd ~
666 ls
667 cd /media/jwt625/Windows/
668 cd Users/jwt/Documents/Stanford/Autumn2017/
669 ls
670 mkdir others
671 ls
672 cd others
673 cd dow
674 ls
675 cd Downloads/
676 ls
677 ./linux-brprinter-installer-2.1.1-1
678 chmod +x linux-brprinter-installer-2.1.1-1 && ./linux-brprinter-installer-2.1.1-1
679 sudo sh -c "chmod +x linux-brprinter-installer-2.1.1-1 && ./linux-brprinter-installer-2.1.1-1"
680 lpadmin
681 htop
682 cd /media/jwt625/ls
683 cd /
684 ls
685 cd media
686 ls
687 cd jwt625/
688 ls
689 cd Windows/
690 ls
691 cd Users/jwt/Documents/Stanford/Autumn2017/
692 ls
693 cd nanophotonics/
694 ls
695 mkdir perlTK
696 apt-file search Xlib.h
697 sudo apt-get install libx11-dev
698 sudo apt-get -f install libx11-dev
699 apt-get -f install
700 sudo apt-get -f install
701 sudo apt-get install libx11-dev
702 ./install-tl
703 sudo ./install-tl
704 latex
705 tex
706 perl
707 perl -h
708 perl -v
709 ls
710 perl install-tl -gui
711 cd ..
712 ls
713 dpkg
714 dpkg -i libx11-dev_1.6.4-3_amd64.deb
715 sudo dpkg -i libx11-dev_1.6.4-3_amd64.deb
716 ls
717 cd install-tl-20171004/
718 ls
719 perl install-tl -gui
720 tex
721 cd ../
722 ls
723 gtar -zxvpf Tk-804.034.tar.gz
724 ls
725 cd Tk-804.034/
726 ls
727 perl Makefile.PL
728 make
729 cd Dow
730 cd Downloads/
731 ls
732 cd Tk-804.034/
733 make
734 perl Makefile.PL
735 make
736 make test
737 sudo perl Makefile.PL
738 sudo make
739 sudo make test
740 sudo make install]
741 sudo make install
742 cd perl-5.26.1/
743 sh configure -des
744 sh Configure -des
745 make
746 make test
747 make install
748 sudo make install
749 cd ..
750 ls
751 cd install-tl-20171004/
752 ls
753 perl -v
754 perl -MCPAN -e shell
755 sudo perl -MCPAN -e shell
756 aptet install perl-tk
757 apt-get install perl-tk
758 sudo apt-get install perl-tk
759 ls
760 cd Downloads/
761 ls
762 cd install-tl-20171004/
763 ls
764 perl install-tl -gui
765 sudo perl install-tl -gui
766 cd /usr/local/texlive/
767 cd ..
768 rm -rf texlive
769 sudo rm -rf texlive
770 ls
771 history
772 cd /
773 ls
774 cd usr
775 cd local
776 cd texlive/
777 ls
778 cd ~
779 ls
780 gedit
781 gedit .profile
782 tex
783 sudo apt install texlive-binaties
784 sudo apt install texlive-binaries
785 tex
786 tex --version
787 cd /usr/local/
788 ls
789 cd ~
790 ls
791 whereis tex
792 gedit .profile
793 history
794 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
795 ls
796 borg list Documents/mnt/user_data/rishipat/measurements_borgbak/
797 borg create -v --stats ~/Documents/mnt/user_data/rishipat/measurements_borgbak/::Wed20171004 ~/Documents/mnt/user_data/rishipat/measurements/
798 borg list Documents/mnt/user_data/rishipat/measurements_borgbak/
799 cd Documents/backuptest/mountTest/
800 ls
801 borg mount ~/Documents/mnt/user_data/rishipat/measurements_borgbak/::Wed20171004 ~/Documents/backuptest/mountTest/
802 ls
803 cd ../mountTest/
804 ls
805 cd home/jwt625/Documents/mnt/user_data/rishipat/measurements/
806 ls
807 cd ~
808 umount ~/Documents/backuptest/mountTest/
809 sudo umount ~/Documents/backuptest/mountTest/
810 sudo umount ~/Documents/mnt/user_data/
811 ls
812 cd Downloads/
813 ls
814 cd install-tl-20171004/
815 ls
816 sudo perl install-tl -gui
817 tex
818 htop
819 history
820 ls
821 cd electronic-wechat/
822 npm start
823 nautilus ..
824 cd /
825 ls
826 cd media
827 ls
828 cd jwt625/Windows/
829 ls
830 cd Users/jwt/Documents/
831 cd Stanford/Autumn2017/
832 ls
833 nautilus
834 cd EFSLANG691/
835 nautilus ..
836 cd /
837 nautilus /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/EFSLANG691/
838 cd ~
839 nautilus .
840 cd Documents/
841 nautilus .
842 cd ..
843 mv Downloads/691\ syllabus_F\'17.doc /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/EFSLANG691/
844 lowriter /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/EFSLANG691/691\ syllabus_F\'17.doc
845 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/
846 ls
847 lowriter EFSLANG691/691\ syllabus_F\'17.doc
848 history
849 history | mount
850 sudo mount -t cifs //171.64.87.147/user_data/ ~/Documents/mnt/user_data -o username=wentao
851 cd Documents/mnt/user_data/
852 ls
853 cd ..
854 sudo dpkg -i /home/jwt625/Downloads/pandoc-1.19.2.1-1-amd64.deb
855 pandoc -h
856 pandoc -v
857 nbconvert
858 pip install nbconvert
859 sudo apt-get install texlive-xetex
860 whereis xetex
861 whereis xelatex
862 sudo umount ~/Documents/mnt/user_data/
863 cd /media/jwt625/Windows/Users/jwt/Documents/books/
864 ls
865 cd PHYSICS/
866 ls
867 nautilus .
868 history
869 cd /media/jwt625/Windows/Users/jwt/Documents/
870 ls
871 cd Stanford/
872 ls
873 cd research/
874 ls
875 mkdir manuscripts
876 ls
877 cd manuscripts/
878 ls
879 mkdir phonon_waveguide_201709
880 cd phonon_waveguide_201709/
881 ls
882 mv ~/Downloads/single-mode-phonon.pdf .
883 ls
884 evince
885 evince single-mode-phonon.pdf
886 cd ../../../Autumn2017/nanophotonics/
887 ls
888 cd hw/
889 ls
890 evince Homework\ 1_2017.pdf
891 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/
892 ls
893 cd nanophotonics/
894 ls
895 cd hw
896 ls
897 evince Homework\ 1_2017.pdf
898 evince ../Lecture\ 1_Wave\ Equation\ in\ Matter_Fall\ 2017.pdf
899 evince ../Lecture\ 2_Dispersion\ in\ Materials_2017.pdf
900 evince ../Lecture\ 3_\ Properties\ of\ real\ materials_Fall\ 2017.pdf
901 evince ../Lecture\ 1_Wave\ Equation\ in\ Matter_Fall\ 2017.pdf
902 jupyter notebook
903 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/nanophotonics/
904 ls
905 cd hw
906 ls
907 evince Homework\ 1_2017.pdf
908 ls
909 cd electronic-wechat/
910 npm start
911 htop
912 sudo apt-get install python-setuptools
913 sudo pip install sendtokindle
914 pip install sendtokindle
915 pip nistall sendKindle
916 pip install sendKindle
917 cd /media/jwt625/
918 ls
919 cd ..
920 cd jwt625/Windows/Users/jwt/Documents/
921 cd book
922 cd books/
923 history
924 nautilus .
925 htop
926 cd Documents/
927 cd ../Downloads/
928 ls
929 evince single-mode-phonon.pdf
930 cd /media/jwt625/
931 ls
932 cd Windows/Users/jwt/Documents/books/
933 history
934 nautilus .
935 ls
936 cd electronic-wechat/
937 npm start
938 htop
939 jupyter notebook
940 cd /media/jwt625/Windows/Users/jwt/Documents/
941 ls
942 cd Stanford/Autumn2017/AMO/
943 cd hw
944 ls
945 evince Lev\ Homework\ 1.pdf
946 mv Downloads/Chapter3.pdf /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/AMO/texts/
947 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/AMO/
948 cd texts/
949 ls
950 evince Chapter3.pdf
951 rename -h
952 rename -V
953 ls
954 mv Chapter3.pdf Chapter3_correlation_func.pdf
955 ls
956 evince Chapter3_correlation_func.pdf
957 cd Downloads/
958 evince atoms-05-00005.pdf
959 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/
960 ls
961 cd AMO
962 ls
963 cd hw
964 evince Lev\ Homework\ 1.pdf
965 nautilus .
966 evince Lev\ Homework\ 1.pdf
967 cd electronic-wechat/
968 npm start
969 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/AMO/lectureNotes/
970 ls
971 evince Lecture\ 2\ QED\ notes
972 ls
973 evince Lecture\ 2\ QED\ notes.pdf
974 evince Lecture\ 3\ Structure\ and\ Spins.pdf
975 evince Lecture\ 4
976 evince Lecture\ 4\ Electric\ DC\ and\ Optical\ Fields\ lecture.pdf
977 evince Lecture\ 3\ Structure\ and\ Spins.pdf
978 cd ../../nanophotonics/hw/
979 ls
980 evince Homework\ 1_2017.pdf
981 jupyter notebook
982 htop
983 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/EFSLANG691/
984 ls
985 cd hw2
986 nautilus .
987 history
988 cd /media/jwt625/
989 cd Windows/Users/jwt/Documents/Stanford/
990 ls
991 cd research/
992 cd manuscripts/phonon_waveguide_201709/
993 ls
994 evince single-mode-phonon_20171007.pdf
995 htop
996 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/
997 ls
998 cd nanophotonics/hw/
999 ls
1000 evince Homework\ 1_2017.pdf
1001 nautilus .
1002 evince Homework\ 1_2017.pdf
1003 jupyter notebook
1004 cd electronic-wechat/
1005 npm start
1006 cd Downloads/
1007 ls
1008 sudo dpkg -i sogoupinyin_2.1.0.0086_amd64.deb
1009 sudo apt install ./sogoupinyin_2.1.0.0086_amd64.deb
1010 sudo apt-get -f install
1011 sudo dpkg -i sogoupinyin_2.1.0.0086_amd64.deb
1012 sudo apt-get -f install
1013 sudo add-apt-repository ppa:fcitx-team/nightly
1014 sudo apt-get -f install
1015 cd Downloads/
1016 history
1017 ls
1018 sudo dpkg -i sogoupinyin_2.1.0.0086_amd64.deb
1019 sudo apt-get -f install
1020 sudo apt install ./sogoupinyin_2.1.0.0086_amd64.deb
1021 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/research/manuscripts/phonon_waveguide_201709/
1022 evince single-mode-phonon
1023 evince single-mode-phonon_20171007.pdf
1024 musicbox
1025 gedit
1026 htop
1027 jupyter notebook
1028 cd Downloads/papers/
1029 ls
1030 evince Photonic_crystal_nanocavity_with_a_Q-factor_of_9_million.pdf
1031 cd Downloads/papers/
1032 ls
1033 evince Improvement_in_the_quality_factors_for_photonic_crystal_nanocavities_via_visualization_of_the_leaky_components.pdf
1034 htop
1035 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/Autumn2017/AMO/
1036 ls
1037 cd lectureNotes/
1038 ls
1039 evince Lecture\ 4\ Electric\ DC\ and\ Optical\ Fields\ lecture.pdf
1040 cd ../../../
1041 cd research/manuscripts/phonon_waveguide_201709/
1042 evince single-mode-phonon_20171007.pdf
1043 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/
1044 gedit
1045 cd Downloads/papers/
1046 ls
1047 evince Improvement_in_the_quality_factors_for_photonic_crystal_nanocavities_via_visualization_of_the_leaky_components.pdf
1048 cd ~/Downloads/
1049 ls
1050 mv LabmembershipForm.pdf /media/jwt625/Windows/Users/jwt/Documents/Stanford/research/cleanroom/
1051 cd Downloads/papers/
1052 sudo apt-get update
1053 java -version
1054 sudo apt-get install default-jre
1055 sudo apt-get install default-jdk
1056 java -version
1057 sudo apt-get install icedtea-netx
1058 clear
1059 cd Downloads/
1060 mv SNF.pdf /media/jwt625/Windows/Users/jwt/Documents/Stanford/research/cleanroom/
1061 cd /media/jwt625/Windows/Users/jwt/Documents/Stanford/research/cleanroom/
1062 ls
1063 evince SNF.pdf
1064 ls
1065 evince LabmembershipForm.pdf
1066 evince LabmembershipForm_filled.pdf
1067 evince SNF.pdf
1068 mv ~/Downloads/IntMembershipInstructions.pdf .
1069 ls
1070 mv IntMembershipInstructions.pdf SNF_IntMembershipInstructions.pdf
1071 ls
1072 evince SNF_IntMembershipInstructions.pdf
1073 evince LabmembershipForm_filled.pdf
1074 cp LabmembershipForm_filled.pdf ~/Downloads/
1075 evince LabmembershipForm_filled.pdf
1076 cp LabmembershipForm_filled.pdf ~/Downloads/
1077 evince LabmembershipForm_filled.pdf
1078 cd Downloads/
1079 ls
1080 evince LabmembershipForm_filled.pdf
1081 ls
1082 cd papers/
1083 ls
1084 evince Improvement_in_the_quality_factors_for_photonic_crystal_nanocavities_via_visualization_of_the_leaky_components.pdf
1085 evince Photonic_crystal_nanocavity_with_a_Q-factor_of_9_million.pdf
1086 htop
1087 cd Downloads/
1088 ls
1089 nautilus .
1090 javaws -version
1091 javaws badger.jnlp
1092 ls
1093 rm LabmembershipForm_filled.pdf
1094 ls
1095 history
# shutdown failed in ubuntu gui
# no shutdown or restart in /sbin/, use:
sudo apt-get install init
# and then
sudo init 0
# shutdown successfully
# after shutdown, can't boot into gui, can go to tyy
# according to "https://askubuntu.com/questions/779251/what-to-do-after-failed-to-start-load-kernel-modules", going to try
apt-get update
dpkg --configure -a
apt-get dist-upgrade
apt-get -f install
# Get error because of no internet connection
# use:
sudo dhclient eth0
# to turn on the port (or only one port will be working). Still get
# error: /run/resolvconf/interface either does not exist or is not a directory
# Then I tried
mtr website
# I got "failed to resolve host: temporary failure in name resolution"
ping 8.8.8.8 # succeed
ping 74.125.255.180 # failed
# tried
wget www.google.com
# also get "failed: Temporary failure in name resolution"
# tried
dig website
# get "connection timed out; no servers could be reached"
# try to fix the error from
sudo dhclient eth0
# try stop and start resolvconf
sudo systemctl stop resolvconf
sudo systemctl start resolvconf
# get error: Jobfor resolvconf.service failed because the control process exited with error code.
# search err message "setting up resolvconf mkdir: cannot create directory",
# found possible solution on blog http://willhaley.com/blog/resolvconf-dns-issue-after-ubuntu-xenial-upgrade/
# follow the instruction and installed resolvconf debian using ip address of host from another working computer
# After the fix,
ping www.google.com
# is working. Now got to run
apt-get update
dpkg --configure -a
apt-get -f install
apt-get dist-upgrade
# got a bunch of error that dpkg stopped
# try
apt-get -f install
# got "relocation error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference"
# use solution in "https://askubuntu.com/questions/777803/apt-relocation-error-version-glibcxx-3-4-21-not-defined-in-file-libstdc-so-6"
# dpkg throw error and left the libstdc++ pkg unconfigured, but apt-get is now working
# run:
apt-get -f install
# and:
dpkg --configure -a
# no error
# try apt-get, again get the same relocation error
# dpkg the libstdc++6 again, apt-get alive, run again:
apt-get -f install
# apt-get is trying to screw itself up by installing another version of libstdc++6.
# The incompatibility is from gcc-5-base (=5.4.0-6ubuntu1~16.04), but 5.3.1-14ubuntu2 is installed
# manually installed the required gcc package
# Everything looks good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment