Skip to content

Instantly share code, notes, and snippets.

View ujibang's full-sized avatar
💭
making RESTHeart delightful

Andrea Di Cesare ujibang

💭
making RESTHeart delightful
View GitHub Profile
@ujibang
ujibang / h2023.sh
Last active December 31, 2022 12:42
echo "IF8gICBfICAgIF8gICAgX19fXyAgX19fX19fICAgX18gIF9fX18gICBfX18gX19fXyAgX19fX18KfCB8IHwgfCAgLyBcICB8ICBfIFx8ICBfIFwgXCAvIC8gfF9fXyBcIC8gXyBcX19fIFx8X19fIC8KfCB8X3wgfCAvIF8gXCB8IHxfKSB8IHxfKSBcIFYgLyAgICBfXykgfCB8IHwgfF9fKSB8IHxfIFwKfCAgXyAgfC8gX19fIFx8ICBfXy98ICBfXy8gfCB8ICAgIC8gX18vfCB8X3wgLyBfXy8gX19fKSB8CnxffCB8Xy9fLyAgIFxfXF98ICAgfF98ICAgIHxffCAgIHxfX19fX3xcX19fL19fX19ffF9fX18vCgogX19fX18gX19fXyAgIF9fXyAgX18gIF9fCnwgIF9fX3wgIF8gXCAvIF8gXHwgIFwvICB8CnwgfF8gIHwgfF8pIHwgfCB8IHwgfFwvfCB8CnwgIF98IHwgIF8gPHwgfF98IHwgfCAgfCB8CnxffCAgIHxffCBcX1xcX19fL3xffCAgfF98CgogX19fXyAgIF9fXyAgX19fX18gX19fX18gX19fIF8gICBfIF9fX18gX19fX18gX19fIF9fX18gICAgXyAgX19fX18gX19fX18KLyBfX198IC8gXyBcfCAgX19ffF8gICBffF8gX3wgXCB8IC8gX19ffF8gICBffF8gXy8gX19ffCAgLyBcfF8gICBffCBfX19ffApcX19fIFx8IHwgfCB8IHxfICAgIHwgfCAgfCB8fCAgXHwgXF9fXyBcIHwgfCAgfCB8IHwgIF8gIC8gXyBcIHwgfCB8ICBffAogX19fKSB8IHxffCB8ICBffCAgIHwgfCAgfCB8fCB8XCAgfF9fXykgfHwgfCAgfCB8IHxffCB8LyBfX18gXHwgfCB8IHxfX18KfF9fX18vIFxfX18vfF98ICAgICB8X3wgfF9fX3xffCBcX3xfX19fLyB8X3wgfF9fX1
@ujibang
ujibang / go.sh
Last active June 20, 2022 16:53
One-liner to clone the RESTHeart Plugin project skeleton, download, install RESTHeart, build and deploy the plugin, and invoke it!
git clone --depth 1 git@github.com:SoftInstigate/restheart-plugin-skeleton.git && \
cd restheart-plugin-skeleton && \
./bin/rh.sh -p microd && \
sleep 5 && \
curl localhost:8080/srv
## RESTHeart Security Configuration File.
---
#### Listeners
# Listeners allow to specify the protocol, ip, port and to use.
# The supported protocols are: http and https.
# You can setup a listener per protocol (up to 2).
# WARNING: Using the http listener is not secure with basic authentication:
# credentials can be sniffed by a man-in-the-middle attack.
@ujibang
ujibang / restheart-platform-core.yml
Created March 11, 2020 14:56
RESTHeart Platform v4 configuration files
## RESTHeart Security Configuration File.
---
#### Listeners
# Listeners allow to specify the protocol, ip, port and to use.
# The supported protocols are: http and https.
# You can setup a listener per protocol (up to 2).
# WARNING: Using the http listener is not secure with basic authentication:
# credentials can be sniffed by a man-in-the-middle attack.