I hereby claim:
- I am shamangeorge on github.
- I am shamangeorge (https://keybase.io/shamangeorge) on keybase.
- I have a public key whose fingerprint is 4DDC E17F 4BBB F17A 2238 5FBF 543D C658 ABC5 A3F2
To claim this, I am signing this object:
### | |
# Delete all Evicted pods (in all namespaces) | |
# Taken from https://gist.github.com/ipedrazas/9c622404fb41f2343a0db85b3821275d?permalink_comment_id=3216637#gistcomment-3216637 | |
### | |
# Target the cluster you want | |
export KUBECONFIG=/path/to/your/kubeconfig/file | |
# Dry run | |
kubectl get po -A --all-namespaces -o json | jq '.items[] | select(.status.reason!=null) | select(.status.reason | contains("Evicted")) | "kubectl delete po \(.metadata.name) -n \(.metadata.namespace)"' | |
# Run it |
<speak>HOSPITALIZACIONES</speak> |
... | |
action_with_slack_notification = %(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] | |
slack[name=%(__name__)s] | |
action = %(action_with_slack_notification)s | |
... |
{ | |
"attachments": [ | |
{ | |
"fallback": "test", | |
"color": "#FF8000", | |
"pretext": "This is optional pretext that shows above the attachment.", | |
"text": "This is the text of the attachment. It should appear just above an image of the Mattermost logo. The left border of the attachment should be colored orange, and below the image it should include additional fields that are formatted in columns. At the top of the attachment, there should be an author name followed by a bolded title. Both the author name and the title should be hyperlinks.", | |
"author_name": "Mattermost", | |
"author_icon": "http://www.mattermost.org/wp-content/uploads/2016/04/icon_WS.png", | |
"author_link": "http://www.mattermost.org/", |
require 'optparse' | |
require 'optparse/time' | |
require 'ostruct' | |
require 'pp' | |
class OptparseExample | |
Version = '1.0.0' | |
CODES = %w[iso-2022-jp shift_jis euc-jp utf8 binary] | |
CODE_ALIASES = { "jis" => "iso-2022-jp", "sjis" => "shift_jis" } |
#!/bin/bash | |
/opt/vhl/ffmpeg/bin/ffmpeg -i audio.in -ac 1 -acodec pcm_s16le -ar 16000 audio.out |
<body> | |
<video id="sample" src="" controls="true"></video> | |
<video id="sample2" src="" controls="true"></video> | |
<script> | |
var videos = [ | |
document.getElementById('sample'), | |
document.getElementById('sample2') | |
]; | |
initHandler(0); |
#!/bin/sh | |
exec < /dev/tty | |
./.git/hooks/validate_commit.rb $1 |
#!/bin/sh | |
# | |
# Amazon EC2 user-data file for automatic configuration of IPsec/L2TP VPN | |
# on a Ubuntu server instance. Tested with 14.04 (Trusty) AND 12.04 (Precise). | |
# With minor modifications, this script *can also be used* on dedicated servers | |
# or any KVM- or XEN-based Virtual Private Server (VPS) from other providers. | |
# | |
# DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS MEANT TO BE RUN WHEN | |
# YOUR AMAZON EC2 INSTANCE STARTS! | |
# |
I hereby claim:
To claim this, I am signing this object: