conversation of the cutting-edge techs
link to subscribe feed
// File format: | |
// | |
// Roughly based on INI style configs. | |
// | |
// 'Key=Value' pairs, one pair per line. If a line contains more than one '=', | |
// the first is taken to be the deliminator and the rest are included as part | |
// of the value string. | |
// | |
// A line containing a key but no value (i.e., no '='), will be parsed as an | |
// entry with an empty value string. |
$mingwPath = "C:\MinGW\bin" # Replace with MinGW path from $ENV:PATH | |
$pathArray = $ENV:PATH.Split(";") | |
$newPath = "" | |
Foreach ($p in $pathArray) { | |
if (!$p.Equals($mingwPath)) { | |
$newPath += ";" | |
$newPath += $p | |
} | |
} |
#include "brt.h" | |
#include <windows.h> | |
#include <psapi.h> | |
struct WorkingSetParams { | |
HANDLE process_handle; | |
size_t min_working_set; | |
size_t max_working_set; | |
DWORD flags; |
conversation of the cutting-edge techs
link to subscribe feed