Skip to content

Instantly share code, notes, and snippets.

@zethon
zethon / gist:e5381174f9de9db73559534ead587c34
Last active March 13, 2025 14:58
Getting VSCode's CMakeTools on Win10 to Launch a WSL2 Process as Root

When you set "miDebuggerPath": "/usr/bin/sudo" and "miDebuggerArgs": "/usr/bin/gdb", CMake Tools (or the Microsoft C++ debug adapter) then appends extra GDB flags like --interpreter=mi – but those end up being passed to sudo rather than gdb. Sudo complains about unrecognized options (anything starting with a dash), and so it fails.

You need a way for sudo itself to ignore those GDB options, so that they pass through to gdb. There are two main workarounds:


1) Use a Small “Wrapper” Script

One of the simplest solutions is to create a one-line shell script that runs gdb under sudo, and then reference that script as your debugger path. This way, the extra flags appended by VS Code or CMake Tools go to gdb correctly.

@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 14:53
libreoffice-help v5.2.0 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\libreoffice-help\libreoffice-help.nupkg" checksum="B1B4036A2DD035D6C83FCBEA23B4A686" />
<file path="C:\ProgramData\chocolatey\lib\libreoffice-help\libreoffice-help.nuspec" checksum="8F51E3A3E034300349F2B7EDE8599AEA" />
<file path="C:\ProgramData\chocolatey\lib\libreoffice-help\tools\chocolateyInstall.ps1" checksum="737022BF0AC3C08D8C674434A9399DB9" />
<file path="C:\ProgramData\chocolatey\lib\libreoffice-help\tools\loHelpIsAlreadyInstalled.ps1" checksum="669DC276C3EF6F303EF0ADF908795FDC" />
<file path="C:\ProgramData\chocolatey\lib\libreoffice-help\tools\matchLanguage.ps1" checksum="E3C990C3879CE344F44CA199DF658409" />
</files>
</fileSnapshot>
@sufftiguetsu4i97
sufftiguetsu4i97 / AVS Video ReMaker
Created March 13, 2025 14:53
AVS Video ReMaker Crack
AVS Video ReMaker Cracked
import boto3
import cv2
import os
import sys
from datetime import datetime
# Get the directory where the script is located
script_dir = os.path.dirname(os.path.abspath(__file__))
# Create data directory if it doesn't exist
https://docs.google.com/forms/d/e/1FAIpQLSeJAlUP13dCX-GbPvtJefhIOT578qHVrEfSJqBF_Aq7wXJlMQ/viewform?usp=pp_url&entry.374556015=Nam&entry.1377216818=T%E1%BB%AB%2041%20-%2050%20tu%E1%BB%95i&entry.679548245=T%E1%BB%91t%20nghi%E1%BB%87p%20THPT&entry.1720153970=Kh%C3%A1c&entry.815263588=D%C6%B0%E1%BB%9Bi%201%20n%C4%83m&entry.835940518=Ho%C3%A0n%20to%C3%A0n%20%C4%91%E1%BB%93ng%20%C3%BD&entry.1476216908=Ho%C3%A0n%20to%C3%A0n%20kh%C3%B4ng%20%C4%91%E1%BB%93ng%20%C3%BD&entry.2028602224=%C4%90%E1%BB%93ng%20%C3%BD&entry.123459593=Kh%C3%B4ng%20%C4%91%E1%BB%93ng%20%C3%BD&entry.1783359659=%C4%90%E1%BB%93ng%20%C3%BD&entry.276006561=%C4%90%E1%BB%93ng%20%C3%BD&entry.2111391119=Kh%C3%B4ng%20%C4%91%E1%BB%93ng%20%C3%BD&entry.389540905=%C4%90%E1%BB%93ng%20%C3%BD&entry.19073354=Ho%C3%A0n%20to%C3%A0n%20%C4%91%E1%BB%93ng%20%C3%BD&entry.1731429270=Ho%C3%A0n%20to%C3%A0n%20%C4%91%E1%BB%93ng%20%C3%BD&entry.946980359=%C4%90%E1%BB%93ng%20%C3%BD&entry.1407666243=B%C3%ACnh%20th%C6%B0%E1%BB%9Dng&entry.1622993318=%C4%90%E1%BB%93ng%20%C3%BD&ent
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created March 13, 2025 14:52
font.gost2.304-81.install v0.7.6 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2554630235-701135798-1881170629-1000</user>
<keys>
<key installerType="Msi" displayName="Шрифты ГОСТ 2.304-81 v0.7.6" displayVersion="0.7.6">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0FE6159A-9D17-482A-9873-85D4ECBEDA9B}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{0FE6159A-9D17-482A-9873-85D4ECBEDA9B}]]></UninstallString>
@tilmanensefv4
tilmanensefv4 / Gillmeister Folder2List
Created March 13, 2025 14:52
Gillmeister Folder2List Cracked
Gillmeister Folder2List Crackeded
Redirect to /build/tmp.MsyRfqEaiw and /build/tmp.i0ODMgQP6c
Tree base:
d52cbd5d6af2 ("kunit: bug: Count suppressed warning backtraces")
Building the whole tree with the patch
Building the tree before the patch
Building the tree with the patch
New errors added:
--- /build/tmp.T7GD2UXqGP 2025-03-13 14:52:02.665184147 +0000
+++ /build/tmp.GUi8JTpjfc 2025-03-13 14:52:02.669184110 +0000
@@ -108,0 +109,3 @@
@asp8200
asp8200 / easybuild_test_report_22553_easybuilders_preasybuild-easyconfigs_20255113-UTC-14-51-47.md
Created March 13, 2025 14:51
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #22553

Test report for PR(s) easybuilders/easybuild-easyconfigs#22553

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in total)

Overview of tested easyconfigs (in order)

  • SUCCESS Java-23.0.1.eb

Time info

  • start: Thu, 13 Mar 2025 14:51:27 +0000 (UTC)
@qwq0833
qwq0833 / pqjc.ini
Last active March 13, 2025 15:08
机场订阅配置
[custom]
;设置规则标志位
ruleset=DIRECT,[]FINAL
;设置分组标志位
custom_proxy_group=Proxy`select`.*
;设置节点重命名
rename_node=(?i)香港HKT(\d+) \| 三网推荐@香港$1 \| HKT
;添加国旗 emoji