Ilya-S-Zharskiy
code Windows-Subsystem-for-Linux wsldl WSL2 .wslconfig
https://learn.microsoft.com/en-us/windows/wsl/install-on-server


*ДИСТРИБУТИВЫ*
https://i.imgur.com/2hxhlJd.png
https://wsldl-pg.github.io/docs/Using-wsldl/#distros

Windows Store Link for Oracle Linux 8 Update 5 Published by Oracle America, Inc. 1/31/2022 https://apps.microsoft.com/store/detail/oracle-linux-85/9P06H18WXBVP

https://github.com/mishamosher/CentOS-WSL https://github.com/mishamosher/CentOS-WSL/releases/tag/8-stream-20230626

 CentOS 9-stream-20230626 Latest
https://github.com/mishamosher/CentOS-WSL/releases/download/9-stream-20230626/CentOS9-stream.zip *460МБ*

https://raw.githubusercontent.com/yosukes-dev/FedoraWSL/master/img/screenshot.png
https://github.com/yosukes-dev/FedoraWSL/releases 37.20230124.0 FedoraWSL *60МБ* https://github.com/yosukes-dev/FedoraWSL/releases/download/37.20230124.0/Fedora37.zip

Pengwin (formerly WLinux) is a Linux distribution based on Debian that is designed for WSL users by independent open source developers at Whitewater Foundry.



*USB*

Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL2
https://github.com/dorssel/usbipd-win


*СЕТЬ*

 sakai135/wsl-vpnkit - Provides network connectivity to WSL 2 when blocked by VPN https://github.com/sakai135/wsl-vpnkit

shayne/go-wsl2-host - Automatically update your Windows hosts file with the WSL2 VM IP address host


CzBiX / WSLHostPatcher https://github.com/microsoft/WSL/issues/4150#issuecomment-1018524753
Dynamic patch WSL2 to listen port on any interface. https://learn.microsoft.com/en-us/windows/wsl/wsl-config#configuration-setting-for-wslconfig 



*МЕНЕДЖЕРЫ*

Advanced WSL/WSL2 Distribution Launcher / Installer (Win10 FCU x64/arm64 or later) 
https://github.com/yuk7/wsldl

A full-featured utility for managing Windows Subsystem for Linux (WSL) 
https://github.com/DDoSolitary/LxRunOffline/releases

или 

choco upgrade -y wsl2-distro-manager

или

https://github.com/emeric-martineau/wsl-gui-tool -  Manage WSL (Windows Subsystem for Linux) with a graphical application 

https://github.com/cascadium/wsl-windows-toolbar-launcher


*ПО*
https://github.com/ethanhs/WSL-Programs

Ilya-S-Zharskiy
code K8s container.training презентация слайды учёба Kubernetes
https://github.com/jpetazzo/container.training

на примере приложения dockercoins.yml показан запуск микросервиса в кубернетес, мониторинг, логирование, обновление, настройки сети и т.д.

есть все настройки для локального запуска, в т.ч. виртуалки и установка кубера
(используется Vagrant)
https://github.com/jpetazzo/container.training/tree/main/prepare-local

Есть записи предыдущих мероприятий (т.е. озвучка слайдов), разбитые на короткие главы с осмысленными названиями
https://www.youtube.com/playlist?list=PLBAFXs0YjviJwCoxSUkUPhsSxDJzpZbJd

https://i.imgur.com/vcIzAFX.png


Часть информации устарела (2018..2019), но не обязательно читать всё подряд (всего там сейчас 2320 слайдов)

можно скачать архив, открыть kube-selfpaced.yml.html и смотреть локально 

аффтар  
Jérôme Petazzoni @jpetazzo

Ilya-S-Zharskiy
code executable_.JARs .rarJPEG
https://blog.derlin.ch/how-to-create-jars-that-run-like-any-other-executable

> Since JAR is a variant of ZIP, it works for them as well. It means it is possible to append a bash script, acting like a launcher, at the beginning of a jar file without corrupting it

# Append a basic launcher script to the jar
cat \
  <(echo '#!/bin/sh')\
  <(echo 'exec java -jar $0 "$@"')\
  <(echo 'exit 0')\
  original.jar > executable.jar

# Make the new jar executable
chmod +x executable.jar


#!/bin/sh
[[ -n "$DEBUG" ]] && set -x

# Find Java (cf: spring-boot launcher)
if [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then
    javaexe="$JAVA_HOME/bin/java"
elif type -p java > /dev/null 2>&1; then
    javaexe=$(type -p java)
elif [[ -x "/usr/bin/java" ]];  then
    javaexe="/usr/bin/java"
else
    echo "Unable to find Java"
    exit 1
fi

# run jar
exec $javaexe -jar $0 "$@"
exit 0
Ilya-S-Zharskiy
code lacp switching CCIE vlan torrent xtremeie Cisco networking
magnet:?xt=urn:btih:2e3d6ebdad5735f875d5aded904ba439debeeb27&dn=CCIE+Routing+%26+Switching+5.1+Layer+2+Technologies&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.opentrackr.org:1337/announce



Name:	CCIE Routing & Switching 5.1 Layer 2 Technologies
Size:	6.32 GB
Age:	2 years
Files:	72

 3. VLANs

 1. Access Ports.mp4
296.23 MB
 1. Access Ports.srt
45.64 KB
 2. VLAN Database.mp4
452.38 MB
 2. VLAN Database.srt
66.16 KB
 4. Trunking

 1. VTP v1 – VTP v2.mp4
421.74 MB
 1. VTP v1 – VTP v2.srt
69.94 KB
 2. VTP v3.mp4
199.40 MB
 2. VTP v3.srt
28.25 KB
 3. VTP Pruning.mp4
80.90 MB
 3. VTP Pruning.srt
9.73 KB
 4. Manual Pruning.mp4
132.02 MB
 4. Manual Pruning.srt
20.23 KB
 5. dot1Q.mp4
222.99 MB
 5. dot1Q.srt
43.51 KB
 5. Etherchannels

 1. Introduction to Etherchannels.mp4
293.10 MB
 1. Introduction to Etherchannels.srt
40.79 KB
 2. Etherchannel Misconfiguration Guard.mp4
102.10 MB
 2. Etherchannel Misconfiguration Guard.srt
13.85 KB
 3. Layer 3 Etherchannels.mp4
68.52 MB
 3. Layer 3 Etherchannels.srt
9.11 KB
 4. Etherchannel Load-Balancing.mp4
63.02 MB
 4. Etherchannel Load-Balancing.srt
9.73 KB
 5. PAgP.mp4
240.34 MB
 5. PAgP.srt
35.05 KB
 6. LACP.mp4
237.27 MB
 6. LACP.srt
41.62 KB


сетевики-затейники, помогите скачать торрент и посидируйте чутка плез - вот на этих трекерах:

https://github.com/ngosang/trackerslist/blob/master/trackers_best_ip.txt
https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_https.txt
Ilya-S-Zharskiy
groovy code
"groovy" конструкторы -VW -пазл -пазлы -куриный -Кроссовки -лошадка -70s -80s -solei  -Baby -Велокресло   -Куинси -Barbie -Estiara   -Scrapbook -бейсболка -дзен -kotlin -wordpress -hiper -ночник -Babe -LEGO -CDEK -наволочка  -клана   -lego
// Когда для языка погромирования выбрали неудачное название
Ilya-S-Zharskiy
модем code плюшки openwrt
http://openwrt.132lan.ru/packages/21.02/packages/
aarch64_cortex-a53/	2022-Sep-09 23:08:59	-  	Directory
aarch64_cortex-a72/	2022-Sep-11 17:44:26	-  	Directory
aarch64_generic/	2022-Sep-09 21:03:17	-  	Directory
arc_arc700/	2022-Sep-12 05:32:52	-  	Directory
arc_archs/	2022-Sep-11 14:53:54	-  	Directory
arm_arm1176jzf-s_vfp/	2022-Sep-11 16:40:11	-  	Directory
arm_arm926ej-s/	2022-Sep-11 18:46:22	-  	Directory
arm_cortex-a15_neon-vfpv4/	2022-Sep-11 19:52:12	-  	Directory
arm_cortex-a5_vfpv4/	2022-Sep-11 20:57:04	-  	Directory
arm_cortex-a7_neon-vfpv4/	2022-Sep-09 20:03:20	-  	Directory
arm_cortex-a8_vfpv3/	2022-Sep-12 12:34:37	-  	Directory
arm_cortex-a9_neon/	2022-Sep-12 08:48:00	-  	Directory
arm_cortex-a9_vfpv3-d16/	2022-Sep-12 19:35:11	-  	Directory
arm_cortex-a9/	2022-Sep-13 09:30:27	-  	Directory
arm_fa526/	2022-Sep-12 07:43:49	-  	Directory
arm_mpcore/	2022-Sep-12 13:37:03	-  	Directory
arm_xscale/	2022-Sep-10 00:06:57	-  	Directory
i386_pentium-mmx/	2022-Sep-12 22:55:09	-  	Directory
i386_pentium4/	2022-Sep-12 21:45:27	-  	Directory
mips_24kc/	2022-Sep-09 19:05:18	-  	Directory
mips_4kec/	2022-Sep-12 17:25:07	-  	Directory
mips_mips32/	2022-Sep-12 06:36:58	-  	Directory
mips64_octeonplus/	2022-Sep-12 11:33:40	-  	Directory
mipsel_24kc/	2022-Sep-09 18:05:52	-  	Directory
mipsel_74kc/	2022-Sep-13 07:23:45	-  	Directory
mipsel_mips32/	2022-Sep-13 08:27:37	-  	Directory
powerpc_464fp/	2022-Sep-12 04:29:09	-  	Directory
powerpc_8540/	2022-Sep-12 09:49:50	-  	Directory
x86_64/	2022-Sep-09 22:03:34	-  	Directory
add.sh	2022-Sep-29 05:13:16	0.3K	text/x-sh; charset=utf-8
readme.txt	2022-Sep-13 17:55:23	0.2K	text/plain; charset=utf-8
repo.pub	2022-Oct-09 20:42:27	0.1K	application/octet-stream
lurker
code JS
// кандидат на самый бесполезный код месяца:
  window.beforeunload = () => {
    im.delete();
    imagePoints.delete();
    distCoeffs.delete();
    rvec.delete();
    tvec.delete();
    pointZ.delete();
    pointY.delete();
    pointX.delete();
    noseEndPoint2DZ.delete();
    nose_end_point2DY.delete();
    nose_end_point2DX.delete();
    jaco.delete();
  };
Self-Perfection
code
go get -u github.com/swaggo/swag/cmd/swag
go install github.com/swaggo/swag/cmd/swag

# Вот смотрите как некрасивенько. Так и хочется добавить один пробел перед урлом репозитория в первой команде, чтобы он точно выровнялся с урлом в следующей команде и код стало гораздо проще читать.

# Вот казалось бы очень простой приём, но в окружении им редко пользуются.
Не раз на code review я предлагал добавить пробелов.

# Непонятно почему. Люди привыкли к гуям и культура красивого оформления plain text им не близка?
Ilya-S-Zharskiy
code Manage-keyring-files-in-trusted.gpg.d-instead apt-update Key-is-stored-in-legacy-trusted.gpg-keyring apt-key-is-deprecated. apt-get
https://askubuntu.com/a/1307181/701348

The instructions given in Ugo Delle Donne's answer for converting the key to the (legacy) keyring v4 format that apt will accept are correct and helpful, but that's only half of the solution. I'll reiterate them here (cleaned up slightly) so all the steps are consolidated in one place:

    Download the key:
        wget https://host.domain.tld/path/to/<keyfile>.<ext>
        (No need for -O or >; wget defaults to saving the file in your current directory with the same filename it has on the server.)
    Verify that the filetype is "PGP public key block Public-Key (old)":
        file <keyfile>.<ext>
    gpg supports a number of key formats, so if your key is in a different format, convert it by importing it into a temp keyring, then exporting it again:
        gpg --no-default-keyring --keyring ./temp-keyring.gpg --import <keyfile>.<ext>
        gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output <your-keyfile-name>.gpg
        rm temp-keyring.gpg

Now that you have your converted key, do not add it to apt's trusted keystore by copying it into /etc/apt/trusted.gpg.d/. Instead, put it somewhere like /etc/apt/keyrings/. (You might need to create that keyrings directory first.) There's nothing special about that location, it's just a convention recommended by man 5 sources.list in Ubuntu 22.04 and a related Debian Wiki entry.

At this point, nothing has changed and apt doesn't know the key exists. The last step is to modify the specific .list file for the repository to tell apt where to find the key for that specific repo.

    Edit the file /etc/apt/sources.list.d/<example>.list, and in between deb and the url, add [signed-by=/etc/apt/keyrings/<your-keyfile-name>.gpg]

Now apt will accept that key's signature for all packages in that repo and only that repo.

Notes:

    If you already have keyring files in /etc/apt/trusted.gpg.d/, you can copy move them to /etc/apt/keyrings/ as-is, and then update all the corresponding .list files so each one has a signed-by field pointing to its own key.
    If you already have keys in the /etc/apt/trusted.gpg keyring file beyond the official repo keys, this answer details the steps to locate and remove them. You can then follow all the same steps above to set them up the safer way. (Exporting them from that keyring is also possible, but the exact steps are left as an exercise for the reader.)
    To import a repo's key from a keyserver to a standalone file:
        gpg --no-default-keyring --keyring <output-file-name>.gpg --keyserver <some.keyserver.uri> --recv-keys <fingerprint>
        This should give you a key that apt will accept without conversion.
    Apt is still very trusting, and a malicious or compromised repo can bypass this measure easily because packages currently can run arbitrary shell code as root in their setup scripts. Closing off one attack vector doesn't hurt, though, and progress is (slowly) being made on other fronts.
    Optionally, you can switch to the newer, more verbose Deb822 format using individual .sources files instead of .list files. It's more work, but personally I find the result far more readable.

https://unix.stackexchange.com/questions/332672/how-to-add-a-third-party-repo-and-key-in-debian/582853#582853
Self-Perfection
code
Внезапно в Армении ростелеком тупо по DNS блочит telegra.ph

$ host telegra.ph
telegra.ph has address 0.0.0.0
telegra.ph has IPv6 address ::

Как-то совсем странно. Медузу не блочит.

А где блокировки обсуждают?
Ilya-S-Zharskiy
code VK yt-dlp
https://raw.githubusercontent.com/Mehavoid/yt-dlp/fix-vk-video/yt_dlp/extractor/vk.py

    def _perform_login(self, username, password):
        login_page, url_handle = self._download_webpage_handle(
            'https://vk.com', None, 'Downloading login page')

        login_form = self._hidden_inputs(login_page)

        login_form.update({
            'email': username.encode('cp1251'),
            'pass': password.encode('cp1251'),
        })

        # vk serves two same remixlhk cookies in Set-Cookie header and expects
        # first one to be actually set
        self._apply_first_set_cookie_header(url_handle, 'remixlhk')

        login_page = self._download_webpage(
            'https://vk.com/login', None,
            note='Logging in',
            data=urlencode_postdata(login_form))

        if re.search(r'onLoginFailed', login_page):
            raise ExtractorError(
                'Unable to login, incorrect username and/or password', expected=True)

    def _download_payload(self, path, video_id, data, fatal=True):
        url = 'https://vk.com/%s.php' % path
        data['al'] = 1
        code, payload = self._download_json(
            url,
            video_id,
            data=urlencode_postdata(data), fatal=fatal,
            headers={
                'Referer': url,
                'X-Requested-With': 'XMLHttpRequest'
            }
        )['payload']
        if code == '3':
            self.raise_login_required()
        elif code == '8':
            raise ExtractorError(clean_html(payload[0][1:-1]), expected=True)
        return payload
Ilya-S-Zharskiy
code
PS V:\> yt-dlp.exe https://vk.com/video-56772707_456249513
[vk] -56772707_456249513: Downloading JSON metadata
[vk] -56772707_456249513: Downloading m3u8 information
[info] -56772707_456249513: Downloading 1 format(s): hls-25903
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 581
[download] Destination: Clara Mia and Sylvia Buntarka - Wunf 35 секс porno blowjob sperm отсосы минет сперм
а кончил в рот загорелой с красивыми сиськами [-56772707_456249513].mp4
[download]  57.8% of ~17.44GiB at 584.59KiB/s ETA 01:08:17 (frag 336/581)ERROR: unable to download video da
ta: [Errno 28] No space left on device
lurker
code PHP
есть эксперты? насколько безопасен код

<?php
$url = filter_var($_GET['url'], FILTER_SANITIZE_URL);
header('Location: ' . $url, true, 302);
exit;

ну там с точки зрения всунуть лишние заголовки, куки, не знаю.
Ilya-S-Zharskiy
ReScene code SRR torrent
https://i.imgur.com/IekGjy3.jpg

PS C:\Users\inetuser> choco install -y --version=4.20.0 winrar
Chocolatey v0.10.15                                                                                                                                                                                                                   
Installing the following packages:
winrar                                                                                                                                                                                                                                
By installing you accept licenses for the packages.

winrar v4.20.0 [Approved]                                                                                                                                                                                                             
winrar package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download                                                                                                                                                                   
Downloading winrar 64 bit
  from 'https://www.rarlab.com/rar/winrar-x64-420.exe'
Progress: 100% - Completed download of C:\Users\inetuser\AppData\Local\Temp\chocolatey\winrar\4.20.0\winrar-x64-420.exe (1.58 MB).
Download of winrar-x64-420.exe (1.58 MB) completed.
Installing winrar...
winrar has been installed.
 The install of winrar was successful.                                                                                                                                                                                                
  Software installed as 'exe', install location is likely default.                                                                                                                                                                    

Chocolatey installed 1/1 packages.                                                                                                                                                                                                    
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).                                                                                                                                                             


srrGUI: srr.exe P:\_movies\The.Matrix.Resurrections.2021.HDR.2160p.WEB.H265-PECULATE.srr -ypri N:\_movies\The.Matrix.Resurrections.2021.HDR.2160p.WEB.H265-PECULATE\ -o P:\_movies\The.Matrix.Resurrections.2021.HDR.2160p.WEB.H265-PECULATE\
srrGUI: Process running, please wait...
SRR file created with pyReScene Auto 0.7.
Re-creating stored file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.nfo
Re-creating stored file: Sample/the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate-sample.srs
Re-creating stored file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.sfv
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.rar
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.r00
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.r01
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.r02
...
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.r39
Re-creating RAR file: the.matrix.resurrections.2021.hdr.2160p.web.h265-peculate.r40
------------------------------------------------
srrGUI: Process completed. srr.exe exit code = 0
------------------------------------------------
Ilya-S-Zharskiy
code sendmail.sendmail заебали_своим_PERLом! оракля найди_полтора_отличия very-widely-used-Mail-Transport-Agent
https://fedora.pkgs.org/35/fedora-x86_64/sendmail-8.17.1-1.fc35.x86_64.rpm.html


sendmail-8.14.7-5.el7.x86_64 : A widely used Mail Transport Agent (MTA)
Repo        : ol7_latest
Matched from:
Filename    : /usr/sbin/sendmail.sendmail



