← All posts tagged code

Ilya-S-Zharskiy
code apt-get Key-is-stored-in-legacy-trusted.gpg-keyring apt-key-is-deprecated. Manage-keyring-files-in-trusted.gpg.d-instead apt-update
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
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
Ilya-S-Zharskiy
torrent code ReScene SRR
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 very-widely-used-Mail-Transport-Agent заебали_своим_PERLом!
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
code Win10
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
Ubuntu KVM code qemu libvirt
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"
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
Fedora code динамические_диски как_монтировать разделы_винды LDM /dev/mapper Spanned-disks fuseblk LDM-data-partition ldmtool libldm
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
Ilya-S-Zharskiy
code eMule ed2k eDonkey2000 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|/
Ilya-S-Zharskiy
code VPN l2tp 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
torrent code warez wzor Windows10 Windows_10 Windows-10 MSDN-ISO скачать_Win10 VLSC WZT 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
Ilya-S-Zharskiy
code ЗУП 1ass полученияпериодическихданныхсотрудников Начисление_за_первую_половину_месяца
*ЗУП *code

Ошибка 10207110
При заполнении начисления зарплаты за первую половину месяца более чем по 50 сотрудникам возникает ошибка:
{Обработка.МенеджерРасчетаЗарплаты.МодульОбъекта(2086)}: Ошибка при вызове метода контекста (Выполнить)
РанееОплаченныеПериоды = Запрос.Выполнить().Выгрузить();
по причине:
{(19, 24)}: Таблица не найдена "ПолученияПериодическихДанныхСотрудников"
Внутреннее СОЕДИНЕНИЕ <<?>>ПолученияПериодическихДанныхСотрудников КАК СотрудникиПериоды 

Причина Ошибки 10207110
Функция ФильтрСписокЗначенийПоТаблицеЗначений(ТаблицаФильтра, ОписаниеФильтра)    
    Если ОписаниеФильтра.ИзмеренияФильтра.Количество() > 1 Тогда
        Возврат Неопределено;
    ИначеЕсли ТаблицаФильтра.Количество() > 50 Тогда
        Возврат Неопределено;
    КонецЕсли;
Ilya-S-Zharskiy
LOL code psexec ansible Powershell.PS1
https://raw.githubusercontent.com/ansible/ansible/devel/lib/ansible/modules/windows/win_psexec.ps1

$spec = @{
    options = @{
        command = @{ type='str'; required=$true }
        executable = @{ type='path'; default='psexec.exe' }
        hostnames = @{ type='list' }
        username = @{ type='str' }
        password = @{ type='str'; no_log=$true }
        chdir = @{ type='path' }
        wait = @{ type='bool'; default=$true }
        nobanner = @{ type='bool'; default=$false }
        noprofile = @{ type='bool'; default=$false }
        elevated = @{ type='bool'; default=$false }
        limited = @{ type='bool'; default=$false }
        system = @{ type='bool'; default=$false }
        interactive = @{ type='bool'; default=$false }
        session = @{ type='int' }
        priority = @{ type='str'; choices=@( 'background', 'low', 'belownormal', 'abovenormal', 'high', 'realtime' ) }
        timeout = @{ type='int' }
        extra_opts = @{ type='list' }
    }
}

$module = [Ansible.Basic.AnsibleModule]::Create($args, $spec)

$command = $module.Params.command
$executable = $module.Params.executable
$hostnames = $module.Params.hostnames
$username = $module.Params.username
$password = $module.Params.password
$chdir = $module.Params.chdir
$wait = $module.Params.wait
$nobanner = $module.Params.nobanner
$noprofile = $module.Params.noprofile
$elevated = $module.Params.elevated
$limited = $module.Params.limited
$system = $module.Params.system
$interactive = $module.Params.interactive
$session = $module.Params.session
$priority = $module.Params.Priority
$timeout = $module.Params.timeout
$extra_opts = $module.Params.extra_opts

$module.Result.changed = $true

If (-Not (Get-Command $executable -ErrorAction SilentlyContinue)) {
    $module.FailJson("Executable '$executable' was not found.")
}

$arguments = @()

If ($nobanner -eq $true) {
    $arguments += "-nobanner"
}

# Support running on local system if no hostname is specified
If ($hostnames) {
    $hostname_argument = ($hostnames | sort -Unique) -join ','
    $arguments += "\\$hostname_argument"
}

# Username is optional
If ($username -ne $null) {
    $arguments += "-u"
    $arguments += $username
}

# Password is optional
If ($password -ne $null) {
    $arguments += "-p"
    $arguments += $password
}

If ($chdir -ne $null) {
    $arguments += "-w"
    $arguments += $chdir
}

If ($wait -eq $false) {
    $arguments += "-d"
}

If ($noprofile -eq $true) {
    $arguments += "-e"
}

If ($elevated -eq $true) {
    $arguments += "-h"
}

If ($system -eq $true) {
    $arguments += "-s"
}

If ($interactive -eq $true) {
    $arguments += "-i"
    If ($session -ne $null) {
        $arguments += $session
    }
}

If ($limited -eq $true) {
    $arguments += "-l"
}

If ($priority -ne $null) {
    $arguments += "-$priority"
}

If ($timeout -ne $null) {
    $arguments += "-n"
    $arguments += $timeout
}

# Add additional advanced options
If ($extra_opts) {
    ForEach ($opt in $extra_opts) {
        $arguments += $opt
    }
}

$arguments += "-accepteula"

$argument_string = Argv-ToString -arguments $arguments

# Add the command at the end of the argument string, we don't want to escape
# that as psexec doesn't expect it to be one arg
$argument_string += " $command"

$start_datetime = [DateTime]::UtcNow
$module.Result.psexec_command = "$executable $argument_string"

$command_result = Run-Command -command "$executable $argument_string"

$end_datetime = [DateTime]::UtcNow

$module.Result.stdout = $command_result.stdout
$module.Result.stderr = $command_result.stderr

If ($wait -eq $true) {
    $module.Result.rc = $command_result.rc
} else {
    $module.Result.rc = 0
    $module.Result.pid = $command_result.rc
}

$module.Result.start = $start_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$module.Result.end = $end_datetime.ToString("yyyy-MM-dd hh:mm:ss.ffffff")
$module.Result.delta = $($end_datetime - $start_datetime).ToString("h\:mm\:ss\.ffffff")

$module.ExitJson()