https://console.aws.amazon.com/quickstart-website
Add a name and select example website.
To get the S3 bucket name that was created: Click Manage files in Amazon S3.
- Click
Buy domain
| import piexif | |
| import os | |
| from datetime import datetime, timedelta | |
| BASE_DIR = os.path.dirname(os.path.abspath(__file__)) | |
| # directory that contains the image files we want to change | |
| IMAGE_DIR = os.path.join(BASE_DIR, "YOUR_IMAGE_DIR") | |
| # offset applied to current date on every image file | |
| OFFSET = timedelta(days=1394, hours=1) |
| import io | |
| import os | |
| import tarfile | |
| from urllib.request import urlopen | |
| def get_url(name: str): | |
| key = os.getenv('GEOLITE_LICENSE_KEY', '') | |
| assert key, 'GEOLITE_LICENSE_KEY is missing' | |
| return f'https://download.maxmind.com/app/geoip_download?edition_id={name}&license_key={key}&suffix=tar.gz' |
https://console.aws.amazon.com/quickstart-website
Add a name and select example website.
To get the S3 bucket name that was created: Click Manage files in Amazon S3.
Buy domain| #!/bin/sh | |
| #replace [##] with the correct value | |
| #Alias of the certificate | |
| NAME=[##] | |
| #The current domain registered in letsencrypt | |
| DOMAIN=[##] | |
| #The keystore password, default is (changeit) | |
| KEYSTOREPW=[##] |
| /* http://meyerweb.com/eric/tools/css/reset/ | |
| v2.0 | 20110126 | |
| License: none (public domain) | |
| */ | |
| html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font: inherit; |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.Modifier; | |
| import java.sql.BatchUpdateException; | |
| import java.sql.Connection; | |
| import java.sql.ResultSet; | |
| import java.sql.SQLException; | |
| import java.sql.Statement; | |
| import java.util.ArrayList; | |
| /** |