sendmail-8.14.7-6.el7.x86_64 : A widely used Mail Transport Agent (MTA)
Repo        : ol7_latest
Matched from:
Filename    : /usr/sbin/sendmail.sendmail



sendmail-8.14.7-6.el7.x86_64 : A widely used Mail Transport Agent (MTA)
Repo        : @ol7_latest
Matched from:
Filename    : /usr/sbin/sendmail.sendmail
Ilya-S-Zharskiy
Win10 code
https://twitter.com/WZorNET/status/1430128395468300288

File:	ru-ru_windows_10_consumer_editions_version_21h1_updated_aug_2021_x64_dvd_48cd4bd6.iso
Family:	Operating Systems
Version:	Windows 10, version 21H1 (Updated Aug 2021)
Language:	Russian - (RU)
CRC-32:	31ade57f
MD5:	32c5d0e88b26535cc4c77176270b93f7
SHA-1:	880f9fef147e1d648e50c114545c2b18753d0b8b
SHA-256:	46bd0b82a5e0005c10bdad8aa73d5c2e87a179ea4d2f027dfc974743660b1764
SHA-512:	99cc16ddaefdc5b66c1cca2da74c547a5b24d6b809f5929bec7e579557ca0a6dd170032f3145aa1fc695209b1c5ef11e563bbe4c52f5e374763ac027c165f706
SHA3-256:	93cad4c9b43fef8a73a533289578631e6e79f16f747526d550cf53b705c4b5fc
SHA3-512:	3c2974a69468e463fa88df98335473eeb40f3403eacacaf8f769f1a053b958d952cd97a8845cbdd57a0381caac05fe147325c017d0a87c5003761836c94aff87
Size:	5.178 GB (5560305664 bytes)


magnet:?xt=urn:btih:89d1cc4ad452423531feb3ec82149cabcf2f53ad&dn=Microsoft%20Windows%2010.0.19043.1165%2c%20Version%2021H1%20(Updated%20August%202021)%20-%20%d0%9e%d1%80%d0%b8%d0%b3%d0%b8%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b5%20%d0%be%d0%b1%d1%80%d0%b0%d0%b7%d1%8b%20%d0%be%d1%82%20Microsoft%20MSDN%20%5bRu%5d&tr=http%3a%2f%2fbt02.nnm-club.cc%3a2710%2f00d2b113c2033d8a5ffd1b248f9fb90c%2fannounce&tr=http%3a%2f%2fbt02.nnm-club.info%3a2710%2f00d2b113c2033d8a5ffd1b248f9fb90c%2fannounce&tr=http%3a%2f%2fretracker.local%2fannounce.php%3fsize%3d18866098176%26comment%3dhttp%253A%252F%252Fnnmclub.to%252Fforum%252Fviewtopic.php%253Fp%253D11257362%26name%3dMicrosoft%2bWindows%2b10.0.19043.1165%252C%2bVersion%2b21H1%2b%2528Updated%2bAugust%2b2021%2529%2b-%2b%25CE%25F0%25E8%25E3%25E8%25ED%25E0%25EB%25FC%25ED%25FB%25E5%2b%25EE%25E1%25F0%25E0%25E7%25FB%2b%25EE%25F2%2bMicrosoft%2bMSDN%2b%255BRu%255D&tr=http%3a%2f%2f%5b2001%3a470%3a25%3a482%3a%3a2%5d%3a2710%2f00d2b113c2033d8a5ffd1b248f9fb90c%2fannounce
Ilya-S-Zharskiy
code XAMPP WAMPServer
local devstack
https://www.geckoandfly.com/27677/xampp-alternatives/


choco upgrade -y nginx mysql php
Chocolatey v0.10.15
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:
 - A pending system reboot request has been detected, however, this is
   being ignored due to the current Chocolatey configuration.  If you
   want to halt when this occurs, then either set the global feature
   using:
     choco feature enable -name=exitOnRebootDetected
   or pass the option --exit-when-reboot-detected.

Upgrading the following packages:
nginx;mysql;php
By upgrading you accept licenses for the packages.                                                                                                                                                                                       
nginx is not installed. Installing...
Progress: Downloading NSSM 2.24.101.20180116... 100%
Progress: Downloading NSSM 2.24.101.20180116... 100%
Progress: Downloading nginx 1.21.1... 100%
Progress: Downloading nginx 1.21.1... 100%

NSSM v2.24.101.20180116 [Approved]
nssm package files upgrade completed. Performing other installation steps.
Installing 64 bit version
Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
C:\ProgramData\chocolatey\lib\NSSM\tools
 ShimGen has successfully created a shim for nssm.exe
 The upgrade of nssm was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'

nginx v1.21.1 [Approved]
nginx package files upgrade completed. Performing other installation steps.
Progress: 100% - Выполнено 1/1                                                                                                                                                                                                          E
xtracting C:\ProgramData\chocolatey\lib\nginx\tools\nginx-1.21.1.zip to C:\tools...
C:\tools
Shutting down Nginx if it is running


0
Only an exit code of non-zero will fail the package by default. Set 
 `--failonstderr` if you want error messages to also fail a script. See
 `choco -h` for details.
 The upgrade of nginx was successful.
  Software installed to 'C:\tools'
mysql is not installed. Installing...
Progress: Downloading mysql 8.0.26... 100%
Progress: Downloading mysql 8.0.26... 100%
Progress: Downloading mysql 8.0.26... 100%

mysql v8.0.26 [Approved]
mysql package files upgrade completed. Performing other installation steps.
Adding 'C:\tools\mysql\current\bin' to the path and the current shell path
PATH environment variable does not have C:\tools\mysql\current\bin in it. Adding...
Downloading mysql 64 bit
  from 'https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.26-winx64.zip'
Progress: 100% - Completed download of V:\Temp\mysql\8.0.26\mysql-8.0.26-winx64.zip (208.23 MB).
Download of mysql-8.0.26-winx64.zip (208.23 MB) completed.
Extracting V:\Temp\mysql\8.0.26\mysql-8.0.26-winx64.zip to C:\tools\mysql...
C:\tools\mysql
Shutting down MySQL if it is running

 The upgrade of php was successful.
  Software installed to 'C:\tools\php80'

Chocolatey upgraded 4/4 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Ilya-S-Zharskiy
KVM Ubuntu code libvirt qemu
root@userpc101:~# qemu-system-x86_64 --version
QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu6~ppa0)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers


root@userpc101:~# uname -a
Linux userpc101 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


root@userpc101:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
vt
code говно Ruby
vt@V5 juick % cat hash.rb
require 'digest'
hasher   = Digest::SHA256.digest "🤣"
hash   = Digest::SHA256.hexdigest(hasher)
puts(hash)
vt@V5 juick % ruby hash.rb 
a69c40caab3b82b78777841c19437140023809f28bd6a3ad83239cc941b04cda
vt@V5 juick % cat hash.swift 
import Foundation
import CryptoKit

let hashed = SHA256.hash(data: Data("🤣".utf8))
print(hashed.description)
vt@V5 juick % swift hash.swift 
SHA256 digest: 2c3c1f8c63fbeb30ced9d27873a901e914e0a0c5a13dd1b8cb46ba014a24229b
vt@V5 juick % cat hash.pl     
#!/usr/bin/perl

use Digest::SHA qw(sha256_hex);

my $var = "🤣";

my $sha256_hash = sha256_hex($var);

print $sha256_hash;
vt@V5 juick % perl hash.pl 
2c3c1f8c63fbeb30ced9d27873a901e914e0a0c5a13dd1b8cb46ba014a24229b%
oxpa
code TIL
json таки можно валидировать регуляркой. Also, я узнал про ?(DEFINE)

