thghosting-data-centers

Crates.iothghosting-data-centers
lib.rsthghosting-data-centers
version0.1.1
sourcesrc
created_at2021-12-16 09:55:10.434658
updated_at2022-11-26 12:04:13.335521
descriptionTHG Hosting Data Centers
homepagehttps://github.com/bk-rs/thghosting-rs
repositoryhttps://github.com/bk-rs/thghosting-rs
max_upload_size
id499100
size43,010
vkill (vkill)

documentation

https://docs.rs/thghosting-data-centers

README

thghosting-data-centers

Dev

curl -L https://www.ingenuitycloudservices.com/network/data-centers/ -o tests/data-centers.html
sudo pacman -S js-beautify

curl -sS https://thg-hosting-master100tbcorp.netdna-ssl.com/views/js/production-stable.min.js?v=1667413195 \
    | js-beautify \
    | sed -n '/^            dataCentres: \[{$/,/^            }\]$/p' \
    | sed '1i{' \
    | sed '$a}' \
    | node -r fs -e 'console.log(JSON.stringify(eval(fs.readFileSync("/dev/stdin", "utf-8")), null, 4));' \
    > tests/data_centers.json
Commit count: 18

cargo fmt