This file contains 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
apiVersion: secret.jenkins-x.io/v1alpha1 | |
kind: Schema | |
spec: | |
objects: | |
- name: jx-basic-auth-user-password | |
mandatory: true | |
properties: | |
- name: username | |
question: the username for basic auth ingresses | |
help: The username to login to basic authenticated URLs |
This file contains 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
GET /metricbeat-*/_search | |
{ | |
"size": 0, | |
"query": { | |
"range": { | |
"@timestamp": { | |
"gte": "now-15m" | |
} | |
} | |
}, |
This file contains 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
apiVersion: jenkins.io/v1 | |
kind: SourceRepository | |
metadata: | |
annotations: | |
jenkins.io/chart: env | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"jenkins.io/v1","kind":"SourceRepository","metadata":{"annotations":{"jenkins.io/chart":"env"},"labels":{"jenkins.io/chart-release":"jenkins-x","jenkins.io/gitSync":"false","jenkins.io/namespace":"jx","jenkins.io/version":"1"},"name":"mentor-medier-environment-mentordigital-dev-production","namespace":"jx"},"spec":{"description":"the git repository for the Production environment","httpCloneURL":"https://github.com/mentor-medier/environment-mentordigital-dev-production.git","org":"mentor-medier","provider":"https://github.com","providerKind":"github","providerName":"github","repo":"environment-mentordigital-dev-production","scheduler":{"kind":"Scheduler","name":"env-scheduler"},"url":"https://github.com/mentor-medier/environment-mentordigital-dev-production.git"}} | |
creationTimestamp: "2019-11-07T21:55:41Z" | |
generation: 1 | |
labels: |
This file contains 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
apiVersion: jenkins.io/v1 | |
kind: SourceRepository | |
metadata: | |
annotations: | |
jenkins.io/chart: env | |
jenkins.io/last-build-number-for-master: "16" | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"jenkins.io/v1","kind":"SourceRepository","metadata":{"annotations":{"jenkins.io/chart":"env"},"labels":{"jenkins.io/chart-release":"jenkins-x","jenkins.io/gitSync":"false","jenkins.io/namespace":"jx","jenkins.io/version":"1"},"name":"mentor-medier-environment-mentordigital-dev-staging","namespace":"jx"},"spec":{"description":"the git repository for the Staging environment","httpCloneURL":"https://github.com/mentor-medier/environment-mentordigital-dev-staging.git","org":"mentor-medier","provider":"https://github.com","providerKind":"github","providerName":"github","repo":"environment-mentordigital-dev-staging","scheduler":{"kind":"Scheduler","name":"env-scheduler"},"url":"https://github.com/mentor-medier/environment-mentordigital-dev-staging.git"}} | |
creationTimestamp: "2019-11-07T21:55: |
This file contains 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
# This script updates read only indexes and sets them to be writable agin | |
# Useful if your disk suddenly has run full - elasticsearch sets ALL your indexes to read only | |
# You should increase disk size, either by adding disks, or by deleting large indexes, before you run this script | |
# authored by @babadofar | |
# running in python 2.7, elasticsearch 6.7, probaby not in other versions of either. | |
from datetime import datetime | |
from elasticsearch import Elasticsearch | |
es = Elasticsearch(['https://elasticsearch.no'], | |
http_auth=('kong', 'king')) |
This file contains 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
{ | |
"settings": { | |
"analysis": { | |
"analyzer": { | |
"hyph_decoumpound_list": { | |
"tokenizer": "standard", | |
"filter": [ | |
"standard", | |
"lowercase", | |
"hyph_decompound_list" |
This file contains 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
input { | |
file { | |
path => "C:/inetpub/logs/LogFiles/W3SVC2/u_ex150428.log" | |
type => "IIS" | |
start_position => "beginning" | |
} | |
} | |
filter { |
This file contains 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
input { | |
stdin { codec => json } | |
} | |
filter { | |
if ![clicked] { | |
mutate { | |
add_field => ["clicked", false] | |
} | |
} |
This file contains 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
function Get-PSVersion { | |
if (test-path variable:psversiontable) {$psversiontable.psversion} else {[version]"1.0.0.0"} | |
} | |
$powershell = Get-PSVersion | |
if($powershell.Major -le 2 ){ | |
Write-Error "Oh, so sorry, this script requires Powershell 3 (due to convertto-json)" | |
exit | |
} |
We can't make this file beautiful and searchable because it's too large.
This file contains 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
Datotid;Varenummer;Varenavn;Volum;Pris;Literpris;Varetype;Produktutvalg;Butikkategori;Fylde;Friskhet;Garvestoffer;Bitterhet;Sodme;Farge;Lukt;Smak;Passertil01;Passertil02;Passertil03;Land;Distrikt;Underdistrikt;Argang;Rastoff;Metode;Alkohol;Sukker;Syre;Lagringsgrad;Produsent;Grossist;Distributor;Emballasjetype;Korktype;Vareurl | |
2015-02-02T00:21:16;1101;L�iten Linie;0.70;399.90;571.30;Akevitt;Basisutvalget;Butikkategori 3;0;0;0;0;0;;;;;;;Norge;�vrige;�vrige;;Poteter, krydder;16 mnd p� fat;41.50;5.00;Ukjent;;;Arcus AS;Vectura AS;Engangsflasker av glass;;http://www.vinmonopolet.no/vareutvalg/varedetaljer/sku-1101 | |
;1102;L�iten Linie;0.35;239.90;685.40;Akevitt;Basisutvalget;Butikkategori 3;0;0;0;0;0;;;;;;;Norge;�vrige;�vrige;;Poteter, krydder;Lagret 16 md. p� fat.;41.50;5.00;Ukjent;;;Arcus AS;Vectura AS;Engangsflasker av glass;;http://www.vinmonopolet.no/vareutvalg/varedetaljer/sku-1102 | |
;1201;Gilde Non Plus Ultra;0.70;599.90;857.00;Akevitt;Bestillingsutvalget;Uavhengig sortiment;0;0;0;0;0;Middels dyp gyllengul.;Arom |
NewerOlder