Skip to content

Instantly share code, notes, and snippets.

View baldurk's full-sized avatar
👩‍⚕️
Working on RenderDoc

Baldur Karlsson baldurk

👩‍⚕️
Working on RenderDoc
  • 00:52 (UTC +01:00)
View GitHub Profile
@baldurk
baldurk / wix-bootstrap-download-vcredist-sample.wxs
Created February 24, 2025 16:45 — forked from nathancorvussolis/wix-bootstrap-download-vcredist-sample.wxs
Visual C++ 2015-2022 Redistributable - 14.36.32532
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle
Name="Example Product"
Version="1.2.3.4"
Manufacturer="John Doe"
Copyright="© 2023 John Doe"
#include <stdlib.h>
#include <stdio.h>
struct Global {
Global() {
printf("a %s %s\n", getenv("HOME"), getenv("BLAH"));
setenv("BLAH", "blah", 1);
printf("b %s %s\n", getenv("HOME"), getenv("BLAH"));
}
} global;

Keybase proof

I hereby claim:

  • I am baldurk on github.
  • I am baldurk (https://keybase.io/baldurk) on keybase.
  • I have a public key ASBHbcqiRapqmYFZDONNnKuUYFOlZSsBa4Ko_ptIgh19zgo

To claim this, I am signing this object:

@baldurk
baldurk / sourceindex.md
Last active January 25, 2025 19:00
Source indexing for github projects

Symbol Servers

I'm assuming you are familiar with symbol servers - you might not have one set up yourself for your own projects, but you probably use Microsoft's public symbol server for downloading symbols for system DLLs.

For your own projects it might be useful to set up a symbol server - I won't go into how you do that here since it's well documented elsewhere, but basically you just set up a folder somewhere - say X:\symbols\ or \servername\symbols or even http://servername.foo/symbols/ which has a defined tree structure:

symbols/
symbols/mymodule.pdb/
symbols/mymodule.pdb/123456789012345678901234567890122/