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
| --- | |
| apiVersion: monitoring.coreos.com/v1 | |
| kind: PrometheusRule | |
| metadata: | |
| name: prometheus-kafka-lagging | |
| labels: | |
| ksonnet.io/component: prometheus-rules | |
| prometheus: k8s | |
| role: alert-rules | |
| namespace: monitoring |
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 | |
| mark_tagged_imgs () { | |
| for tag in `ls /home/ec2-user/registry/repositories/$1/*/tag_*` | |
| do | |
| cat $tag >> /tmp/ids | |
| echo "" >> /tmp/ids | |
| done | |
| } |
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
| DateTime dateTime = new DateTime(1601, 1, 1, 0, 0); | |
| System.out.println((new DateTime(0).getMillis() - dateTime.getMillis()) * 1000); | |
| System.out.print(new DateTime((12948454467885864L - 11644479676000000L) / 1000)); |
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
| /* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ | |
| /* @author Arturas Paleicikas <arturas@avalon.lt> */ | |
| jQuery(function($){ | |
| $.datepicker.regional['lt'] = { | |
| closeText: 'Uždaryti', | |
| prevText: '<Atgal', | |
| nextText: ' >', | |
| currentText: 'Šiandien', | |
| monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', | |
| 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], |
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
| package net.country.parser; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.URL; | |
| import java.nio.charset.Charset; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; |