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 time | |
import os | |
class MaquinaDeCafe: | |
#Diccionario con los tipos de café disponible | |
cafes = { | |
0: {'nombre': 'Café Capuccino', 'precio': 1000}, | |
1: {'nombre': 'Café Expresso', 'precio': 2000} | |
} |
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
*/5 * * * * service mysql status > /dev/null || service mysql start |
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
#Folders | |
find . -type d -exec chmod -R 0755 {} \; | |
#Files | |
find . -type f -exec chmod -R 0644 {} \; |