You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'
.
Consider something like:
#!/usr/bin/env python3 | |
from __future__ import print_function | |
from tempfile import TemporaryFile | |
from binascii import hexlify | |
from ctypes import * | |
class StructHelper(object): | |
def __get_value_str(self, name, fmt='{}'): | |
val = getattr(self, name) |
#OpenVPN 2.4 no longer accepts CRLs who's nextUpdate field lies in the past. | |
# | |
# me@antoniocampos.net 2017 | |
# no need for any change at the client side | |
# you may want to increase the CRL EXPIRE period | |
# just increase the value default_crl_days = ?? in the openssl.cnf | |
# tested with Debian 9 and OpenVPN 2.4 | |
cd /etc/openvpn/2.0/ | |
export KEY_CN="My VPN Server" | |
export KEY_OU="IT Dep" |
#!/usr/bin/env python3 | |
""" | |
License: MIT License | |
Copyright (c) 2023 Miel Donkers | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer |
#!/bin/bash | |
#set -x | |
source .client_config | |
usage="$0 report [START DATE (YYMMDD)] [END DATE (YYMMDD)] \n | |
or \n $0 propfind \n | |
or \n $0 get [ics] \n" |