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 -d --name registry -p 5000:5000 -e REGISTRY_HTTP_TLS_CERTIFICATE="/certs/some.crt" -e REGISTRY_HTTP_TLS_KEY="/certs/some.key" -e REGISTRY_AUTH=htpasswd -e REGISTRY_AUTH_HTPASSWD_PATH="/auth/htpasswd" -e REGISTRY_AUTH_HTPASSWD_REALM="Registry Realm" -v "/registry/images:/var/lib/registry" -v "$(pwd)/certs:/certs" -v "$(pwd)/auth:/auth" registry:2 |
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
| https://habr.com/ru/company/itsumma/blog/471858/ | |
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
| https://habr.com/ru/post/308660/ | |
| https://pycoder.ru/make-simple-spider-scrapy/ |
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
| https://aws.amazon.com/devops/what-is-devops/ | |
| #kube patterns | |
| https://www.magalix.com/blog/tag/kubernetes-pattern?utm_source=telegram.me&utm_medium=social&utm_campaign=poleznaya-podborka-statey-v-bloge-magalix | |
| #guide | |
| https://github.com/Tikam02/DevOps-Guide/blob/master/Interview/devops-notes.md | |
| # sre conf 2019 | |
| https://www.youtube.com/user/USENIXAssociation/videos |
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 gitlab-ci-multi-runner run --user=gitlab-runner --working-directory=/home/gitlab-runner/ & |
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
| config get save | |
| config set save "" |
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
| package main | |
| import ( | |
| "log" | |
| "log/syslog" | |
| "fmt" | |
| "strconv" | |
| "strings" | |
| ) |
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
| import logging | |
| import logging.handlers | |
| import logging.config | |
| #logger = logging.getLogger('myLogger') | |
| #logger.setLevel(logging.DEBUG) | |
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
| class Solution: | |
| def twoSum(self, nums: List[int], target: int) -> List[int]: | |
| for i in range(len(nums)): | |
| for k in range(len(nums)): | |
| if ((nums[i] + nums[k]) == target) and (i != k): | |
| return([i,k]) | |
| elif (len(nums) == 2) and ((nums[i] + nums[i+1]) == target): | |
| return([i,k+1]) | |
| def stringToIntegerList(input): |
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
| ip link add name docker0 type bridge | |
| ip addr add dev docker0 172.17.0.1/16 |