This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# VPN Config | |
# | |
# See https://forum.gitlab.com/t/connect-vpn-during-ci-cd/7585/10 | |
# Check if ovpn config file (injected via $CLIENT_OVPN) expires/needs renewal | |
# | |
# For debugging add script "cat /etc/openvpn/client.log" | |
# | |
# To make this work it was necessary to adjust the Gitlab Runner config.toml | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth/claims-too-large": { | |
"description": "The claims payload provided to setCustomUserClaims() exceeds the maximum allowed size of 1000 bytes.", | |
"labels": { | |
"de": "Es gibt ein Problem mit den sogenannten \"claims\". Die zulässige Maximalgröße wurde überschritten." | |
} | |
}, | |
"auth/email-already-exists": { | |
"description": "The provided email is already in use by an existing user. Each user must have a unique email.", | |
"labels": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "Creating demo collection...\n"; | |
curl "http://localhost:8108/collections" \ | |
-X POST \ | |
-H "X-TYPESENSE-API-KEY: xyz" \ | |
-d '{ | |
"name": "books", | |
"fields": [ | |
{"name": "title", "type": "string", "sort": true }, | |
{"name": "author", "type": "string" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 1374, | |
"score": null, | |
"state": "published", | |
"type": "info", | |
"rawType": "info", | |
"title": { | |
"en_US": "Celebrate as Dutch legend Robin van Persie turns 39 on August 6th (available in 4:5, 9:16, 1:1)" | |
}, | |
"publicationDate": "2022-08-01 08:56:37", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cider", | |
"ingredients": "Vatten, appelvin, socker, päronjuicekoncentrat, surhetsreglerande medel citronsyra, naturliga aromer, konserveringsmedel kaliumsorbat och KALIUMDISULFIT, färg sockerkulör.", | |
"allergens": { | |
"allergenStatement": "Laktos", | |
"allergenItems": { | |
"CONTAINS": [ | |
{ | |
"originCode": "AU", | |
"gs1Code": "AU" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rfc5646-language-tags", | |
"version": "0.1.0", | |
"author": "msikma" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_page 404 /assets/error-404.html; | |
error_page 500 /assets/error-500.html; | |
location / { | |
try_files $uri @silverstripe; | |
} | |
location @silverstripe { | |
fastcgi_keep_conn on; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Countries: | |
AFG: Afghanistan | |
ALB: Albania | |
ALG: Algeria | |
ASA: American Samoa | |
AND: Andorra | |
ANG: Angola | |
AIA: Anguilla | |
ATG: Antigua and Barbuda | |
ARG: Argentina |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |