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
def get_number(question): | |
number = None | |
while number == None: | |
number_input = input(question) | |
try: | |
number = int(number_input) | |
return number | |
except ValueError: | |
print(f"ERROR: '{number_input}' is not a valid number") |
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
http://bramp.github.io/js-sequence-diagrams/ | |
Note over Router: GET /hello-world | |
Router-->Controller: URI Request | |
Note over Controller: helloWorld() method | |
Controller->Model: Request data | |
Model->Controller: Return data | |
Controller->View: Pass data to view | |
Note over View: hello-world.tpl | |
View->Controller: Rendered view |
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
<?php | |
ini_set('display_errors',1); | |
error_reporting(E_ALL); | |
class counter{ | |
public static $intPHP = 0; | |
public static $intJS = 0; | |
public static $intCSS = 0; |