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 rorosha on github. | |
* I am roshi (https://keybase.io/roshi) on keybase. | |
* I have a public key ASBrfjSnZ10tSWWJwuNUhiRNCYXierkmLjaTdS6ZV12MyAo | |
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
#!/bin/bash | |
# This script checks your locally downloaded files to see if they pass | |
# the Checksums [0] and ISO Size [1] testcases. | |
# | |
# [0] https://fedoraproject.org/wiki/QA:Testcase_Mediakit_Checksums | |
# [1] https://fedoraproject.org/wiki/QA:Testcase_Mediakit_ISO_Size | |
# | |
# Author: Mike Ruckman (roshi AT fedoraproject.org) | |
# Date: 2014-10-08 |
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
#!/bin/sh | |
# | |
# Script to migrate a cloud instance (cattle) to a server (pet). | |
# Ported from the cloudtoserver [0] written in python. | |
# | |
# [0] https://github.com/fedora-cloud/cloudtoserver | |
# | |
# Author: Mike Ruckman (roshi AT fedoraproject.org) | |
convertToServer () { |
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
def email_check(email): | |
"""Checks to make sure user inputted email actually conforms to what an | |
email should look like. Returns True if everything looks right.""" | |
try: | |
pieces = email.split('@') | |
if ' ' not in pieces[0] and '.' in pieces[1]: | |
return True | |
except: | |
return False |