Skip to content

Instantly share code, notes, and snippets.

@za
za / server.py
Created August 26, 2019 08:10 — forked from mdonkers/server.py
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
class S(BaseHTTPRequestHandler):
sudo DISPLAY=:0 dconf reset -f /org/compiz/
setsid unity
https://ubuntuforums.org/showthread.php?t=2231620
forward +628158990017
Before going to sleep, I am trying to implement Python code checker. I tried pylint-django, pylint and then finally prospector.
I am having this ERROR and still can't solve it yet
```
File "/home/za/dev/github/za/prospector101/venv/lib/python3.4/site-packages/_markerlib/markers.py", line 113, in marker_fn
return eval(compiled_marker, environment)
File "<environment marker>", line 1, in <module>
NameError: name 'implementation_name' is not defined
```
playback http://xoxzo.github.io/yoda.mp3
@za
za / for kids
Created February 15, 2018 10:49
http://www.busythings.co.uk/families/subscribe
https://www.macworld.co.uk/how-to/ipad/how-activate-old-ipad-after-update-3638936/
@za
za / say-ja.txt
Last active January 3, 2018 05:03
say ja "おはようございます"
say en "Hello! Happy new year 2018!"
playback http://xoxzo.github.io/command.txt