These instructions are for StyleGAN2 but may work for the original version of StyleGAN.
Essential Reading:
# Delete all Cloudflare images | |
# Useful if migrating to a different images provider | |
# Unfortunately Cloudflare still doesn't offer bulk delete | |
import requests | |
# Replace with your actual account and authorization details | |
account_identifier = "youraccountid" | |
api_token = "yourapitokenhere" |
''' | |
Reference repo: https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/blob/master/generate_tfrecord.py | |
It's necessary to install the tensorflow object detection first | |
''' | |
import tensorflow as tf | |
import pandas as pd | |
import argparse | |
import logging | |
import io |
import dhash | |
from PIL import Image | |
import shutil | |
import os | |
path1 = "images/" | |
path2 = "out/" | |
listing = os.listdir(path1) | |
for file in listing: |
from PIL import Image, IptcImagePlugin | |
import os | |
from urllib.parse import urlparse | |
path1 = "./out/" | |
listing = os.listdir(path1) | |
for file in listing: | |
im = Image.open(path1 + file) | |
iptc = IptcImagePlugin.getiptcinfo(im) |
These instructions are for StyleGAN2 but may work for the original version of StyleGAN.
Essential Reading:
When implementing a JSON API, you may be required to modify Laravel's standard JSON API Resource meta section, in particular pagination.
Laravel's default JSON pagination looks like this:
"links":{
"first": "http://example.com/pagination?page=1",
"last": "http://example.com/pagination?page=1",
"prev": null,
<span> | |
<select name="month"> | |
<option value="1">January</option> | |
<option value="2">February</option> | |
<option value="3">March</option> | |
<option value="4">April</option> | |
<option value="5">May</option> | |
<option value="6">June</option> | |
<option value="7">July</option> | |
<option value="8">August</option> |
https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/ https://github.com/woocommerce/woocommerce/wiki/Database-Description#table-woocommerce_tax_rates
The tax calculation for tax-inclusive prices is:
1. Download or clone the https://github.com/derekphilipau/LogViewer | |
2. Create a new laravel installation. Generate application key. | |
3. In composer.json, add a filesystem repository: | |
``` | |
"repositories": [ | |
{ | |
"type": "path", |