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
class Program | |
{ | |
public const string pad = | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + |
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
private static FrameworkPropertyMetadata CloneFrameworkPropertyMetadata(FrameworkPropertyMetadata src) | |
{ | |
FrameworkPropertyMetadataOptions options = FrameworkPropertyMetadataOptions.None; | |
if (src.AffectsArrange) | |
options |= FrameworkPropertyMetadataOptions.AffectsArrange; | |
if (src.AffectsMeasure) | |
options |= FrameworkPropertyMetadataOptions.AffectsMeasure; | |
if (src.AffectsParentArrange) | |
options |= FrameworkPropertyMetadataOptions.AffectsParentArrange; | |
if (src.AffectsParentMeasure) |
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
IdStorageType (byte): | |
MailboxItemSmtpAddressBased = 0, // Exchange 2007 (EwsLegacyId) | |
PublicFolder = 1, | |
PublicFolderItem = 2, | |
MailboxItemMailboxGuidBased = 3, | |
ConversationIdMailboxGuidBased = 4, | |
ActiveDirectoryObject = 5, // Exchange 2013 | |
MailboxItemMailboxGuidBasedWithFallback = 6 // Exchange 2016 | |
CompressionId (byte): |
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 sys | |
from datetime import datetime | |
import re | |
import urllib2 | |
from bs4 import BeautifulSoup | |
wayback_prefix = 'https://web.archive.org/web/20160824022930/' | |
newformat_prefix = 'http://www.spinnyverse.com/comic/' | |
cachef = open('spinny-cache', 'a+') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
param([String]$existingFilename, [String]$newFilename) | |
$signature = @' | |
[DllImport("kernel32.dll", ExactSpelling=true, CharSet=CharSet.Unicode, SetLastError=true)] | |
public static extern uint MoveFileW( | |
string lpExistingFileName, string lpNewFileName); | |
'@ | |
$type = $null | |
try |
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
param([String]$filename) | |
$signature = @' | |
[DllImport("kernel32.dll", ExactSpelling=true, CharSet=CharSet.Unicode, SetLastError=true)] | |
public static extern uint DeleteFileW( | |
string lpFileName); | |
'@ | |
$type = $null | |
try |
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
using System.IO; | |
using System.Xml; | |
internal class StreamedXmlReader : XmlTextReader | |
{ | |
private bool eof; | |
public override bool EOF => base.EOF || eof; | |
public StreamedXmlReader(TextReader input) : base(input) | |
{ | |
} |
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
lldb --attach-name dotnet -o "plugin load libsosplugin.so" -o "eestack" -o "process detach" -o "exit" |
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
call32test: call32test.o call32.o | |
gcc -g $^ -o $@ | |
call32test.o: call32test.c | |
gcc -g -c $< -o $@ | |
call32.o: call32.asm | |
nasm -f elf64 call32.asm -o call32.o |