Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
// ==UserScript== | |
// @name Reddit Comment Highlighter | |
// @namespace https://gist.github.com/fgrsnau | |
// @include http://www.reddit.com/r/*/comments/* | |
// @include https://www.reddit.com/r/*/comments/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var id = $('.content .sitetable .thing:first').attr('data-fullname'); |
// ==UserScript== | |
// @name Highlight Pokemon in PokeMontpellier.fr | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Add a bouncing animation to the Pokemon species you want | |
// @author Err0r404 | |
// @match https://www.pokemontpellier.fr/ | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/Err0r404/7799395b3c34e4d55e64fd33b0342c36/raw/ | |
// @updateURL https://gist.githubusercontent.com/Err0r404/71c5f4882a4a518e85a1b6ce8b613e67/raw/ |
// ==UserScript== | |
// @name Gist Age Highlighter | |
// @description Highlights the age of different Github Gist results, based on age | |
// @version 0.4 | |
// @author rjf89 | |
// @match https://gist.github.com/search* | |
// @grant none | |
// ==/UserScript== | |
Array.prototype.flatMap = function(lambda) { return Array.prototype.concat.apply([], this.map(lambda)); }; | |
const setColor = (e, bgColor) => e.parentElement.style = `background-color: ${bgColor}; color: ivory`; |
// ==UserScript== | |
// @name ZSH Documentation Enhancer - Dark | |
// @version 0.4 | |
// @description Make ZSH Documentation more readable (fork from rjf89) | |
// @require http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js | |
// @resource theme http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/tomorrow-night.min.css | |
// @resource bootstrap https://bootswatch.com/4/darkly/bootstrap.min.css | |
// @author btamayo | |
// @match http://zsh.sourceforge.net/Doc/* | |
// @run-at document-start |
// ==UserScript== | |
// @id linkshighlight@vkopt | |
// @name Links Highlight for VkOpt | |
// @version 1.1 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, подсвечивающий некоторые неподсвечиваемые ссылки | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |