{"batchcomplete":"","continue":{"lecontinue":"2025-05-17 07:40:49+00|11","continue":"-||"},"query":{"logevents":[{"logid":21,"ns":0,"title":"Firefox over X11 with Xming","pageid":20,"logpage":20,"revid":21,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:45:14Z","comment":"Created page with \"I use the xlaunch files like this: <pre> <?xml version=\"1.0\"?> <XLaunch xmlns=\"http://www.straightrunning.com/XmingNotes\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"  xsi:schemaLocation=\"http://www.straightrunning.com/XmingNotes XLaunch.xsd\" WindowMode=\"MultiWindow\"  ClientMode=\"StartProgram\" Program=\"firefox\" ClientStart=\"PuTTY\" PW=\"password\" PathToProtocol=\"C:\\\\WINDOWS\\\\\"  RemoteHost=\"host\" RemoteUser=\"username\" ExtraSSH=\"-X\" Display=\"0\" Clipboard=\"true\"/> </...\""},{"logid":20,"ns":0,"title":"One liners","pageid":19,"logpage":19,"revid":20,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:44:37Z","comment":"Created page with \"== sed ==  Replace all enters with spaces with sed. <pre> sed ':a;N;$!ba;s/\\n/ /g' </pre> <br> Replace all uppercase letters with lowercase with sed. <pre> sed -e 's/\\(.*\\)/\\L\\1/' </pre>  The same with tr <pre> tr '[:upper:]' '[:lower:]' </pre>  Get only the dashed mac addresses from a file <pre> grep -o '..-..-..-..-..-..' file </pre>  == Powershell ==  One liner powershell command to uninstall the application 'Linphone'. <pre> C:\\windows\\system32\\WindowsPowerShell\\v1.0...\""},{"logid":19,"ns":0,"title":"SSL","pageid":18,"logpage":18,"revid":19,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:44:18Z","comment":"Created page with \"=Self Signed Certificate= Easiest way to create a self-signed certificate for domain.com:  <pre> openssl req -subj \"/CN=domain.com\" -new -newkey rsa:4096 -days 3650 -nodes -x509 -sha512 -keyout private.key -out public.key </pre>  If you want to add more domain names, just add more /CN=example.com between the double quotes. The last common name will be the main common name.<br/> Remember: keep your private.key private. Change rights to the file accordingly so that only th...\""},{"logid":18,"ns":0,"title":"Bonding","pageid":17,"logpage":17,"revid":18,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:44:01Z","comment":"Created page with \"=linux network interface bonding=  I wanted to make the following configuration:  <table border=1> <tr><td colspan=4>bond2 (active-backup mode)</td></tr> <tr><td colspan=2>bond0 (802.3ad mode)</td><td colspan=2>bond1 (802.3ad mode)</td></tr> <tr><td>eth0 (in switch 1)</td><td>eth1 (in switch 1)</td><td>eth2 (in switch 2)</td><td>eth3 (in switch 2)</td></tr> </table>  So I made the following:  <pre> #!/bin/sh # load 3 bonds (in 802.3ad mode) /sbin/modprobe bonding mode=4...\""},{"logid":17,"ns":0,"title":"Windows XP Fixed IPv6","pageid":16,"logpage":16,"revid":17,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:43:44Z","comment":"Created page with \"* I have prefix 2001:1af8:fe50::/48 * My router address is 2001:1af8:fe50::f000   From an administrator cmd.exe do: <pre> ipv6 install ipv6 if </pre> Look for your interface number. Let's pretend it's 3. <pre> ipv6 adu 3/2001:1af8:fe50::dead ipv6 rtu ::/0 3/2001:1af8:fe50::f000 </pre>\""},{"logid":16,"ns":0,"title":"7zip tricks","pageid":15,"logpage":15,"revid":16,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:43:16Z","comment":"Created page with \"7zip tricks  ==7zip from dosbox==  To create seperate zip files from the commandline in dos with 7zip the following:  <pre> forfiles /M data.* /C \"cmd /c 7z a @file.zip @file\" </pre> In the following directory:  <pre> C:\\TEMP>dir  Volume Serial Number is 1337-1337   Directory of C:\\TEMP  01-01-2001  00:00    <DIR>          . 01-01-2001  00:00    <DIR>          .. 01-01-2001  07:00            16.384 data.log 01-01-2001  08:00            16.384 data.dat 01-01-2001  09:00...\""},{"logid":15,"ns":0,"title":"BIND IPv6 $GENERATE","pageid":14,"logpage":14,"revid":15,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:42:43Z","comment":"Created page with \"There is no $GENERATE command available on IPv6, therefore you must specify every forward and reverse entry in bind manually. You could however use the $INCLUDE statement to include a range you have generated with a script. I will post a script here to generate IPv6 forward and reverse files you can include in bind.  =generate-forward-ipv6.sh= <pre> #!/bin/sh # generate 250 of these lines: # ip20-042     IN      AAAA    2001:dead:beef:14::2a # where 20(0x14) is the vlani...\""},{"logid":14,"ns":0,"title":"VLC Streaming","pageid":13,"logpage":13,"revid":14,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:42:18Z","comment":"Created page with \"=Streaming with VLC from the command line=  ==Logitech C910== I've tried the Logitech C910, but it won't focus to infinity without an extra lens.  ==Logitech C920== The Logitech C920 still doesn't focus fully to infinity, but the picture is clear enough.  I have streamed to a site-local multicast address with transcoding, because the C920 gives a standard image format of yuy2, which isn't stream-able in a transport stream. <pre> cvlc -vvvv --v4l2-width=1920 --v4l2-height...\""},{"logid":13,"ns":0,"title":"Sendmail Config Authenticated SMTP","pageid":12,"logpage":12,"revid":13,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:41:52Z","comment":"Created page with \"I made the following configuration:   * Sendmail SMTP (listening on port 25 and SSL port 465)<br> * Authentication through cyrus-sasl2 (listening on socket /var/state/saslauthd/mux)<br> * Authentication through pam (with the pam_radius module)<br> * Authentication with FreeRadius (for now in the users file)<br>  So for this configuration to work you need FreeRadius, pam_radius, Linux-PAM, cyrus-sasl2 and sendmail.  N.B.: I did this in my favourite distro Slackware. (13.3...\""},{"logid":12,"ns":0,"title":"Sendmail Config Antispam","pageid":11,"logpage":11,"revid":12,"params":{},"type":"create","action":"create","user":"Pverha10","timestamp":"2025-05-17T07:41:09Z","comment":"Created page with \"=Don't allow domain hijack= The following configuration part is a replacement for the check_mail ruleSet. It can check whether the domains from LocalDomains within the from-addresses being offered to sendmail are coming from the IP-addresses/ranges that are defined in LocalIP. Please make sure the space in between the left-hand-side and the right-hand-side of the configuration are seperated by tabs.  <pre> F{LocalDomains} /etc/mail/LocalDomains F{LocalIP} /etc/mail/Local...\""}]}}