- You can find different tools/models from Open WebUI Community
- You can content of a web page as a attached file. Use
#
before the url like#https://docs.openwebui.com
- You can use multiple models. Click on
+
near the model name
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
``` | |
# start kubeshark on port 0.0.0.0:8899 for all namespaces and decrypt tls connection | |
sudo kubeshark tap --docker-registry nexus.hadiazad.local/kubeshark --proxy-host 0.0.0.0 --ignoretainted --tls | |
# Delete kubeshark deployments | |
sudo kubeshark clean | |
``` | |
You can also change kubeshark config : | |
``` | |
# create config file : |
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
sudo kubectl get po -o custom-columns="Name:metadata.name,CPU-limit:spec.containers[*].resources.limits.cpu, CPU-request:spec.containers[*].resources.requests.cpu, memory-limits:spec.containers[*].resources.limits.memory, memory-request:spec.containers[*].resources.requests.memory" -A |
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
</dev/tcp/nginx-1.nginx-1.svc.cluster.local/80 && echo open || echo closed |
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
sudo sed -i '/^#SystemMaxUse=/s/^#//; s/^SystemMaxUse=.*/SystemMaxUse=50M/' /etc/systemd/journald.conf && sudo service systemd-journald restart |
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
find . -type f -print | xargs -I {} curl -v -u admin:admin123 --upload-file {} https://nexus.hadiazad.local/repository/FileRepo/\{\} |
- DNS server (You can use Powerdns and PowerDns Admin)
- Install step and step-ca commands. Follow official document or simply :
curl -L https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.23.2/step_linux_0.23.2_amd64.tar.gz \
-o step.tar.gz
tar -xf step.tar.gz
sudo cp step_0.23.2/bin/step /usr/bin
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
version: '2' | |
services: | |
db: | |
image: mariadb:latest | |
environment: | |
- MYSQL_ALLOW_EMPTY_PASSWORD=yes | |
- MYSQL_DATABASE=powerdnsadmin | |
- MYSQL_USER=pdns | |
- MYSQL_PASSWORD=mypdns |
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
import socket | |
import struct | |
import array | |
import argparse | |
# Instantiate the parser | |
parser = argparse.ArgumentParser(description='Send custom tcp packet') | |
parser.add_argument('src_ip', type=str, | |
help='Source IP address') |
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
#!/bin/bash | |
sysbench fileio cleanup | |
total_sizes=( | |
13M | |
10G | |
) | |
test_type=( | |
seqwr # sequential write |
NewerOlder