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
#!/bin/bash | |
for ns in $(kubectl get ns -o jsonpath="{.items[*].metadata.name}"); do | |
for cj in $(kubectl get cronjobs -n "$ns" -o name); do | |
kubectl patch "$cj" -n "$ns" -p '{"spec" : {"suspend" : true }}'; | |
done | |
done |
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
#!/bin/bash | |
# Usage: | |
# RSA: | |
# ./bare.sh my-priv-key -t rsa | |
# | |
# OpenSSH | |
# ./bare.sh my-priv-key -t openssh | |
# |
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
" use filetype-based syntax highlighting, ftplugins, and indentation | |
syntax on | |
filetype plugin indent on | |
colorscheme challenger_deep | |
set number " show line numbers | |
set nowrap " nowrap lines | |
set encoding=utf-8 " set encoding to UTF-8 (default was "latin1") | |
" set mouse=a " enable mouse support (might not work well on Mac OS X) |
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
admin-email = | |
ssl-set-org = | |
ssl-set-org-unit = | |
ssl-set-city = | |
ssl-set-state = | |
ssl-set-country = | |
ssl-password = | |
ssl-set-email = | |
ssl-config-sslvhost = N | |
db-backend=oracle |
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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant none | |
// ==/UserScript== |
OlderNewer