This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:BB713929B02F3CE81B84CD7554261991535AB4CB]
| <?php | |
| declare(strict_types=1); | |
| /** | |
| * Standard response for successful HTTP requests. | |
| * The actual response will depend on the request method used. | |
| * In a GET request, the response will contain an entity corresponding to the requested resource. | |
| * In a POST request, the response will contain an entity describing or containing the result of the action. | |
| */ | |
| define('HTTP_STATUS_OK', 200); |
| /* | |
| * SPDX-License-Identifier: GPL-3.0-or-later | |
| * | |
| * Licensed under the GNU General Public License, Version 3.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at: | |
| * | |
| * https://www.gnu.org/licenses/gpl-3.0.txt | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/usr/bin/env python3 | |
| import sys | |
| import requests | |
| from termcolor import colored | |
| from requests.exceptions import JSONDecodeError | |
| from typing import Dict, Union | |
| def make_api_request(word: str) -> Union[Dict, None]: | |
| url = f"https://api.dictionaryapi.dev/api/v2/entries/en/{word}" |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:BB713929B02F3CE81B84CD7554261991535AB4CB]
| <IfModule mod_ssl.c> | |
| <VirtualHost *:443> | |
| # Basic config | |
| ServerName example.org | |
| ServerAdmin [email protected] | |
| DirectoryIndex index.php index.html /index.php | |
| # This is a directory where wordpress is installed. | |
| # Depending on the operating system, either http or www-data | |
| # must have ownership and r,w permissions. |
| #!/usr/bin/env python3 | |
| import sys | |
| from datetime import date | |
| def parse_umcn_dob(dob: str) -> date: | |
| day = int(dob[0:2]) | |
| month = int(dob[2:4]) | |
| year = int(f"2{dob[4:7]}") if dob[5] == "0" else int(f"1{dob[4:7]}") |