- Download docker-compose.yml to dir named
sentry
- Change
SENTRY_SECRET_KEY
to random 32 char string - Run
docker-compose up -d
- Run
docker-compose exec sentry sentry upgrade
to setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done later - Run
docker-compose restart sentry
- Sentry is now running on public port
9000
View cloudSettings
{"lastUpload":"2020-11-08T11:59:37.096Z","extensionVersion":"v3.4.3"} |
View download.sh
while IFS= read -r config; do | |
a=($(echo $config | tr '=' "\n")) | |
if ls *$a[2]* 1> /dev/null 2>&1; then | |
echo "files do exist" | |
else | |
youtube-dl -x --audio-format mp3 $config | |
fi | |
done< <(jq -c -r '.[]' < 32file.json) |
View worker.js
/* | |
* Serverless Geolocation Service, hosted on Cloudflare Workers. | |
* | |
* Learn more at https://maxkostinevich.com/blog/serverless-geolocation | |
* | |
* (c) Max Kostinevich / https://maxkostinevich.com | |
*/ | |
// https://gist.github.com/maephisto/9228207 |
View dockerfile
# Install npm packages | |
FROM node:12-alpine as builder | |
WORKDIR /usr/src/app | |
COPY package.json . | |
RUN yarn install --prod | |
# Push js files | |
FROM node:12-alpine | |
WORKDIR /usr/src/app | |
COPY --from=builder /usr/src/app/node_modules /usr/src/app/node_modules |
View megalovania.sh
# megalovania first part | |
# for mikrotik routerboard | |
# by linuxgemini | |
# | |
# challenge started by ave | |
# bar 1 | |
beep -f 293 -l 140 | |
beep -f 293 -l 122 |
View fast.js
// ? Login user | |
fastify.post( | |
'/login', | |
{ | |
schema: {body: loginSchema}, | |
}, | |
async (req, res) => { | |
const {email, password} = req.body; | |
await UserModel.getAuthenticated(email, password, (err, user) => { |
View pro.yaml
apiVersion: v1 | |
items: | |
- apiVersion: monitoring.coreos.com/v1 | |
kind: Prometheus | |
metadata: | |
creationTimestamp: "2019-09-24T14:59:50Z" | |
generation: 1 | |
labels: | |
app: prometheus-operator-prometheus | |
chart: prometheus-operator-6.11.0 |
View README.md
View sonic-benchmark_batch-push.js
var mongoose = require("mongoose"); | |
var SonicChannelIngest = require("sonic-channel").Ingest; | |
var MessageModel = mongoose.model("message", new mongoose.Schema({ | |
session_id : String, | |
website_id : String, | |
type : String, | |
content : Object | |
})); |
View lets-encrypt-wildcard-certs-using-azure-dns-on-aks.md
This gist will guide you through the setup of a wildcard Let's encrypt TLS certificate.
Let's encrypt
Let’s encrypt is one of a new kind of Certificate Authority. You can get a TLS certificate from them for your website free of charge and without any manual overhead. These certificates are trusted in most browsers that are out there and will show up as valid. Instead of sending Mails or even paper around you can call an API and prove your domain ownership with simple challenges. Basically you call the API with a hostname or domain name you need a TLS certificate for and you get back a challenge string that you need to put in a well known location on your http host or as a txt record in your dns system.
The little helper for Kubernetes: Cert-Manager
You can find many clients that manage the proces
NewerOlder