(?(DEFINE)
     (?<number>   -? (?= [1-9]|0(?!\d) ) \d+ (\.\d+)? ([eE] [+-]? \d+)? )    
     (?<boolean>   true | false | null )
     (?<string>    " ([^"\\\\]* | \\\\ ["\\\\bfnrt\/] | \\\\ u [0-9a-f]{4} )* " )
     (?<array>     \[  (?:  (?&json)  (?: , (?&json)  )*  )?  \s* \] )
     (?<pair>      \s* (?&string) \s* : (?&json)  )
     (?<object>    \{  (?:  (?&pair)  (?: , (?&pair)  )*  )?  \s* \} )
     (?<json>   \s* (?: (?&number) | (?&boolean) | (?&string) | (?&array) | (?&object) ) \s* )
  )
  \A (?&json) \Z
  /six
den-po
code Yandex говно
яндекс заебал

25 ноя в 13:28
У вашего сайта изменилось главное зеркало: с https://www.justdanpo.ru на https://justdanpo.ru

25 ноя в 13:28
У вашего сайта изменилось главное зеркало: с https://www.justdanpo.ru на https://justdanpo.ru

28 ноя в 13:25
У вашего сайта изменилось главное зеркало: с https://justdanpo.ru на justdanpo.ru

28 ноя в 13:26
У вашего сайта изменилось главное зеркало: с https://justdanpo.ru на justdanpo.ru

1 дек в 13:43
У вашего сайта изменилось главное зеркало: с justdanpo.ru на https://www.justdanpo.ru

1 дек в 13:43
У вашего сайта изменилось главное зеркало: с justdanpo.ru на https://www.justdanpo.ru

6 дек в 13:23
У вашего сайта изменилось главное зеркало: с https://www.justdanpo.ru на https://justdanpo.ru

6 дек в 13:25
У вашего сайта изменилось главное зеркало: с https://www.justdanpo.ru на https://justdanpo.ru
Wlad
· Edited
code Juick RTFM
Выделение текста и ссылки

*жирный*
/курсив/
_подчеркивание_
> цитата

@ник - юзер
#1234 - пост
URL преобразуются в ссылки автоматом, название можно добавить с помощью синтаксиса:
[название][URL]


Команды
(заглавными или строчными буквами)

D #1234 - удалить пост
D #1234/5 - удалить коммент
D L или D LAST или DL - удалить последний добавленный пост ("Temporarily unavailable")
E #1234 новый текст - обновить текст поста (упоминается в хэлпе, но в вэбе и Телеге не работает, в XMPP - хз)

*тег текст - опубликовать пост с тегом
* - показать список моих тегов
*тег - показать мои сообщения с заданным тегом
#1234 *тег1 *тег2 - изменить теги поста; совпадающие теги удаляются, новые - добавляются (эдакий XOR над тегами)
В поле ответа к своему посту можно редактировать теги без указания поста: *тег1 *тег2

Служебные теги:
*readonly — запрещает комментировать пост
*code — отключает форматирование текста в посте
*novk, *notwitter, *nofb — отключают кросспостинг в соц.сети
К посту можно добавить не более пяти тегов, не считая служебных.

#1234 - показать заданный пост
#1234+ - показать заданный пост с комментами
#1234/5 - показать заданный коммент
#1234 текст - ответить на пост
#1234/5 текст - ответить на коммент
#+ - показать 20 последних постов из общей ленты
@ - показать рекомендованные мне блоги и топ блогов вообще
! #1234 - рекомендовать пост
! - показать рекомендованные мной посты
? @ник строка - поиск строки в постах юзера ("Temporarily unavailable")
? строка - поиск строки во всех постах Жуйка ("Temporarily unavailable")
# - показать последние сообщения из моей ленты
## - вторая страница моей ленты и т..д.

S @ник - подписаться на юзера
U @ник - отписаться от юзера
S *тег - подписаться на тег
U *тег - отписаться от тега
S #1234 - подписаться на сообщение (комменты к нему)
U #1234 - отписаться от сообщения
S - показать список моих подписок (юзеры + теги, но не сообщения!)
ON/OFF - вкл/выкл доставку уведомлений

@ник - показать инфо о юзере и 20 его последних постов
@ник текст - отправить приватное сообщение юзеру (переписка с собой возможна)

BL @ник - добавить юзера в черный список
BL *тег - добавить тег в черный список
BL - показать, кто и что находится в моем черном списке (юзеры + теги)

PING - возвращает "PONG"
HELP - показывает справку по командам
LOGIN - получить ссылку для авторизации на сайте (в Телеге, XMPP)
Ilya-S-Zharskiy
code пиздарики библиотека флибуста
http://flibustahezeous3.onion/booksearch

    Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on 'www' (111) in SphinxSearchBaseDAO->executeQuery() (line 124 of /www/lib/pressflow/modules/librusec/classes/search/SphinxSearchBaseDAO.php).
    Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on 'www' (111) in SphinxSearchBaseDAO->executeQuery() (line 124 of /www/lib/pressflow/modules/librusec/classes/search/SphinxSearchBaseDAO.php).
    Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on 'www' (111) in SphinxSearchBaseDAO->executeQuery() (line 124 of /www/lib/pressflow/modules/librusec/classes/search/SphinxSearchBaseDAO.php).
Ilya-S-Zharskiy
ldmtool /dev/mapper code разделы_винды LDM Fedora динамические_диски как_монтировать fuseblk LDM-data-partition libldm Spanned-disks
https://stackoverflow.com/questions/8427372/windows-spanned-disks-ldm-restoration-with-linux?__=1124598085


$ sudo dnf install -y  libldm
Last metadata expiration check: 0:23:31 ago on Tue 08 Sep 2020 04:37:43 PM MSK.
Package libldm-0.2.4-6.fc32.x86_64 is already installed.


$ sudo ldmtool create all
Unable to create volume Volume9 in disk group f8553bf7-3c47-11ea-9a1c-049226d30b69: ldm_vol_SERVERNAME-Dg0_Volume9: Stacking NODE_DEL [verify_udev]
Unable to create volume Volume10 in disk group f8553bf7-3c47-11ea-9a1c-049226d30b69: ldm_vol_SERVERNAME-Dg0_Volume10: Stacking NODE_DEL [verify_udev]
Unable to create volume Volume8 in disk group f8553bf7-3c47-11ea-9a1c-049226d30b69: ldm_vol_SERVERNAME-Dg0_Volume8: Stacking NODE_DEL [verify_udev]


$ sudo ldmtool scan
[
  "f8553bf7-3c47-11ea-9a1c-049226d30b69"
]


$ sudo blkid

/dev/sda1: PARTLABEL="LDM metadata partition" PARTUUID="c138b583-404a-11e9-9975-7085c22fc281"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="bc35c9f4-184b-4718-afc2-539a91e5ab2f"
/dev/sda3: PARTLABEL="LDM data partition" PARTUUID="c138b586-404a-11e9-9975-7085c22fc281"

/dev/mapper/ldm_vol_SERVERNAME-Dg0_Volume5: LABEL="3TB2019" BLOCK_SIZE="512" UUID="D094F8E194F8CACC" TYPE="ntfs"


$ sudo mount

mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime,seclabel)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/dev/mapper/ldm_vol_SERVERNAME-Dg0_Volume5 on /run/media/i/3TB2019 type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)



https://askubuntu.com/questions/567432/how-do-i-properly-access-windows-software-raid-0?__=79363365

https://itso.dk/?p=93

https://askubuntu.ru/questions/54857/kak-pravil-no-poluchit-dostup-k-programmnomu-obespecheniyu-windowz-raid-0
https://github.com/Unidata/LDM/wiki/%60systemd(8)%60-configuration-file-for-LDM

https://bbs.archlinux.org/viewtopic.php?id=247484

https://superuser.com/questions/1569221/how-to-mount-dynamic-disks-in-fedora

http://nervilyvacua.blogspot.com/2013/05/mounting-windows-ldm-partitions-in.html
agr
code Haskell
type family FragmentUnique api :: Constraint where
  FragmentUnique (sa :<|> sb)       = Or (FragmentUnique sa) (FragmentUnique sb)
  FragmentUnique (Fragment a :> sa) = FragmentNotIn sa (Fragment a :> sa)
  FragmentUnique (x :> sa)          = FragmentUnique sa
  FragmentUnique (Fragment a)       = ()
  FragmentUnique x                  = ()

type family FragmentNotIn api orig :: Constraint where
  FragmentNotIn (sa :<|> sb)       orig =
    And (FragmentNotIn sa orig) (FragmentNotIn sb orig)
  FragmentNotIn (Fragment c :> sa) orig = TypeError (NotUniqueFragmentInApi orig)
  FragmentNotIn (x :> sa)          orig = FragmentNotIn sa orig
  FragmentNotIn (Fragment c)       orig = TypeError (NotUniqueFragmentInApi orig)
  FragmentNotIn x                  orig = ()

type NotUniqueFragmentInApi api =
    'Text "Only one Fragment allowed per api ‘"
    ':<>: 'ShowType api
    ':<>: 'Text "’."
Ilya-S-Zharskiy
eDonkey2000 eMule code ed2k server.met
ed2k://|server|80.208.228.241|8369|/
ed2k://|server|91.208.184.143|4232|/
ed2k://|server|5.45.85.226|6584|/
ed2k://|server|94.23.97.30|4245|/
ed2k://|server|46.105.126.71|4661|/
ed2k://|server|176.123.5.89|4725|/
ed2k://|server|213.252.245.239|43333|/
ed2k://|server|95.217.134.86|22888|/
ed2k://|server|31.220.44.255|50007|/
ed2k://|server|176.105.252.153|39831|/
ed2k://|server|45.142.215.35|42011|/
ed2k://|server|103.73.66.116|38407|/
ed2k://|server|194.156.98.93|9191|/
ed2k://|server|194.156.98.93|9797|/
ed2k://|server|103.73.64.146|51013|/
ed2k://|server|51.83.165.31|31031|/
ed2k://|server|37.134.6.29|12000|/
ed2k://|server|116.233.224.200|14143|/
ed2k://|server|116.233.224.200|14142|/
ed2k://|server|85.127.139.107|4321|/
ed2k://|server|212.83.184.152|7111|/
ed2k://|server|111.6.78.125|1161|/
ed2k://|server|62.210.28.77|7111|/
Shura
code
Написал индикатор заряда батареи для zsh. Рисует прямоугольник разной высоты и цвета в зависимости от заряда. Занимает всего один символ, удобно использовать в rprompt. На скриншоте пример, там у меня часы выводятся, а правее как раз индикатор. Работает только под linux!

