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
Acrescente as linhas abaixo no arquivo: ~/.zshrc | |
$ vi ~/.zshrc | |
alias k="kubectl" | |
alias kapply="kubectl apply -f" | |
alias kdel="kubectl delete" | |
alias kpd="kubectl describe pod" | |
alias kexec="kubectl exec -it" | |
alias klogs="kubectl logs" |
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
#!/usr/bin/env python | |
''' | |
DEPENDENCIES: | |
$ brew install ffmpeg | |
$ brew install imagemagick | |
$ python ./mov2gif.py input.mov output.gif 15 | |
''' |
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
# !/usr/bin/env python | |
# -- coding: utf-8 -- | |
# dependências | |
import requests | |
import urllib3 | |
import certifi | |
arq = open('lista_get_com_host.csv', 'r') # arquivo com a lista de urls | |
arq_200 = open('200_ok.csv', 'w') |