DEL _element_
ipfs daemon
ipfs pin RESOURCE_HASH
ipfs name publish FOLDER_HASH
Resources:
open ~/.zshrc
https://github.com/ddollar/heroku-accounts
avit
gnzh
This file contains 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
#!/usr/bin/env bash | |
pm2 stop web_server | |
certbot renew --standalone --preferred-challenges http | |
pm2 start web_server |
Install local:
bash <(curl -fsSL https://raw.githubusercontent.com/davrodpin/mole/master/tools/install.sh)
# or specific version
wget -c https://raw.githubusercontent.com/p1nox/mole/install_spec_version/tools/install.sh -O mole.sh
bash mole.sh v0.5.0 && rm -f mole.sh
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
docker run -it -p 3000:3000 -v $(pwd):/home/ubuntu/code ubuntu:18.04 bash
# dependencies
sudo apt-get update
sudo apt-get install sudo curl wget htop vim git
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
###### local settings
git remote add dokku [email protected]:my_api
###### python django rest framework
# apps
dokku apps:create my_api
apt-get update
apt-get -y install wget
wget -qO- https://get.docker.com/ | sh
sudo apt-get update
sudo apt-get install docker.io
docker version
docker ps -a
This file contains 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
# version 11.3.0-465.19.01 | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin | |
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 | |
wget https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda-repo-ubuntu2004-11-3-local_11.3.0-465.19.01-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu2004-11-3-local_11.3.0-465.19.01-1_amd64.deb | |
sudo apt-key add /var/cuda-repo-ubuntu2004-11-3-local/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get -y install cuda |