function battery {
        local levels=(▁ ▁ ▂ ▃ ▄ ▅ ▆ ▇ █)
        local discharge_colors=('\e[5;38;5;196m' '\e[1;38;5;196m' \
        '\e[1;38;5;208m' '\e[1;38;5;220m' '\e[1;38;5;190m' '\e[1;38;5;154m' \
        '\e[1;38;5;118m' '\e[1;38;5;46m' '\e[1;38;5;46m')
        local charge_color='\e[38;05;15;48;05;22m'
        local c=$(cat /sys/class/power_supply/BAT1/capacity)
        local s=$(cat /sys/class/power_supply/BAT1/status)
        ((i = c / 12 + 1))
        #print $s
        if [[ $s == 'Charging' ]];then
                print "%{$charge_color%}$levels[$i]%{\e[0;38;05;15m%}"
        else
                print "%{$discharge_colors[$i]%}$levels[$i]%{\e[0;38;5;15m%}"
        fi
}

setopt promptsubst

RPROMPT=$'%{\e[01;38;05;146;48;05;238m%}%T% %{\e[0m%}''$(battery)'

Ilya-S-Zharskiy
l2tp code VPN ipsec
error unable to load vpn connection editor 

===========================================================================================================================
 Package                                Architecture        Version                              Repository           Size
===========================================================================================================================
Installing:
 NetworkManager-l2tp                    x86_64              1.8.2-1.el8                          epel                173 k
 NetworkManager-l2tp-gnome              x86_64              1.8.2-1.el8                          epel                 54 k
Ilya-S-Zharskiy
code ping fping vaping smokeping
λ C:\tools\fping\Fping.exe ya.ru -T -D  -t 9999 -s 1 -c

Fast pinger version 3.00
(c) Wouter Dhondt (http://www.kwakkelflap.com)

Pinging ya.ru [87.250.250.242] with 1 bytes of data every 9999 ms:

2020/01/08 21:12:30.933 : Reply[1] from ya.ru: bytes=1 time=69.0 ms TTL=246
2020/01/08 21:12:40.972 : Reply[2] from ya.ru: bytes=1 time=37.2 ms TTL=246
2020/01/08 21:12:51.012 : Reply[3] from ya.ru: bytes=1 time=38.9 ms TTL=246
2020/01/08 21:13:01.063 : Reply[4] from ya.ru: bytes=1 time=48.9 ms TTL=246
2020/01/08 21:13:11.133 : Reply[5] from ya.ru: bytes=1 time=68.1 ms TTL=246
2020/01/08 21:13:21.183 : Reply[6] from ya.ru: bytes=1 time=48.5 ms TTL=246
2020/01/08 21:13:31.222 : Reply[7] from ya.ru: bytes=1 time=37.6 ms TTL=246
2020/01/08 21:13:41.291 : Reply[8] from ya.ru: bytes=1 time=67.4 ms TTL=246
2020/01/08 21:13:51.344 : Reply[9] from ya.ru: bytes=1 time=51.2 ms TTL=246

https://i.imgur.com/lHHBHIZ.png

Ilya-S-Zharskiy

Ilya-S-Zharskiy
WZT code wzor Windows10 warez скачать_Win10 torrent Windows_10 Windows-10 VLSC MSDN-ISO 1903-19H1-V2
ну шо, свежая винда шоле?
1903 19H1 V2

https://tb.rg-adguard.net/public.php

18362.356.19h1_release_svc_prod1.190903-1844

https://cloud.mail.ru/public/ucep/3E4EYnoEK

magnet:?xt=urn:btih:92e64f954e2f3e9923113198bbb6a0b0b6784dcf&tr=http%3A%2F%2Ftr.ysagin.top%3A2710%2Fannounce&xl=17090256896&dn=Microsoft%20Windows%2010%2010.0.18362%20Version%201903%20Updated%20September%202019%20RU

Product (Full Name): Windows 10 (business editions), version 1903 (updated Sept 2019) (x64) - DVD (Russian)
Product Family:
FileId: 85750
File Type: DVD
Language: Russian (ru)
Architecture: x64
File: ru_windows_10_business_editions_version_1903_updated_sept_2019_x64_dvd_49d75a68.iso
SHA1: 65f6ad1820aa8472c7e84c8a5c9a3e679d6eb365
File Size (MB): unknown bytes (0 MB)
Date release: 2019-09-25
Note:
For this multi-edition Business media, use a product key specific to the edition in the list you want to activate.

This multi-edition Business media includes the following editions:
Windows 10 Pro
Windows 10 Pro N
*Windows 10 Pro for Workstations
*Windows 10 Pro N for Workstations
Windows 10 Pro Education
Windows 10 Pro Education N
Windows 10 Education
Windows 10 Education N
Windows 10 Enterprise
Windows 10 Enterprise N


*Windows 10 Pro, version 1709 or newer, will need to be installed before using the Window 10 Pro for Workstations product key to activate that edition.

https://cloclo19.datacloudmail.ru/weblink/view/ucep/3E4EYnoEK/Windows_10_Version1903_19H1_aka_May2019Update-UpdatedSeptember2019_with_KB4515384_OSBuild_18362.356.19h1_release_svc_prod1.190903-1844_CONSUMER-BUSINESS-SERVER1903SAC_from-MSDN_5ENG-5RUS_10ISO_byWZT.png
Self-Perfection
code pacman Arch
Кажется optional dependencies в выводе pacman гораздо лучше воспринимаются, если выделить цветом, какие из них установлены, типа такого:

pacman -Qi  git | sed "s/\([^: ]\+\)\(: .\+ \[installed\]\)/$(tput setaf 2)\1$(tput sgr0)\2/"

И почему pacman не делает этого из коробки?