This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <tchar.h> | |
#include <strsafe.h> | |
#include <WtsApi32.h> | |
#include <conio.h> | |
#pragma comment(lib,"Wtsapi32.lib") | |
#define MAX_LENGTH 250 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dvc | |
oxen | |
xethub | |
dagshub | |
doithub | |
pachyderm | |
...? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net sessions 1>nul 2>nul || ( | |
rem Restart with admin rights the same script | |
PowerShell "Start-Process -FilePath '%0' -Verb RunAs -ArgumentList wait" | |
exit %ERRORLEVEL% | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile this to hook.dll | |
// for example, with MSVC: cl.exe /LD /MT /O2 hook.c /Fehook.dll | |
#include <windows.h> | |
// get this from https://github.com/kubo/plthook | |
#include "plthook_win32.c" | |
static plthook_t* hook; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this code will work only when compiled as 64-bit code, and on Windows 10 | |
// older Windows version might require different structure definitions | |
#define NOMINMAX | |
#define INITGUID | |
#include <windows.h> | |
#include <evntrace.h> | |
#include <evntcons.h> | |
#pragma comment (lib, "shell32.lib") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.bazelrc b/.bazelrc | |
index 637a9a65be..bb77b3fb71 100644 | |
--- a/.bazelrc | |
+++ b/.bazelrc | |
@@ -430,3 +430,5 @@ build:windows --dynamic_mode=off | |
try-import %workspace%/clang.bazelrc | |
try-import %workspace%/user.bazelrc | |
try-import %workspace%/local_tsan.bazelrc | |
+ | |
+try-import %workspace%/../../malkia/top.bazelrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set BAZEL_SH=c:\program files\git\usr\bin\bash.exe | |
set PATH=c:\program files\git\usr\bin;c:\program files\git\cmd;d:\sys\bazel;c:\python311;c:\python311\scripts;%PATH% | |
set MSYS2_ARG_CONV_EXCL=* | |
set MSYS2_PATH_TYPE=inherit | |
set TMPDIR=C:/Windows/TEMP | |
set TEMP=C:/Windows/TEMP | |
set TMP=C:/Windows/TEMP | |
bazel --output_base=f:\_eb build -k --enable_runfiles --config=windows -c opt --config=sizeopt --config=msvc-cl envoy | |
bazel --output_base=f:\_eb run --enable_runfiles --config=windows -c opt --config=sizeopt --config=msvc-cl envoy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
force_compilation_mode = rule( | |
# implementation = lambda ctx: | |
# DefaultInfo( runfiles = ctx.runfiles( | |
# transitive_files = depset( | |
# transitive = [ depset( transitive = [x[DefaultInfo].files] ) for x in ctx.attr.data ] | |
# ))), | |
implementation = lambda ctx: | |
DefaultInfo( files = depset( | |
transitive = [ depset( transitive = [x[DefaultInfo].files] ) for x in ctx.attr.data ] | |
)), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"list" | |
) | |
build: { | |
proj1: { | |
deps: [ | |
"proj2", | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> CMake generation started for default configuration: 'x64-Debug'. | |
1> Command line: "cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\p\imgui-fetchcontent\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "D:\p\imgui-fetchcontent" 2>&1" | |
1> Working directory: D:\p\imgui-fetchcontent\out\build\x64-Debug | |
1> [CMake] -- The C compiler identification is MSVC 19.28.29913.0 | |
1> [CMake] -- The CXX |
NewerOlder