pip install pandas numpy matplotlib seaborn jupyter sqlalchemy pymysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Array of target directories to backup | |
TARGETS=("/path/to/first_folder" "/path/to/second_folder" "/path/to/third_folder") | |
# Destination directory to store the backup | |
DESTINATION="/path/to/backup_folder" | |
# Retention period in days | |
RETENTION_DAYS=7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
ethernets: | |
ens3: | |
addresses: | |
- 10.0.0.5/24 | |
routes: | |
- to: default | |
via: 10.0.0.1 | |
nameservers: | |
addresses: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt update | |
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | |
sudo usermod -aG docker $USER | |
echo "Installation finished, logout and relogin, then run docker run hello-world" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 -d mysql/mysql-server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker rmi $(docker images -f "dangling=true" -q) | |
docker container rm $(docker container ls -aq) | |
Stop all running containers | |
docker stop $(docker ps -aq) | |
Remove all containers | |
docker rm $(docker ps -aq) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install @coreui/coreui @coreui/coreui-plugin-chartjs-custom-tooltips @coreui/icons @coreui/react availity-reactstrap-validation bootstrap chart.js classnames core-js enzyme enzyme-adapter-react-16 flag-icon-css font-awesome formsy-react formsy-react-components node-sass prop-types react react-app-polyfill react-chartjs-2 react-dom react-moment react-redux react-router-config react-router-dom react-test-renderer reactstrap redux redux-thunk simple-line-icons | |
npm install --save-dev react-scripts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting started with Jekyll on Fedora | |
$ sudo dnf install rubygems rubygem-bundler ruby-devel | |
$ gem install jekyll bundler json | |
$ jekyll new myblog | |
At this point, we need to add json to our Gemfile: | |
$ cd myblog | |
$ vim Gemfile |
Classic Networks
LeNet-5: LeCun et al, "Gradient-Based Learning Applied to Document Recognition": http://yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf
AlexNet: Krizhevsky et al, "ImageNet Classification with Deep Convolutional Neural Networks": https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf
VGG-16: Simonyan et al, "Very Deep Convolutional Networks for Large-Scale Image Recognition": https://arxiv.org/pdf/1409.1556.pdf
Resnets
NewerOlder