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 os | |
class Config(object): | |
DEBUG = True | |
TESTING = False | |
SECRET_KEY = os.environ.get('flasksecretkey') or 'this-should-be-different-and-a-secret' |
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
from project import app | |
if __name__ == '__main__': | |
app.run() |
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
*.DS_Store | |
# Hide virtualenv | |
venv/ | |
# Hide compiled python files | |
*.pyc | |
__pycache__/ |
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
public class Four4s{ | |
public static void main(String[] args){ | |
System.out.println("Four 4s challenge\n"); | |
System.out.println(44-44);//0 | |
System.out.println(44/44);//1 | |
System.out.println((4/4)+(4/4));//2 | |
System.out.println((4+4+4)/4);//3 | |
System.out.println(((4-4)*4)+4);//4 | |
System.out.println((44)/(4+4));//5 | |
System.out.println(((4+4)/(4))+4);//6 |