Skip to content

Instantly share code, notes, and snippets.

View recaptcha-v3-google-response
{
"success": true|false, // whether this request was a valid reCAPTCHA token for your site
"score": number // the score for this request (0.0 - 1.0)
"action": string // the action name for this request (important to verify)
"challenge_ts": timestamp, // timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
"hostname": string, // the hostname of the site where the reCAPTCHA was solved
"error-codes": [...] // optional
}
View recaptcha-v3-home-view-code
@section Scripts{
<script type="text/javascript">
grecaptcha.ready(function () {
grecaptcha.execute('reCAPTCHA_site_key', { action: 'about' })
.then(function (token) {
$.getJSON("/Home/RecaptchaV3Vverify?token=" + token,
function (data) { console.log(data); });
});
});
</script>
View recaptcha-v3-js
<script src='https://www.google.com/recaptcha/api.js?render=reCAPTCHA_site_key'></script>
View grafana-setup
helm install stable/grafana --name grafana --namespace monitoring -f .\grafana-values.yaml
@mehmetcakmaz
mehmetcakmaz / grafana-values.yaml
Created May 25, 2019
helm stable chart grafana values yaml
View grafana-values.yaml
rbac:
create: true
pspEnabled: true
pspUseAppArmor: true
namespaced: false
serviceAccount:
create: true
name:
replicas: 1
View azure-storage-lifecycle-management-rule-2.json
{
"rules": [
{
"name": "snapshotRule",
"enabled": true,
"type": "Lifecycle",
"definition":
{
"filters": {
"blobTypes": [ "blockBlob" ]
View azure-storage-lifecycle-management-rule-1.json
{
"rules": [
{
"name": "DenemeKural",
"enabled": true,
"type": "Lifecycle",
"definition": {
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "resimler" ]
View prometheus-values
rbac:
create: true
imagePullSecrets:
# - name: "image-pull-secret"
## Define serviceAccount names for components. Defaults to component's fully qualified name.
##
serviceAccounts:
alertmanager:
You can’t perform that action at this time.