Organization: Jitsi
Mentors: Aaron van Meerten Boris Grozev Lucian-Paul Torje
Contributor: Ilayda Nur Dastan
Mentors: Aaron van Meerten Boris Grozev Lucian-Paul Torje
Contributor: Ilayda Nur Dastan
| # paste to .bashrc on host with domain's public IP | |
| # usage: certbotless YOUR.DOMAIN.TLD | |
| certbotless() { | |
| if [ -z "$1" ]; then | |
| return 1 | |
| fi | |
| DOMAIN=$1 |
| // Fastest install script for npm 7.0+ | |
| // usage: node install | |
| const fs = require('fs'); | |
| const readLockFile = path => { | |
| if (fs.existsSync(path)) { | |
| const text = fs.readFileSync(path, { encoding:'utf8', flag:'r' }); | |
| const lockFile = JSON.parse(text); | |
| delete lockFile.dependencies; |
This should always be your first step. More than likely, your question has already been answered...multiple times
If you make a post stating a problem without any logs, nobody can help you and will likely ignore it (at least I will)
adb logcat -d > log.txt
| # Script to ensure wireless lan radio is ON or OFF # | |
| # between user selected times # | |
| # The radio ON/OFF operation will not be performed if the system # | |
| # clock is not in sync with local time, unless so required # | |
| # Remember router is set back to default time after a reboot # | |
| # Schedule this script at required intervals # | |
| # Written by Peter James 2012-07-19 # | |
| # Tested on RB751U and RouterOS v5.19 # | |
| ##################################### |
| Get-WinEvent -FilterHashtable @{LogName="Microsoft-Windows-Diagnostics-Performance/Operational"; Id=100} -MaxEvents 10 | ForEach-Object { | |
| # convert the event to XML and grab the Event node | |
| $eventXml = ([xml]$_.ToXml()).Event | |
| # output | |
| [PSCustomObject]@{ | |
| 'Computer' = $eventXml.System.Computer | |
| 'BootTime' = [int64]($eventXml.EventData.Data | Where-Object {$_.Name -eq 'BootTime'}).InnerXml | |
| 'BootFinished' = [datetime]($eventXml.EventData.Data | Where-Object {$_.Name -eq 'BootEndTime'}).InnerXml | |
| } | |
| } |
| for ns in $(kubectl get ns -o name | cut -d'/' -f2); do | |
| for pod in $(kubectl get pods -n $ns --field-selector=status.phase!=Running -o name | cut -d'/' -f2); do | |
| kubectl delete pod -n $ns $pod | |
| done | |
| for rs in $(kubectl get rs -n "$ns" -o name | cut -d'/' -f2); do | |
| kubectl delete rs -n $ns $rs | |
| done | |
| done | |
| kubectl get pods -A && kubectl top pods -A && kubectl top node |
iperf3 serverwg-quick down wg0/etc/wireguard/wg0.conf file| #!/usr/bin/env bash | |
| NODESAPI=/api/v1/nodes | |
| function getNodes() { | |
| kubectl get --raw $NODESAPI | jq -r '.items[].metadata.name' | |
| } | |
| function getPVCs() { | |
| jq -s '[flatten | .[].pods[].volume[]? | select(has("pvcRef")) | '\ |