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
//Implemented from http://www.cs.uu.nl/docs/vakken/ds/HoorC/Heap.pdf | |
public class MinHeap<T> where T : IComparable<T> | |
{ | |
private readonly T[] A; | |
private int n; | |
public int Count { get { return n; } } | |
public MinHeap(int size) | |
{ |
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
[Colors] | |
AbstractTableViewBackgroundColor=#808080 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#0F9FFF | |
AbstractTableViewSeparatorColor=#000000 | |
AbstractTableViewTextColor=#000000 | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#000000 | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#008000 |
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
[Colors] | |
AbstractTableViewBackgroundColor=#272822 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#363930 | |
AbstractTableViewSeparatorColor=#555A4C | |
AbstractTableViewTextColor=#FFFFFF | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#AE81FF | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#808080 |
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
[Colors] | |
AbstractTableViewBackgroundColor=#000000 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#000080 | |
AbstractTableViewSeparatorColor=#0000FF | |
AbstractTableViewTextColor=#FFFBF0 | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#808080 | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#808080 |
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 <windows.h> | |
#include <stdio.h> | |
int gtfo(const char* text = "") | |
{ | |
printf("gtfo! (%s)\n", text); | |
return -1; | |
} | |
int main(int argc, char* argv[]) |
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
--- TRACER STARTED --- | |
Process 7332 created with entry 0x00007FF6CDF9251E | |
DLL loaded at 0x00007FFDCD1D0000 | |
DLL loaded at 0x00007FFDCB2B0000 | |
DLL loaded at 0x00007FFDCA680000 | |
DLL loaded at 0x00007FFDCA8B0000 | |
DLL loaded at 0x00007FFDC8F30000 | |
DLL loaded at 0x00007FFDCB870000 | |
DLL loaded at 0x00007FFDCD070000 | |
DLL loaded at 0x00007FFDCAE50000 |
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
#!/bin/bash | |
git clone ssh://fromhost.com/home/fromuser/$1.git | |
cd $1 | |
git remote remove origin | |
git remote add origin https://tohost.com:443/touser/$1.git | |
git push origin --all | |
cd .. | |
rm -rf $1 |
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 <windows.h> | |
#include <stdio.h> | |
static LPTOP_LEVEL_EXCEPTION_FILTER OldFilter; | |
static char callOrder[10] = ""; | |
int main() | |
{ | |
OldFilter = SetUnhandledExceptionFilter([](PEXCEPTION_POINTERS ExceptionInfo) -> LONG | |
{ |
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 <stdio.h> | |
#include <stdarg.h> | |
#include <vector> | |
enum Message | |
{ | |
MsgAdd, //int(int, int) | |
MsgNeg, //int(int) | |
MsgRand, //int() | |
}; |
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
/****************************************************************************** | |
* File: GraphProcessor.cpp | |
* Author: Carsten Gutwenger | |
* | |
* Implements some helper functions for drawing graphs. | |
* | |
****************************************************************************** | |
* | |
* Copyright (c) 2010-2011 Carsten Gutwenger | |
* All rights reserved. |