see https://github.com/angular-translate/angular-translate.
- language files in json format in i18n/ directory. example en.json:
{ "HOME.TITLE": "Hello World!", "HOME.BANNER_TEXT": "Lorem ipsum dolor sit amet"
}
name: designing-prompts-automatic111-model-zoo | |
version: v4 (9 Oct 2023) | |
description: "Resources for the 'Designing Prompts Workshop': stable diffusion models, embeddings, and Automatic111 installation with extensions." | |
author: Benedikt Groß | |
aliases: | |
image_generator: &image_generator /workspace/ | |
models: &models /workspace/stable-diffusion-webui/models/Stable-diffusion/ | |
controlnet: &controlnet /workspace/stable-diffusion-webui/models/ControlNet/ | |
embeddings: &embeddings /workspace/stable-diffusion-webui/embeddings/ |
https://www.istockphoto.com/portfolio/zahidosmanov?assettype=image&page=13&sort=best | |
https://www.shutterstock.com/image-vector/grasshopper-icon-vector-1094353553 | |
https://www.shutterstock.com/image-vector/victory-hand-icon-vector-illustration-1095069848 | |
https://www.shutterstock.com/image-vector/hamster-icon-vector-1093247585\ |
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://benedikt-gross.de/log/ |
#!/bin/bash | |
BASEDIR="$( dirname "$0" )" | |
cd "$BASEDIR" | |
echo "This is where we are :" | |
pwd | |
echo "Starting webserver" | |
open "http://localhost:8000" && python -m SimpleHTTPServer 8000 |
function long2tile(lon,zoom) { | |
return (((lon+180)/360*Math.pow(2,zoom))); | |
} | |
function lat2tile(lat,zoom) { | |
return (((1-Math.log(Math.tan(lat*Math.PI/180) + 1/Math.cos(lat*Math.PI/180))/Math.PI)/2 *Math.pow(2,zoom))); | |
} | |
function tile2long(x,z) { | |
return (x/Math.pow(2,z)*360-180); | |
} | |
function tile2lat(y,z) { |
function map(value, istart, istop, ostart, ostop) { | |
return ostart + (ostop - ostart) * ((value - istart) / (istop - istart)); | |
}; |
see https://github.com/angular-translate/angular-translate.
{
"HOME.TITLE": "Hello World!",
"HOME.BANNER_TEXT": "Lorem ipsum dolor sit amet"
}