<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki-dev.forfog.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki-dev.forfog.com/feed.php">
        <title>Wiki - wiki</title>
        <description></description>
        <link>https://wiki-dev.forfog.com/</link>
        <image rdf:resource="https://wiki-dev.forfog.com/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-05T10:16:17+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:adb?rev=1763126731&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:ansible?rev=1730208478&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:arch?rev=1749619387&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:blockchain?rev=1765321632&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:cloudflare?rev=1712781176&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:debian?rev=1712777553&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:devices_chromcast?rev=1713730325&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:devices_switch_arista?rev=1730564846&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:devices?rev=1730564699&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:devops?rev=1767188059&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker-compose-graylog?rev=1712782389&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker-compose-openvpn?rev=1714414966&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker-compose-unifi?rev=1762541773&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker-docker-compose?rev=1714414817&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker-install?rev=1712777477&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:docker?rev=1715084497&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:dokuwiki?rev=1712774424&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:foremost?rev=1714414032&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:gcp_storage?rev=1725893513&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:gcp?rev=1725893437&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:git?rev=1714025944&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:github_cli?rev=1713378215&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:github?rev=1730573541&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:gitlab?rev=1765876436&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:hack_hydra?rev=1713729303&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:hack_office?rev=1713729737&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:hack_rar?rev=1713728019&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:hack_sip?rev=1713729589&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:hack?rev=1713729630&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:ipfs?rev=1712775936&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:jenkins-decrypt?rev=1712779648&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:jenkins?rev=1738590412&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:jq?rev=1713367714&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:kubernetes?rev=1751176402&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:liveusb?rev=1766520398&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:lxc?rev=1730565172&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:mfa?rev=1767188357&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:mongodb?rev=1744046814&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:mssql?rev=1734428685&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:mysql?rev=1715156366&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:navigation?rev=1713730252&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:nginx_php?rev=1715155117&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:nginx?rev=1715155406&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:nissan?rev=1767452014&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:opensearch?rev=1747820312&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:rabbitmq?rev=1713865715&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:slack?rev=1755780821&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:smart?rev=1713729824&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:ssh?rev=1762176274&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:ssl?rev=1773136232&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:swap?rev=1747207222&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:syntax?rev=1712774424&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:telegram?rev=1712776421&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:welcome?rev=1712774424&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:wireguard?rev=1746040264&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:wordpress?rev=1715173097&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki-dev.forfog.com/wiki:zabbix?rev=1739290261&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki-dev.forfog.com/_media/wiki:dokuwiki.svg">
        <title>Wiki</title>
        <link>https://wiki-dev.forfog.com/</link>
        <url>https://wiki-dev.forfog.com/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:adb?rev=1763126731&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-14T13:25:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>adb</title>
        <link>https://wiki-dev.forfog.com/wiki:adb?rev=1763126731&amp;do=diff</link>
        <description>Pair

adb pair 10.0.0.1:30000

Connect

adb connect 10.0.0.1:30001

Install

adb install package.apk

Shell

adb shell

Upload/Download

adb push &lt;source&gt; &lt;destanation&gt;

adb pull &lt;source&gt; &lt;destanation&gt;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:ansible?rev=1730208478&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-29T13:27:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ansible</title>
        <link>https://wiki-dev.forfog.com/wiki:ansible?rev=1730208478&amp;do=diff</link>
        <description>Check variable

ansible -i inventories/ -m debug -a &quot;msg={{ ((users|default([])|selectattr(&#039;ssh_key&#039;,&#039;defined&#039;)|list|first).ssh_key|split(&#039;-&#039;))[1] }}&quot; host

Install packege

ansible -i inventories/ -m apt -a &quot;name=package&quot; host</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:arch?rev=1749619387&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-11T05:23:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>arch</title>
        <link>https://wiki-dev.forfog.com/wiki:arch?rev=1749619387&amp;do=diff</link>
        <description>DualBoot


sda      8:0    0 238.5G  0 disk
├─sda1   8:1    0   100M  0 part EFI
├─sda2   8:2    0    16M  0 part Microsoft Reserved
├─sda3   8:3    0 137.7G  0 part Microsoft
├─sda4   8:4    0   512M  0 part EFI
└─sda5   8:5    0 100.1G  0 part Linux</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:blockchain?rev=1765321632&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-09T23:07:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>blockchain</title>
        <link>https://wiki-dev.forfog.com/wiki:blockchain?rev=1765321632&amp;do=diff</link>
        <description>BTC

Docker


docker run --rm -it --name btc bitcoin/bitcoin
docker exec -it btc sh


Commands


bitcoin-cli listwallets
bitcoin-cli -rpcwallet=main getwalletinfo
bitcoin-cli -rpcwallet=main getnewaddress
bitcoin-cli -rpcwallet=main getaddressinfo bc1qpr7s4jcqp5ghfhv0rkntxdlt6q8eupsp88wvg2

bitcoin-cli createwallet main</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:cloudflare?rev=1712781176&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T20:32:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cloudflare</title>
        <link>https://wiki-dev.forfog.com/wiki:cloudflare?rev=1712781176&amp;do=diff</link>
        <description>API

Get zones

curl -s -X GET  -H &quot;Authorization: Bearer $TOKEN&quot; -H &quot;Content-Type: application/json&quot; https://api.cloudflare.com/client/v4/zones

Purge Cache

curl -s -X POST -H &quot;Authorization: Bearer $TOKEN&quot; -H &quot;Content-Type: application/json&quot; https://api.cloudflare.com/client/v4/zones/$ZONE/purge_cache --data &#039;{&quot;purge_everything&quot;:true}&#039;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:debian?rev=1712777553&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T19:32:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>debian</title>
        <link>https://wiki-dev.forfog.com/wiki:debian?rev=1712777553&amp;do=diff</link>
        <description>Repos

Backports


echo &quot;deb http://deb.debian.org/debian $(lsb_release -cs)-backports main contrib non-free&quot; &gt; /etc/apt/sources.list.d/backports.list

apt -t $(lsb_release -cs)-backports install &lt;package&gt;


Debian 8


deb http://archive.debian.org/debian/ jessie main contrib non-free
deb http://archive.debian.org/debian-security jessie/updates main contrib non-free</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:devices_chromcast?rev=1713730325&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T20:12:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>devices_chromcast</title>
        <link>https://wiki-dev.forfog.com/wiki:devices_chromcast?rev=1713730325&amp;do=diff</link>
        <description>Chromcast Google TV

Disable Launcher


adb shell pm disable-user --user 0 com.google.android.apps.tv.launcherx
adb shell pm disable-user --user 0 com.google.android.tungsten.setupwraith</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:devices_switch_arista?rev=1730564846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-02T16:27:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>devices_switch_arista</title>
        <link>https://wiki-dev.forfog.com/wiki:devices_switch_arista?rev=1730564846&amp;do=diff</link>
        <description>NTP


ntp server 0.europe.pool.ntp.org prefer
ntp server 1.europe.pool.ntp.org

interface vlan1
  ntp serve

show ntp status
show ntp associations</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:devices?rev=1730564699&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-02T16:24:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>devices</title>
        <link>https://wiki-dev.forfog.com/wiki:devices?rev=1730564699&amp;do=diff</link>
        <description>Chromcast 


Switch

Arista</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:devops?rev=1767188059&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-31T13:34:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>devops</title>
        <link>https://wiki-dev.forfog.com/wiki:devops?rev=1767188059&amp;do=diff</link>
        <description>Linux

Desktop

Debian

Arch

Git

SSH

Swap

Live USB

MFA


Cloud

AWS

GCP

CloudFlare


Virtual

Docker

LXC

Kubernetes


Web Servers

Nginx

SSL


Databases

MySQL

PostgreSQL

Redis

RabbitMQ

MongoDB

MSSQL

Opensearch


Storage

IPFS


CI/CD

Jenkins

Github

Ansible

GitLab


Web Services

WordPress


Monitoring

Zabbix

Slack


VPN

Wireguard


Blockchain

Blockchain


Programs

adb

Telegram

jq - json

foremost - recover files</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker-compose-graylog?rev=1712782389&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T20:53:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker-compose-graylog</title>
        <link>https://wiki-dev.forfog.com/wiki:docker-compose-graylog?rev=1712782389&amp;do=diff</link>
        <description>Gen root password hash


# GRAYLOG_ROOT_PASSWORD_SHA2
echo -n 111222333444 | sha256sum



services:
  mongodb:
    image: mongo:6
    volumes:
      - mongo-data:/data/db
    networks:
      - network

  opensearch:
    image: opensearchproject/opensearch:2.12.0
    volumes:
      - opensearch-data:/usr/share/opensearch/data
    environment:
      - OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g
      - bootstrap.memory_lock=true
      - discovery.type=single-node
      - action.auto_create_index=false
    …</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker-compose-openvpn?rev=1714414966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:22:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker-compose-openvpn</title>
        <link>https://wiki-dev.forfog.com/wiki:docker-compose-openvpn?rev=1714414966&amp;do=diff</link>
        <description>services:
  openvpn:
    container_name: openvpn
    image: kylemanna/openvpn
    ports:
     - &quot;1194:1194/udp&quot;
    restart: always
    volumes:
     - /dev/net/tun:/dev/net/tun
     - ./openvpn:/etc/openvpn
    cap_add:
     - NET_ADMIN



OVPN_HOST=&quot;65.109.154.49&quot;
OVPN_NETWORK=&quot;10.0.10.0 255.255.255.0&quot;
OVPN_DATA=&quot;./openvpn&quot;
OVPN_NAME=&quot;openvpn&quot;
OVPN_USER=&quot;${user}&quot;

default:
	@echo
	@echo &quot;# User managment:&quot;
	@echo &quot;make user_list - list users&quot;
	@echo &quot;make user_get user=&lt;username&gt; - get user co…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker-compose-unifi?rev=1762541773&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-07T18:56:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker-compose-unifi</title>
        <link>https://wiki-dev.forfog.com/wiki:docker-compose-unifi?rev=1762541773&amp;do=diff</link>
        <description>Unifi Controller

	*  When running in docker for adoption to work set interface IP: Settings &gt; Sysytem &gt; Advanced &gt; Inform Host &gt; Override 

	*  MongoDB version 4 required for CPUs without AVX support (MiniBox)


services:
  mongodb:
    image: docker.io/mongo:4
    container_name: unifi-mongodb
    environment:
      - MONGO_INITDB_ROOT_USERNAME=root
      - MONGO_INITDB_ROOT_PASSWORD=xxxxxx
      - MONGO_USER=unifi_user
      - MONGO_PASS=yyyyyy
      - MONGO_DBNAME=unifi_db
      - MONGO_AUTH…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker-docker-compose?rev=1714414817&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:20:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker-docker-compose</title>
        <link>https://wiki-dev.forfog.com/wiki:docker-docker-compose?rev=1714414817&amp;do=diff</link>
        <description>OpenVPN

Graylog

Unifi Controller


Header


services:
  node:
    container_name: node-server


Image



    image: node:20-alpine



    build:
      context: .
      dockerfile: Dockerfile


Environment


    env_file:
      - .env



    environment:
      LOGIN: user
      PASSWORD: secret</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker-install?rev=1712777477&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T19:31:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker-install</title>
        <link>https://wiki-dev.forfog.com/wiki:docker-install?rev=1712777477&amp;do=diff</link>
        <description>Debian


apt install wget lsb_release gnupg

wget -q https://download.docker.com/linux/debian/gpg -O-|gpg --dearmor -o /etc/apt/trusted.gpg.d/docker.gpg
echo &quot;deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable&quot; &gt; /etc/apt/sources.list.d/docker.list
apt update
apt install -y docker-ce docker-ce-cli docker-compose-plugin</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:docker?rev=1715084497&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-07T12:21:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker</title>
        <link>https://wiki-dev.forfog.com/wiki:docker?rev=1715084497&amp;do=diff</link>
        <description>Docker Compose

Install


Commands

Stop named container


docker ps -qf name=&lt;name&gt; | xargs -r docker stop


Remove named container


ocker ps -aqf name=&lt;name&gt; | xargs -r docker rm;


Check named container is running


if [ -z $(docker ps -qf name=&lt;name&gt;) ]; then echo &#039;ERROR - Container failed to start&#039;; false; fi;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:dokuwiki?rev=1712774424&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T18:40:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki</title>
        <link>https://wiki-dev.forfog.com/wiki:dokuwiki?rev=1712774424&amp;do=diff</link>
        <description>DokuWiki

wiki:dokuwiki DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn&#039;t require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator&#039;s favorite. Built in</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:foremost?rev=1714414032&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:07:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>foremost</title>
        <link>https://wiki-dev.forfog.com/wiki:foremost?rev=1714414032&amp;do=diff</link>
        <description>Run command


foremost -c conf -i /dev/sda3 -o /restore


Get file header


# hexdump sample.mkv |head -1
0000000 451a a3df 0001 0000 0000 2300 8642 0181



\x1a\x45\xdf\xa3


Config Examples


# xml
xml y  500000   \x3c\x3f\x78\x6d\x6c\x20   \x6e\x6f\x74\x65\x73\x3e\x0a</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:gcp_storage?rev=1725893513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-09T14:51:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gcp_storage</title>
        <link>https://wiki-dev.forfog.com/wiki:gcp_storage?rev=1725893513&amp;do=diff</link>
        <description>Commands

List Storage

gcloud storage ls gs://bucket

Copy/Delete file


gcloud storage cp file gs://bucket
gcloud storage rm gs://bucket/file


CORS

Get CORS


gcloud storage buckets describe gs://bucket --format=&quot;default(cors_config)&quot;


Set CORS</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:gcp?rev=1725893437&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-09T14:50:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gcp</title>
        <link>https://wiki-dev.forfog.com/wiki:gcp?rev=1725893437&amp;do=diff</link>
        <description>Storage


Access



gcloud config set project projectid

Import key

gcloud auth activate-service-account --key-file=key.json

Install gcloud

Debian


echo &quot;deb https://packages.cloud.google.com/apt cloud-sdk main&quot; &gt; /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor &gt; /etc/apt/trusted.gpg.d/cloud.google.gpg
apt update
apt install -y google-cloud-cli</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:git?rev=1714025944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-25T06:19:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>https://wiki-dev.forfog.com/wiki:git?rev=1714025944&amp;do=diff</link>
        <description>Update config


git config user.name &quot;John Doe&quot;
git config user.email johndoe@example.com
git config --global core.editor vim


Update repo url

git remote set-url origin &lt;git_url&gt;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:github_cli?rev=1713378215&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-17T18:23:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>github_cli</title>
        <link>https://wiki-dev.forfog.com/wiki:github_cli?rev=1713378215&amp;do=diff</link>
        <description>List action workflow runs

(filtered by workflow name, limited 3)


gh run list -w &quot;Deploy Beta&quot; -L 3


Delete action run by ID


gh api -X DELETE repos/&lt;user&gt;/&lt;repo&gt;/actions/runs/&lt;id&gt;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:github?rev=1730573541&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-02T18:52:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>github</title>
        <link>https://wiki-dev.forfog.com/wiki:github?rev=1730573541&amp;do=diff</link>
        <description>gh-cli


Show Secrets


echo &quot;${{secrets.PASSWORD}}&quot; | sed &#039;s/./&amp; /g&#039;



Name: Deploy Dev



on:
  pull_request:
    branches: [ dev ]
  push:
    branches: [dev ]
  workflow_dispatch:
    inputs:
      run_deploy:
        description: &quot;run Deploy&quot;
        required: true
        type: boolean
        default: true
      run_test:
        description: &quot;run Test&quot;
        required: true
        type: boolean
        default: true</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:gitlab?rev=1765876436&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-16T09:13:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gitlab</title>
        <link>https://wiki-dev.forfog.com/wiki:gitlab?rev=1765876436&amp;do=diff</link>
        <description>Install


mkdir -p /opt/gitlab/bin
curl -L -o /opt/gitlab/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
chmod +x /opt/gitlab/bin/gitlab-runner
useradd -m -s /bin/bash gitlab
/opt/gitlab/bin/gitlab-runner install --user=gitlab --working-directory=/home/gitlab
/opt/gitlab/bin/gitlab-runner start
/opt/gitlab/bin/gitlab-runner register xxx</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:hack_hydra?rev=1713729303&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T19:55:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hack_hydra</title>
        <link>https://wiki-dev.forfog.com/wiki:hack_hydra?rev=1713729303&amp;do=diff</link>
        <description>Basic Auth


hydra -V -l &lt;login&gt; -P &lt;path_to_dict&gt; &lt;host&gt; http-head &lt;url&gt;


SSH


hydra -V -l &lt;login&gt; -P &lt;path_to_dict&gt; -t 1 &lt;host&gt; ssh


 


Examples

OpenWRT LuCI


hydra -V -l root -P &lt;path_to_dict&gt; -t 1 &lt;ip_address&gt; http-post-form -m &quot;/cgi-bin/luci:username=^USER^&amp;password=^PASS^:Authorization Required&quot;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:hack_office?rev=1713729737&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T20:02:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hack_office</title>
        <link>https://wiki-dev.forfog.com/wiki:hack_office?rev=1713729737&amp;do=diff</link>
        <description>Convert to john

office2john file.xlsx &gt; hash.txt

Brute force with john

john --rules --wordlist=dict.txt hash.txt</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:hack_rar?rev=1713728019&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T19:33:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hack_rar</title>
        <link>https://wiki-dev.forfog.com/wiki:hack_rar?rev=1713728019&amp;do=diff</link>
        <description>cRARk


crark -v -lX -gY -pFILE.DEF arhive.rar
x - min password length
Y - max password length
FILE.DEF - defenition file</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:hack_sip?rev=1713729589&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T19:59:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hack_sip</title>
        <link>https://wiki-dev.forfog.com/wiki:hack_sip?rev=1713729589&amp;do=diff</link>
        <description>Dump

tcpdump -i eth0 -s0 -w sip.pcap udp and host 10.0.0.1

Get auths

sipdump -p sip.pcap sip.logins

Brute force passwd

sipcrack -w pass.txt sip.logins</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:hack?rev=1713729630&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T20:00:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hack</title>
        <link>https://wiki-dev.forfog.com/wiki:hack?rev=1713729630&amp;do=diff</link>
        <description>Dictionary

Password Dicts

Gen 4-digit passwords

crunch 4 4 1234567890 -o &lt;out_file&gt;

Gen by pattern passXXXX

crunch 8 8 1234567890 -t pass@@@@ -o &lt;out_file&gt;

Gen 8-charset

/usr/share/crunch/charset.lst

crunch 8 8 -f /usr/share/crunch/charset.lst mixalpha -o &lt;out_file&gt;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:ipfs?rev=1712775936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T19:05:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ipfs</title>
        <link>https://wiki-dev.forfog.com/wiki:ipfs?rev=1712775936&amp;do=diff</link>
        <description>Commands

Add file (server/cluster)


ipfs add &lt;file&gt;
ipfs-cluster-ctl add &lt;file&gt;


Pin file (server/cluster)


ipfs pin add &lt;hash&gt;
ipfs-cluster-ctl pin add &lt;hash&gt;


Gateways


https://ipfs.io/ipfs/QmXicHqMAwWRT6FTK2R1buTK1vj2FYnW69yEuHEPMBgoBG/
https://cloudflare-ipfs.com/ipfs/QmXicHqMAwWRT6FTK2R1buTK1vj2FYnW69yEuHEPMBgoBG
https://cf-ipfs.com/ipfs/QmXicHqMAwWRT6FTK2R1buTK1vj2FYnW69yEuHEPMBgoBG</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:jenkins-decrypt?rev=1712779648&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T20:07:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jenkins-decrypt</title>
        <link>https://wiki-dev.forfog.com/wiki:jenkins-decrypt?rev=1712779648&amp;do=diff</link>
        <description>import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.domains.*

// When called without paramters will returns all global credentials
retrieveCredentials()
// To retrieve specific credentials, just pass their ids as parameter.
// For instance to retrieve credentials credId_1 and credId_2, just perform
// such call:
// retrieveCredentials(&#039;credId_1&#039;,&#039;credId_2&#039;)
  
def retrieveCredentials(String... credIds) {
  
  def credentialsProvider = Jenkins.instance.getExtensio…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:jenkins?rev=1738590412&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-03T13:46:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jenkins</title>
        <link>https://wiki-dev.forfog.com/wiki:jenkins?rev=1738590412&amp;do=diff</link>
        <description>Decrypt Script


PyTest html report issue

Console


System.getProperty(&quot;hudson.model.DirectoryBrowserSupport.CSP&quot;)
System.setProperty(&quot;hudson.model.DirectoryBrowserSupport.CSP&quot;, &quot;style-src &#039;self&#039; &#039;unsafe-inline&#039;;&quot;)


Permanent


JAVA_OPTS -Dhudson.model.DirectoryBrowserSupport.CSP=\&quot;style-src &#039;self&#039; &#039;unsafe-inline&#039;;\&quot;&quot;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:jq?rev=1713367714&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-17T15:28:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jq</title>
        <link>https://wiki-dev.forfog.com/wiki:jq?rev=1713367714&amp;do=diff</link>
        <description>Json to ini

JSON to INI


jq -r &#039;to_entries[] | .key + &quot;=\&quot;&quot; + .value + &quot;\&quot;&quot;&#039; file.json


Concat


jq -s &#039;.[0] * .[1]&#039; file1.json file2.json</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:kubernetes?rev=1751176402&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-29T05:53:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>kubernetes</title>
        <link>https://wiki-dev.forfog.com/wiki:kubernetes?rev=1751176402&amp;do=diff</link>
        <description>KubeCtl

Helm

ArgoCD</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:liveusb?rev=1766520398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-23T20:06:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>liveusb</title>
        <link>https://wiki-dev.forfog.com/wiki:liveusb?rev=1766520398&amp;do=diff</link>
        <description>Partition


parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart biosboot 1MiB 3MiB
parted /dev/sda -- set 1 bios_grub on
parted /dev/sda -- mkpart ESP fat32 3MiB 1024MiB
parted /dev/sda -- set 2 esp on
parted /dev/sda -- mkpart ISO ext4 1024MiB 16GiB
parted /dev/sda -- mkpart DATA fat32 16GiB 100%

parted /dev/sda print</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:lxc?rev=1730565172&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-02T16:32:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>lxc</title>
        <link>https://wiki-dev.forfog.com/wiki:lxc?rev=1730565172&amp;do=diff</link>
        <description>Commnads

Config


pct config &lt;id&gt;
pct set &lt;id&gt; --cores 4 --memory 2048
pct resize &lt;id&gt; rootfs 32G


Images


pveam available
pveam download local image.tar.gz
pveam list local


LXC Kernel Logs


apt install -y ulogd2

cp /etc/ulogd.conf /etc/ulogd.conf.ORIG
cat&lt;&lt;EOF&gt;/etc/ulogd.conf
[global]
logfile=&quot;syslog&quot;
loglevel=3
stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,iptables:LOGEMU
[log1]
group=1
[iptables]
file=&quot;/var/log/iptables.log&quot;
sync=1
EOF

systemctl restart ulogd…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:mfa?rev=1767188357&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-31T13:39:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mfa</title>
        <link>https://wiki-dev.forfog.com/wiki:mfa?rev=1767188357&amp;do=diff</link>
        <description>Google Auth

Get secret

Download from &lt;https://github.com/scito/extract_otp_secrets&gt;


extract_otp_secrets_2.12.0_linux_x86_64
...
otpauth://totp/Eduard%20Kotoyants:e.kotoyants?secret=XXXXXX&amp;issuer=Eduard%20Kotoyants


Get code


yay oath-toolkit
oathtool --totp --base32 XXXXXX</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:mongodb?rev=1744046814&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-07T17:26:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mongodb</title>
        <link>https://wiki-dev.forfog.com/wiki:mongodb?rev=1744046814&amp;do=diff</link>
        <description>User Management

Create


use admin
db.getUsers()
db.createUser({ user: &#039;admin&#039;, pwd: &#039;xxx&#039;, roles: [ { role: &#039;root&#039;, db: &#039;admin&#039; }] })


Delete


db.dropUser(&#039;admin&#039;)


Dump


mongodump --db=database --out=/tmp/dump
mongodump --verbose --authenticationDatabase=admin mongodb://user:passwd@127.0.0.1:27017/database --out=/tmp/backup/</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:mssql?rev=1734428685&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-17T09:44:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mssql</title>
        <link>https://wiki-dev.forfog.com/wiki:mssql?rev=1734428685&amp;do=diff</link>
        <description>ReadOnly User


CREATE LOGIN reader WITH password=&#039;******&#039;;
GO
USE Database;
GO
CREATE USER reader FOR LOGIN reader;
GO
ALTER ROLE db_datareader ADD MEMBER reader;
GO</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:mysql?rev=1715156366&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-08T08:19:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mysql</title>
        <link>https://wiki-dev.forfog.com/wiki:mysql?rev=1715156366&amp;do=diff</link>
        <description>MySQL Conf


[client]
host=127.0.0.1
database=db_name
user=db_user
password=db_passwd


MySQL Dump

Dump ALL databases

mysqldump -ER --triggers --tz-utc -e --default-character-set=utf8 --master-data=2 -r $(date &#039;+%y%m%d-%H%M%S&#039;)-all-databases.sql --all-databases</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:navigation?rev=1713730252&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T20:10:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>navigation</title>
        <link>https://wiki-dev.forfog.com/wiki:navigation?rev=1713730252&amp;do=diff</link>
        <description>Devops 

Devices 

Hack 

-

Nissan \ Smart 

-

Config</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:nginx_php?rev=1715155117&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-08T07:58:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nginx_php</title>
        <link>https://wiki-dev.forfog.com/wiki:nginx_php?rev=1715155117&amp;do=diff</link>
        <description>root /var/www/;
    index index.php;
 
    location / {
        try_files $uri $uri/ /index.php?$args;
    }
 
    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_intercept_errors on;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_pass unix:/var/run/php/php-fpm.sock;
        include fastcgi_params;
    }
 
    location ~* \.(?:ico|css|js|gif|jpe?g|png|…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:nginx?rev=1715155406&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-08T08:03:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nginx</title>
        <link>https://wiki-dev.forfog.com/wiki:nginx?rev=1715155406&amp;do=diff</link>
        <description>PHP

Security

Gen DH

openssl dhparam -out /etc/nginx/ssl/dhparam4096.pem 4096

Basic Auth

printf &quot;${username}:`openssl passwd -apr1`\n&quot; &gt;&gt; .htpasswd

Locations


location  = / {
  # matches the query / only.
}
location ^~ /images/ {
  # matches any query beginning with /images/ and halts searching,
  # so regular expressions will not be checked.
}
location ~* \.(gif|jpg|jpeg)$ {
  # matches any request ending in gif, jpg, or jpeg. However, all
  # requests to the /images/ directory will be ha…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:nissan?rev=1767452014&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-03T14:53:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nissan</title>
        <link>https://wiki-dev.forfog.com/wiki:nissan?rev=1767452014&amp;do=diff</link>
        <description>Сервис


xx.xx.2025 Ремонт     [xxxxxx]   17.12.2025 ТО         [131894]   xx.xx.2024 To         [хххххх]   17.07.2023 Ремонт     [хххххх]   14.01.2023 ТО         [107346]
Top Service                      Top Service                      Top Service                      Turkey                           Tegeta
 Масло коробки         ?х? 300    Liqui Moly 5w30 STAA 8х45 315    Масло                  ?х?  ?    Торм. колодки пер.     2х?  ?    Shell Helix 5w30       ?х?  ?
 Фильтр                2х …</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:opensearch?rev=1747820312&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-21T09:38:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>opensearch</title>
        <link>https://wiki-dev.forfog.com/wiki:opensearch?rev=1747820312&amp;do=diff</link>
        <description>Users

Create User


curl -s -H &quot;Content-Type: application/json&quot; -u &quot;$admin_user:$admin_pass&quot; -X PUT &quot;$url/_opendistro/_security/api/internalusers/$user&quot; -d &#039;{&quot;password&quot;: &quot;$user_pass&quot;,&quot;backend_roles&quot;: [&quot;$role_name&quot;]}&#039; | jq
curl -s -H &quot;Content-Type: application/json&quot; -u &quot;$user:$pass&quot; -X GET &quot;$url/_opendistro/_security/api/user&quot;|jq</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:rabbitmq?rev=1713865715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-23T09:48:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rabbitmq</title>
        <link>https://wiki-dev.forfog.com/wiki:rabbitmq?rev=1713865715&amp;do=diff</link>
        <description>Purge queue

rabbitmqadmin purge queue name=&lt;queue_name&gt;

Purge all queues

rabbitmqadmin list queues name -f tsv | xargs -I qn rabbitmqadmin purge queue name=qn

Delete all queues

rabbitmqadmin list queues name -f tsv | xargs -I qn rabbitmqadmin delete queue name=qn</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:slack?rev=1755780821&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-21T12:53:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>slack</title>
        <link>https://wiki-dev.forfog.com/wiki:slack?rev=1755780821&amp;do=diff</link>
        <description>Curl


curl -X POST https://slack.com/api/chat.postMessage -H &quot;Authorization: Bearer xoxb-XXXXXXXXXXXX&quot; -H &quot;Content-Type: application/json&quot; -d &#039;{
  &quot;channel&quot;: &quot;#argocd&quot;,
  &quot;text&quot;: &quot;Message&quot;,
  &quot;username&quot;: &quot;ArgoCD&quot;,
  &quot;icon_emoji&quot;: &quot;:robot_face:&quot;
}&#039;</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:smart?rev=1713729824&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-21T20:03:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>smart</title>
        <link>https://wiki-dev.forfog.com/wiki:smart?rev=1713729824&amp;do=diff</link>
        <description>Ремонт


SmartCenter
  Ступица передняя прав  1x950 400 1350
  Подушка цен-ая        1x1000 400 1400    
    (со скидкой)         1х700 200  900
  Подушка пр-ая         1х1300 400  700
---------------------------------------
Сумма                              3450
Скидка                              500
---------------------------------------
Итого                              2950</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:ssh?rev=1762176274&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-03T13:24:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssh</title>
        <link>https://wiki-dev.forfog.com/wiki:ssh?rev=1762176274&amp;do=diff</link>
        <description>Add port via Socket


mkdir -p /etc/systemd/system/ssh.socket.d

/etc/systemd/system/ssh.socket.d/listen.conf
[Socket]
ListenStream=22
ListenStream=10022

systemctl daemon-reload


XGD Open SSH

&lt;https://github.com/yurenchen000/xdg-open-ssh&gt;


cat &lt;&lt; EOF &gt; ~/.local/share/applications/ssh-handler.desktop
[Desktop Entry]
Type=Application
Name=SSH Handler
Exec=$HOME/.local/bin/xdg-open-ssh.sh %u
Icon=utilities-terminal
StartupNotify=false
MimeType=x-scheme-handler/ssh
EOF

cat &lt;&lt; EOF &gt; ~/.local/bin…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:ssl?rev=1773136232&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-10T09:50:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssl</title>
        <link>https://wiki-dev.forfog.com/wiki:ssl?rev=1773136232&amp;do=diff</link>
        <description>Info SSL Certs


openssl x509 -noout -text -in example.crt
openssl s_client -showcerts -servername example.com -connect example.com:443 2&gt;/dev/null | openssl x509 -inform pem -noout -text


Info SSL CSR


openssl req -noout -text -in example.com.csr</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:swap?rev=1747207222&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-14T07:20:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>swap</title>
        <link>https://wiki-dev.forfog.com/wiki:swap?rev=1747207222&amp;do=diff</link>
        <description>Swap File (64G)


sudo dd if=/dev/zero of=/swapfile bs=1M count=65536
chmod 600 /swapfile
mkswap /swapfile
echo &#039;/swapfile none swap sw 0 0&#039; &gt;&gt; /etc/fstab
swapon -a</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:syntax?rev=1712774424&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T18:40:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntax</title>
        <link>https://wiki-dev.forfog.com/wiki:syntax?rev=1712774424&amp;do=diff</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:telegram?rev=1712776421&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T19:13:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>telegram</title>
        <link>https://wiki-dev.forfog.com/wiki:telegram?rev=1712776421&amp;do=diff</link>
        <description>Send script

Bash


TELEGRAM_TOKEN=&quot;1111111111:AAAAAAAAAAAAAAAAAAAAAAAAA&quot;
CHAT_ID=&quot;-111111111&quot;
MESSAGE=&quot;Test message&quot;

curl -X POST -H &quot;Content-Type: application/json&quot; -d &quot;{\&quot;chat_id\&quot;:\&quot;${CHAT_ID}\&quot;,\&quot;text\&quot;:\&quot;${MESSAGE}\&quot;}&quot; &quot;https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage&quot;

# for channels to disable push notifications add:
#&quot;disable_notification&quot;:true</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:welcome?rev=1712774424&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-10T18:40:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>welcome</title>
        <link>https://wiki-dev.forfog.com/wiki:welcome?rev=1712774424&amp;do=diff</link>
        <description>Welcome to your new DokuWiki

Congratulations, your wiki is now up and running. Here are a few more tips to get you started.

Enjoy your work with DokuWiki,

-- the developers

Create your first pages

Your wiki needs to have a start page. As long as it doesn&#039;t exist, this link will be red:</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:wireguard?rev=1746040264&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-30T19:11:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wireguard</title>
        <link>https://wiki-dev.forfog.com/wiki:wireguard?rev=1746040264&amp;do=diff</link>
        <description>Auto-install script


https://github.com/Nyr/wireguard-install


Generate keys


wg genkey | tee private.key | wg pubkey &gt; public.key


Server Config


[Interface]
Address = 10.0.0.1/24
PrivateKey = &lt;server private key&gt;
ListenPort = 51820

PostUp =   iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -m comment --comment &quot;WG NAT&quot; -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -s 10.0.0.0/24 -o eth0 -m comment -…</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:wordpress?rev=1715173097&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-08T12:58:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wordpress</title>
        <link>https://wiki-dev.forfog.com/wiki:wordpress?rev=1715173097&amp;do=diff</link>
        <description>wp-cli

Install

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Info

php wp-cli.phar --info

Change domain

php wp-cli.phar --path=&lt;wp_install_dir&gt; search-replace &#039;&lt;old_domain.com&gt;&#039; &#039;&lt;new_domain.com&gt;&#039;

Root Password</description>
    </item>
    <item rdf:about="https://wiki-dev.forfog.com/wiki:zabbix?rev=1739290261&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-11T16:11:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zabbix</title>
        <link>https://wiki-dev.forfog.com/wiki:zabbix?rev=1739290261&amp;do=diff</link>
        <description>Telegram Notify

notify_telegram.sh -123456789 &quot;Title&quot; &quot;Message&quot;


TELEGRAM_TOKEN=&quot;12345:ABCDEFGH&quot;
CHAT_ID=&quot;$1&quot;
TITLE=&quot;$2&quot;
MESSAGE=&quot;$3&quot;

curl -X POST -H &quot;Content-Type: application/json&quot; -d &quot;{\&quot;chat_id\&quot;:\&quot;${CHAT_ID}\&quot;,\&quot;title\&quot;:\&quot;${TITLE}\&quot;,\&quot;text\&quot;:\&quot;${MESSAGE}\&quot;}&quot; &quot;https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage&quot;</description>
    </item>
</rdf:RDF>
