Easy example on how to put marker on a d3.js map.
You got 2 options:
- using d3.geo.path() which does all the work for you
- using svg circles and translating them via projection(d.geometry.coordinates)
curl -JL --remote-name -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://civitai.com/api/download/models/XXX |
Easy example on how to put marker on a d3.js map.
You got 2 options:
Currently you will need to hotfix/manually update some packages in order to get the performance you deserve when using a lovelace gpu (4080/4090/etc)
#!/bin/bash | |
# Path to the directory containing folders with images | |
base_dir="/home/jovyan/stable-diffusion-webui/outputs/txt2img-images" | |
# Path to the ExifTool executable | |
exiftool_path="/home/jovyan/Image-ExifTool-12.65/exiftool" | |
# Loop through each folder in the base directory | |
for folder in "$base_dir"/*; do |
import os | |
from PIL import Image | |
from PIL import ExifTags | |
import glob | |
def convert_png_to_jpg(png_path, jpg_path): | |
png_files = glob.glob(os.path.join(png_path, '**/*.png'), recursive=True) #[:1] | |
# print(png_files) | |
for png_file in png_files: |
############### | |
# AUTHOR: Szabolcs Hornyak / design85@gmail.com | |
# https://szabolcs.eu/2020/12/29/prusaslicer-sw-x1-genius/ | |
############### | |
## Artillery Hornet printer profile is based on PR https://github.com/slic3r/slic3r-profiles/pull/14 created by https://github.com/newbeetle | |
# Print profiles for the Artillery printers. | |
[vendor] |
I am attesting that this GitHub handle cpietsch is linked to the Tezos account tz1X4sxpgg5X6aag4Mf1TmdWTrDbx3jBFwyT for tzprofiles | |
sig:edsigttRYKYY5rFmaLSW2S6zGJJC5dUcF7LVy24fR4P5kvQ3JVxgXfftChT4oH8FcbQaehLAhGYdPcYcEyRy8jDLDgF7WFqbyDN |
jq -ncM "$(cat ./input.jq)" | ./e3dc -splitrequests | jq -cM "$(cat ./output.jq)" | jq '.result.DB_HISTORY_DATA + {"date":{".sv": "timestamp"}}' | curl -X POST -d @- https://XXXX.europe-west1.firebasedatabase.app/history.json | |
sources: | |
- https://knx-user-forum.de/forum/%C3%B6ffentlicher-bereich/knx-eib-forum/diy-do-it-yourself/1614158-neue-library-f%C3%BCr-rscp-kommunikation-mit-e3dc-speicher-inkl-kommandozeilen-utility |
wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz | |
tar xvfz jq-1.6.tar.gz | |
cd jq-1.6/ | |
autoreconf -vfi | |
modules/oniguruma | |
autoreconf -vfi | |
cd ../.. | |
./configure --with-oniguruma=builtin | |
make -j8 | |
sudo make install |
#!/bin/sh | |
maxTemp="+64" | |
while true; do | |
currTemp=$(sensors | awk '/junction/ {print $2}' | cut -d"." -f1) | |
if [[ $currTemp > $maxTemp ]]; then | |
shutdown now | |
echo "too high" | |
fi |