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 random | |
name_list = None | |
with open("names.txt") as name_file: | |
name_list = [n.strip() for n in name_file.readlines()] | |
if len(name_list) % 2: | |
exit("Number of Players is not Even") | |
with open("out_names.txt", "w") as out: |
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 | |
$this->log($data); | |
Cakelog::write('error', $data); | |
// If $data is an array | |
Cakelog::write('error', print_r($data, true)); | |
?> |
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
server { | |
listen 80; | |
server_name subdomain.domain.net; | |
access_log /path/to/access.log; | |
error_log /path/to/error.log; | |
location / { | |
proxy_pass http://127.0.0.1:8001/; | |
proxy_redirect off; |
NewerOlder