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
// e.g. console.save({hello: 'world'}) | |
(function(console){ | |
console.save = function(data, filename){ | |
if(!data) { | |
console.error('Console.save: No data') | |
return; | |
} | |
if(!filename) filename = 'console.json' | |
if(typeof data === "object"){ | |
data = JSON.stringify(data, undefined, 4) |
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
#!/usr/bin/env python2 | |
from ctypes import c_int, c_uint | |
# http://www.mscs.dal.ca/~selinger/random/ | |
def srand(seed): | |
srand.r = [0 for _ in range(34)] | |
srand.r[0] = c_int(seed).value | |
for i in range(1, 31): |
connect.dll CLSID GUID symbols (some may be used for xwizard.exe RunWizard [GUID]
)
(10.0.14393.0)
00007FFF0C1FE398 Export CLSID_ConnectToInternetCreationHookPage {7071ECA5-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3A8 Export CLSID_ConnectToInternetFinishPage {7071ECAF-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3B8 Export CLSID_ConnectToInternetDetectionHookPage {7071ECA3-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3C8 Export CLSID_ConnectToInternetHookPage {7071ECA8-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3D8 Export CLSID_DisplayWorkExistingConnectionsPage {7071EC62-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3E8 Export CLSID_NetworkTasksHost {7071ECFA-663B-4BC1-A1FA-B97F3B917C55}
00007FFF0C1FE3F8 Export CLSID_ConnectToWorkExistingConnectionsPage {7071ECB4-663B-4BC1-A1FA-B97F3B917C55}
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
一 | |
乙 | |
二 | |
十 | |
丁 | |
厂 | |
七 | |
卜 | |
八 | |
人 |
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
/* | |
* Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. Oracle designates this | |
* particular file as subject to the "Classpath" exception as provided | |
* by Oracle in the LICENSE file that accompanied this code. | |
* |
LD_PRELOAD this as a library to output a binary's output from syslog() on stderr as well as any syslog daemon that's listening (useful for Docker, if you want all log output to be collected by Docker's standard output handling.) Beware though, if the program changes its stderr file descriptor (closes it, points it at /dev/null, pipes it out to a socket), this can have surprising results. For example, when I tried this with cyrus-imapd, I was getting syslog output sent to remote clients because stderr and stdout were remapped that way (not maintaing the original fd that Docker set up.)
COPY syslog2stderr.c /build
RUN gcc -fPIC -shared /build/syslog2stderr.c -o /usr/local/lib/syslog2stderr.so
RUN echo /usr/local/lib/syslog2stderr.so >> /etc/ld.so.preload
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
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all | |
copies or substantial portions of the Software. |
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
killall gpg-agent && gpg-agent --daemon --use-standard-socket --pinentry-program /usr/local/bin/pinentry |
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
== Visual Studio .NET 2003 (DO NOT COPY THIS LINE) == | |
Microsoft Visual Studio Solution File, Format Version 8.00 | |
# Visual Studio .NET 2003 | |
VisualStudioVersion = 7.1 | |
== Visual Studio 2005 (DO NOT COPY THIS LINE) == | |
Microsoft Visual Studio Solution File, Format Version 9.00 | |
# Visual Studio 2005 | |
VisualStudioVersion = 8.0 |