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
<?php | |
namespace Spatie\Tags; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Database\Eloquent\Collection as DbCollection; | |
use Illuminate\Database\Eloquent\Model; | |
use Spatie\EloquentSortable\Sortable; | |
use Spatie\EloquentSortable\SortableTrait; | |
use Spatie\Translatable\HasTranslations; |
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
while True: | |
print("Options:") | |
print("Enter 'add' to add two numbers") | |
print("Enter 'subtract' to subtract two numbers") | |
print("Enter 'multiply' to multiply two numbers") | |
print("Enter 'divide' to divide two numbers") | |
print("Enter 'quit' to end the program") | |
user_input = input(": ") | |
if user_input == "quit": |
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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls | |
# http://wiki.nginx.org/QuickStart | |
# http://wiki.nginx.org/Configuration | |
# | |
# Generally, you will want to move this file somewhere, and start with a clean | |
# file but keep this around for reference. Or just disable in sites-enabled. | |
# |