1 .Using wget
!wget http://your_domain/your_file.zip
- Mounting Google Drive locally
drive.mount(‘/content/gdrive’)
| from mpi4py import MPI | |
| comm = MPI.COMM_WORLD | |
| rank = comm.Get_rank() | |
| print('My rank is ',rank) |
| !apt-get --purge remove cuda nvidia* libnvidia-* | |
| !dpkg -l | grep cuda- | awk '{print $2}' | xargs -n1 dpkg --purge | |
| !apt-get remove cuda-* | |
| !apt autoremove | |
| !apt-get update | |
| !wget https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64 -O cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb | |
| !dpkg -i cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb | |
| !apt-key add /var/cuda-repo-9-2-local/7fa2af80.pub | |
| !apt-get update |
| curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - | |
| sudo apt install nodejs |
1 .Using wget
!wget http://your_domain/your_file.zip
drive.mount(‘/content/gdrive’)
| def searchIndex(self,arr,target): | |
| low,high=0,len(arr)-1 | |
| while low<=high: | |
| mid=low+int((high-low)/2) | |
| if arr[mid][1]>target: | |
| high=mid-1 | |
| else: | |
| low=mid+1 | |
| return max(0,low-1) | |
| package learnmavenone; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.web.servlet.mvc.Controller; | |
| import org.springframework.web.servlet.view.InternalResourceViewResolver; | |
| @Configuration | |
| public class ApplicationContextConfiguration { | |
| <?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>Label</key> | |
| <string>homebrew.mxcl.jenkins-lts</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/opt/openjdk@11/bin/java</string> | |
| <string>-Dmail.smtp.starttls.enable=true</string> |