- open git bash
- cd <path>/saide-koolivand.github.io
- git pull
- cd saide-koolivand.github.io/assets/images/work/<project folder>/
- insert images and video corresponing to the project
sudo apt-get install --no-install-recommends \ | |
cuda-10-0 \ | |
libcudnn7=7.6.5.32-1+cuda10.0 \ | |
libcudnn7-dev=7.6.5.32-1+cuda10.0 | |
sudo apt-get install cuda-toolkit-10-0 | |
conda config --set allow_conda_downgrades true;conda install conda=4.6.14 | |
conda install tensorflow-gpu -y | |
conda update tensorflow-gpu -y | |
conda install -c conda-forge opencv |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash | |
#open new terminal | |
nvm install --lts #v10.15.3 | |
ng serve |
Server: (tigervnc) | |
vncserver | |
(assign a pwd) | |
(get the url) dieter-iot-test-lnx | |
Client: (realvnc) | |
(get a realvnc client (1st create an account on realvnc site)) | |
(port forwarding tunnel from machine that runs the client) | |
"The 5903:.... arg says map 5901 on the ssh server system to 5903 on the local system |
#conda support | |
https://docs.continuum.io/anaconda/install/linux/ | |
# update | |
sudo apt-get update; sudo apt-get upgrade | |
# editors | |
sudo apt-get install geany emacs -y | |
# Wireshark | |
sudo apt-get install wireshark | |
# Zsh support | |
sudo apt-get install zsh |
msconfig.exe
and set safeboot minimal
Disable
Secure Boot; Save and rebootdisable Safe Mode
with msconfig.exe
https://stackoverflow.com/questions/375913/how-can-i-profile-c-code-running-on-linux/378024#378024 | |
valgrind --tool=callgrind ./libcurl_get_url_http2.o | |
git clone https://github.com/jrfonseca/gprof2dot.git | |
sudo apt-get install graphviz | |
python3 gprof2dot.py -f callgrind ../callgrind.out.17513 | dot -Tsvg -o ../get_url_ipc_output.svg |
update to pycharm's pip version 18
open the Terminal in pycharm and run: pip install pandas_datareader
(If it doesn't work try pip install pandas-datareader
)
(If you can't see the terminal install pycharm community edition)
(If you are unable to install packages run pycharm as administrator(sudo) and re-try)
#Q2 | |
# to denote ayymptotic time complexity use the following notation | |
# O(l) O(m) O(a) O(b) | |
# e.g. traversing through l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] is O(l) | |
#1 | |
def merge(): | |
l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
m = [15, 16, 17, 18] | |
lm = [] |