😶🌫️
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
### Keybase proof | |
I hereby claim: | |
* I am krazybean on github. | |
* I am juanito (https://keybase.io/juanito) on keybase. | |
* I have a public key ASBDeibTaFfxU8mHQsyAPx8ylQlZWgi_YX7xZoF3zyFJvAo | |
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
#user nobody; | |
worker_processes 5; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
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
import sys | |
import random | |
import smtplib | |
class Gmail(object): | |
""" | |
Verify Gmail email box exists | |
""" |
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
import sys | |
import time | |
import urllib | |
import requests | |
class Yahoo(object): | |
""" | |
Hokey way of Yahoo validation since their SMTP check returns | |
250 for every request. |
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
# -*- coding: utf-8 -*- | |
import rethinkdb as r | |
from time import sleep | |
from threading import Thread | |
import prctl | |
import datetime | |
import commands | |
RETHINK_HOST = 'rethink_vm_host' | |
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
#!/usr/bin/env python | |
import sys | |
import commands | |
command_list = "sudo vzlist -aH | awk '{print $1}'" | |
vzid = commands.getoutput(command_list) | |
for vz in vzid.split('\n'): | |
print "VZID: {0}".format(vz) | |
command_ext_storage = """sudo cat /etc/vz/conf/{vz}.ext_storage""".format(vz=vz) |