I hereby claim:
- I am vheidari on github.
- I am vheidari (https://keybase.io/vheidari) on keybase.
- I have a public key ASD53i-qUAbKhv-KgnUiP67iCyvddJsvVEuz8SL87tzLvgo
To claim this, I am signing this object:
Afghanistan | |
Albania | |
Algeria | |
Andorra | |
Angola | |
Antigua & Deps | |
Argentina | |
Armenia | |
Australia | |
Austria |
download an image from docker hub : | |
docker pull hello-world | |
------------------------------------- | |
running or creating a process or container from an image: | |
docker run nginx | |
------------------------------------- | |
show list of process: | |
docker ps | |
show list of latests process with -a [archive] switch |
[Command] : | |
1. sudo apt-get install dnsmasq | |
2. sudo apt-get install network-manenger | |
---------------------------------------------------------- | |
[Solution[one]] : | |
1. nano /etc/dnsmasq.conf | |
2. add dns server ip in dnsmasq.conf : | |
-ex :server=ipaddress | |
server=8.8.8.8 | |
server=8.1.8.1 |
I hereby claim:
To claim this, I am signing this object:
import os | |
import shutil | |
fileNames = ["one", "two", "three"] | |
i = 1 | |
for fileName in fileNames: | |
srcName = "./" + fileName | |
destName = "./dest/" + str(i) + "." + fileName |