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 requests | |
| import logging | |
| SITE_CHECKUP = 'https://www.google.com/search?q=site%3A' | |
| ERR_MESSAGES = ( | |
| 'No se han encontrado resultados', | |
| 'did not match', | |
| ) | |
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
| # pointerish_utils.py | |
| # Useful functions | |
| import math | |
| def count_digits(number): | |
| """ | |
| Returns an integer representing how many digits | |
| the input has. |
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/python3 | |
| import os | |
| import hashlib | |
| __author__ = 'Josias Alvarado' | |
| #This code finds duplicated files by opening the file in binary mode. | |
| #Only exact files will get deleted. |
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
| set number | |
| set ruler | |
| set laststatus=2 | |
| set tabstop=4 | |
| set softtabstop=4 | |
| set shiftwidth=4 | |
| set textwidth=79 | |
| set expandtab | |
| set autoindent | |
| set fileformat=unix |