Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
# generate server.xml with the following command: | |
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
# run as follows: | |
# python simple-https-server.py | |
# then in your browser, visit: | |
# https://localhost:4443 | |
import BaseHTTPServer, SimpleHTTPServer | |
import ssl |
TFC - Temp File Cleaner | |
A small utility that will clean out all the folders on your computer that house temporary files. | |
http://www.bleepingcomputer.com/download/tfc/ | |
*** | |
ADW Cleaner | |
AdwCleaner is a program that searches for and deletes Adware, Toolbars, | |
Potentially Unwanted Programs (PUP), and browser Hijackers from your computer. |
This script makes it easier to copy Gnome settings and extensions from one pc to the other. It supports python>=3.5.
To use it, download it, then run python3 migrate_gnome_settings.py --export-settings
to create a tar.gz file with all the settings.
Then, on your new system, copy the script and the gzip to your user's home directory and run python3 migrate_gnome_settings.py --import-settings
.
For now, the script migrates:
import http.server | |
import http.cookiejar | |
import io | |
import socket | |
from http import HTTPStatus | |
import ssl | |
import os | |
import zlib | |
server_address = ('0.0.0.0', 4443) |