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
#!/bin/env python3 | |
# Thanks Kafli! | |
import socketio | |
import requests | |
import datetime | |
import getopt | |
import sys | |
import time | |
class User: |
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
#!/usr/bin/env python3 | |
import cgi | |
import os.path | |
import sys | |
import math | |
import mistune | |
site_name = "4x13" | |
blog_title = "wlog" | |
pages_dir = "./wlog-pages/" |
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 | |
def content(): | |
print("""<head> | |
<title>4x13 :: me</title> | |
<link rel="stylesheet" type="text/css" href="/style.css"> | |
</head> | |
<body style="width:250px"> | |
<h1>me</h1><a href="/"><img src="/me.png"></a> |
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 csv | |
def head(): | |
print("""<html> | |
<head><title>4x13 :: game</title> | |
<link rel="stylesheet" type="text/css" href="/style.css"></head> | |
<body><h1>game</h1> | |
<a href="/"><img src="/game.png"></a><br> | |
<hr><center><table> | |
<tr><td colspan="3"><b>winners</b>: <i>game has no losers</i> |