Skip to content

Instantly share code, notes, and snippets.

{
"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
}
@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>
<script src='https://www.google.com/recaptcha/api.js?render=reCAPTCHA_site_key'></script>
dotnet new mvc
kubectl get svc -n monitoring
helm install stable/grafana --name grafana --namespace monitoring -f .\grafana-values.yaml
@mehmetcakmaz
mehmetcakmaz / grafana-values.yaml
Created May 25, 2019 14:15
helm stable chart grafana values yaml
rbac:
create: true
pspEnabled: true
pspUseAppArmor: true
namespaced: false
serviceAccount:
create: true
name:
replicas: 1
{
"rules": [
{
"name": "snapshotRule",
"enabled": true,
"type": "Lifecycle",
"definition":
{
"filters": {
"blobTypes": [ "blockBlob" ]
{
"rules": [
{
"name": "DenemeKural",
"enabled": true,
"type": "Lifecycle",
"definition": {
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "resimler" ]
rbac:
create: true
imagePullSecrets:
# - name: "image-pull-secret"
## Define serviceAccount names for components. Defaults to component's fully qualified name.
##
serviceAccounts:
alertmanager: