This file contains 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 is a Python script. | |
# Same as previous version except with thread worker | |
# for one particular run the previous script took 21 mins, while this one took 14 mins | |
# This python script compares files in two directories | |
# on their md5 hash. lists the files which have same md5, | |
# and the ones which don't. I use this to verify my file backups. | |
# The directory structures are different hence a direct folder | |
# comparison with tools like beyond compare (compare on contents) wont work. | |
import glob |
This file contains 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 is a Python script. | |
#This python script compares files in two directories | |
# on their md5 hash. lists the files which have same md5, | |
# and the ones which don't. I use this to verify my file backups. | |
# The directory structures are different hence a direct folder | |
# comparison with tools like beyond compare (compare on contents) wont work. | |
import glob | |
import os | |
import hashlib |
This file contains 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
https://gdlp01.c-wss.com/gds/7/0200006477/01/dppw4.15.20-installer.zip |
This file contains 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
Loading Symbols: | |
There are two different ways in which you can load symbols in GPUView. | |
Either, through modifying the first line of this file or through setting | |
the environment variable "_NT_SYMBOL_PATH". | |
By modifying this file: | |
To use this file, simply change the first line of this file to point to | |
your symbol directory. For instance, if you project has to different |
This file contains 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
// DxDiagProviderCom.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
// | |
#include <initguid.h> | |
#include <iostream> | |
#include <objbase.h> | |
#include <dxdiag.h> | |
#include <string> | |
using namespace std; |
This file contains 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 "usb.h" | |
#ifndef DISABLE_USB | |
#pragma comment(lib, "setupapi.lib") | |
#include "SetupAPI.h" | |
#include "cfgmgr32.h" | |
#pragma pack(4) |
This file contains 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
// DisplayUSB.cpp: Defines the entry point for the console application. | |
// | |
// Copyright (C) 2001, Intel Corporation | |
// All rights reserved. | |
// Permission is hereby granted to merge this program code with other program | |
// material to create a derivative work. This derivative work may be distributed | |
// in compiled object form only. Any other publication of this program, in any form, | |
// without the explicit permission of the copyright holder is prohibited. | |
// | |
// Send questions and comments to [email protected] |
This file contains 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
$registerDLL = @" | |
namespace RegisterDLL { | |
using System; | |
using System.Runtime.InteropServices; | |
public static class Kernel32 { | |
[DllImport("kernel32", SetLastError=true, CharSet = CharSet.Ansi)] | |
public static extern IntPtr LoadLibrary([MarshalAs(UnmanagedType.LPStr)]string lpFileName); | |
[DllImport("kernel32", CharSet=CharSet.Ansi, ExactSpelling=true, SetLastError=true)] |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
/* | |
*********************************************************************** | |
* | |
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
* Version 2, December 2004 | |
* | |
* Copyright (C) 2004 Sam Hocevar <[email protected]> | |
* | |
* Everyone is permitted to copy and distribute verbatim or modified | |
* copies of this license document, and changing it is allowed as long |
NewerOlder