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
135207 columns/static/img/ggj/c1.png | |
122010 columns/static/img/ggj/c2.png | |
144015 columns/static/img/ggj/c3.png | |
121790 sites/management/commands/invitation_code.txt | |
121795 sites/management/commands/invitation_code.txt | |
121800 sites/management/commands/invitation_code.txt | |
121805 sites/management/commands/invitation_code.txt | |
210125 sites/static/img/1.jpg | |
131079 sites/static/img/2.jpg | |
109902 sites/static/img/2011-ggj/daminghu.png |
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 python | |
# Attribution: https://stackoverflow.com/questions/21956683/enable-access-control-on-simple-http-server | |
try: | |
# Python 3 | |
from http.server import HTTPServer, SimpleHTTPRequestHandler, test as test_orig | |
import sys | |
def test (*args): | |
test_orig(*args, port=int(sys.argv[1]) if len(sys.argv) > 1 else 8000) |
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/bash | |
parse_and_echo() { | |
echo "\$1:$1 \$2:$2 \$3:$3 \$4:$4" | |
echo newline | |
} | |
export -f parse_and_echo | |
# `_' is placeholder for $0 |
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/bash | |
## List all manually installed packages on a debian/ubuntu system | |
## manually installed means: | |
## 1. not pre-installed with the system | |
## 2. not marked auto-installed by apt (not dependencies of other | |
## packages) | |
## Note: pre-installed packages that got updated still needs to be | |
## filtered 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
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
OlderNewer