kubectl get events --sort-by=.metadata.creationTimestamp -o json | jq -r '.items[] | select(.involvedObject.name | startswith("sample-application")) | (.lastTimestamp + " - " + .message)'
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
From 424808388956c0d6acf0e91ca751fe9345f6e7f8 Mon Sep 17 00:00:00 2001 | |
From: "Vasilyev, Viacheslav" <avoidik@gmail.com> | |
Date: Sun, 11 Apr 2021 02:04:15 +0300 | |
Subject: [PATCH] SSH communicator - Reset retries counter, sleep between | |
connection attempts | |
--- | |
plugins/communicators/ssh/communicator.rb | 10 +++++++--- | |
1 file changed, 7 insertions(+), 3 deletions(-) |
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
diff -rupN a/calico.yaml b/calico.yaml | |
--- a/calico.yaml 2021-05-05 19:02:04.519178634 +0000 | |
+++ b/calico.yaml 2021-05-05 19:05:03.599185605 +0000 | |
@@ -10,7 +10,7 @@ data: | |
# Typha is disabled. | |
typha_service_name: "none" | |
# Configure the backend to use. | |
- calico_backend: "bird" | |
+ calico_backend: "vxlan" | |
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
# WSL2 network port forwarding script v1 | |
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
# written by Daehyuk Ahn, Aug-1-2020 | |
# Display all portproxy information | |
If ($Args[0] -eq "list") { | |
netsh interface portproxy show v4tov4; | |
exit; | |
} |
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
#!/usr/bin/env bash | |
ROOT_URL='http://f27uk3gyl2gfu4z36eifv4ob73w6xgrcms4w4vdxzcsxsobgc766ityd.onion/trash/ttv-list' | |
USER_AGENT='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0' | |
# url;file | |
PLAYLISTS=( | |
"${ROOT_URL}/acetv.all.tag.player.m3u;/var/www/html/pomoyka/acetv.all.tag.player.m3u" | |
"${ROOT_URL}/ace.all.tag.player.m3u;/var/www/html/pomoyka/ace.all.tag.player.m3u" |
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
#!/usr/bin/env bash | |
ROOT_URL='https://rules2.clearurls.xyz' | |
USER_AGENT='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0' | |
# download original filter,where to store original filter,customizations file,hash file | |
PLAYLISTS=( | |
"${ROOT_URL}/data.minify.json;/var/www/html/clearurls/data.minify.json;/var/www/html/clearurls/custom.json;/var/www/html/clearurls/rules.minify.hash" | |
) |
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
<?php | |
if ($argc != 4) | |
{ | |
echo "This script will take a source M3U playlist, filter out everything out of it based upon the title-group.\n\n"; | |
echo "Usage: php ".basename($argv[0])." group source.m3u dest.m3u\n"; | |
echo " php ".basename($argv[0])." kids ace.all.tag.iproxy.hls.m3u kids.m3u\n"; | |
die(1); | |
} |
This tutorial is for jitsi-meet installation using 2 server or more. The main server will contain jitsi-meet react source code, prosody, nginx, and jicofo. The videobridge will be installed seperatelly on the second server and so on.
- Minimum 2 server with 1 IP Public each
- Ubuntu 18.04
Before start we make sure that we will have no permission issue on the installation.
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
:foreach id in=[/ip addr find] do={ | |
:local intInterface [/ip addr get $id interface]; | |
:local intAddrList "$intInterface-addr"; | |
:local intOldAddr ""; | |
:local intCidrBlock ""; | |
:local intCidrAddr [/ip address get [/ip address find interface=$intInterface disabled=no] address]; | |
:local intNetAddr [/ip address get [/ip address find interface=$intInterface disabled=no] network]; | |
:set intCidrBlock "$intNetAddr/$[:pick $intCidrAddr ([:find $intCidrAddr "/"]+1) [:len $intCidrAddr]]"; | |
:log info "Current $intInterface CIDR is $intCidrBlock"; |