-
Build two boxes and install ubuntu18.04
- box1: master -> Ubuntu 18.04 with PG 12
- static ip: 192.168.33.33
- hostname: master
- box2: slave -> Ubuntu 18.04 with PG 12
- static ip: 192.168.33.44
- hostname: slave
- box1: master -> Ubuntu 18.04 with PG 12
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
#!/bin/bash | |
## This gist contains step by step instructions to install cuda v10.1 and cudnn 7.6 in CentOS 7 | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### | |
### to verify your gpu is cuda enable check |
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
#!/bin/bash | |
## This gist contains instructions about cuda v11.2 and cudnn8.1 installation in Ubuntu 20.04 for Pytorch 1.8 & Tensorflow 2.7.0 | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### |
Make sure your branch is up to date with the master branch.
Run git rebase -i master
.
You should see a list of commits, each commit starting with the word "pick".
Make sure the first commit says "pick" and change the rest from "pick" to "squash". -- This will squash each commit into the previous commit, which will continue until every commit is squashed into the first commit.
$ sudo journalctl --no-pager -b -u docker.service
Jul 01 11:09:43 ravi-ThinkPad-X240 dockerd[28098]: unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: hosts: (from flag: [fd://], from file: [unix:///var/run/docker.sock])
Jul 01 11:09:43 ravi-ThinkPad-X240 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 11:09:43 ravi-ThinkPad-X240 systemd[1]: Failed to start Docker Application Container Engine.
Jul 01 11:09:43 ravi-ThinkPad-X240 systemd[1]: docker.service: Unit entered failed state.
Jul 01 11:09:43 ravi-ThinkPad-X240 systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 01 11:09:45 ravi-ThinkPad-X240 systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 01 11:09:45 ravi-ThinkPad-X240 systemd[1]: Stopped Docker Application Container Engine.
Jul 01 11:09:45 ravi-ThinkPad-X240 systemd[1]: docker.service: Start request repeated too
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
def applications = env.APPLICATIONS.split(",").findAll { it }.collect { it.trim() } | |
def environment = env.ENVIRONMENT | |
def version = env.VERSION | |
def jobs = [:] | |
if (applications.size() < 1) { | |
error("ERROR: APPLICATIONS must be a comma-delimited list of applications to build") | |
} | |
for (int i = 0; i < applications.size(); i++) { |
I hereby claim:
- I am ravibhure on github.
- I am ravibhure (https://keybase.io/ravibhure) on keybase.
- I have a public key ASCE8Vdzk4uezYOmUnvJJQwTjJfbQqvOYl6Eze2GFI4hZAo
To claim this, I am signing this object:
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
## | |
# WHOIS servers for new TLDs (http://www.iana.org/domains/root/db) | |
# Current as of 2017-12-10 UTC | |
## | |
\.aarp$ whois.nic.aarp | |
\.abarth$ whois.afilias-srs.net | |
\.abbott$ whois.afilias-srs.net | |
\.abbvie$ whois.afilias-srs.net | |
\.abc$ whois.nic.abc |
NewerOlder