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
import ctypes | |
import inspect | |
class GlobalFirstAndNoClassPrivateNamespace: | |
def __init__(self, name, globals_): | |
self._class_scope = f"_{name}" | |
self._globals = globals_ | |
self._dict = {} | |
def __getitem__(self, key): |
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
// mydumpbin.c | |
// | |
// Reference: | |
// http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/default.aspx | |
// http://forums.belution.com/ja/vc/000/234/78s.shtml | |
// http://nienie.com/~masapico/api_ImageDirectoryEntryToData.html | |
// http://www.geocities.jp/i96815/windows/win09.html | |
// http://hp.vector.co.jp/authors/VA050396/index.html | |
#include <windows.h> |
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
import sys | |
import clang.cindex | |
clang.cindex.Config.set_library_path(r'C:\Program Files\LLVM\bin') | |
def visit(cursor, indent): | |
print("%s[KIND:%s] { extent: { File:%s, start:{ l:%d, c:%d }, end {l:%d, c:%d } } , spelling:%s, type:{ kind:%s, spelling:%s } }" % ( | |
' ' * indent, | |
cursor.kind.name, | |
cursor.extent.start.file, |
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
# 国立国会図書館サーチを使って新刊コミック(に限らず)を検索する | |
# | |
# 国立国会図書館サーチ API仕様の概要 | |
# https://iss.ndl.go.jp/information/api/riyou/ | |
# | |
# 2019年4月1日 国立国会図書館の書誌データは、様々な用途で自由にご利用いただけます | |
# https://www.ndl.go.jp/jp/news/fy2019/190401_02.html | |
# | |
# 出版情報登録センターとの連携強化による機能改善のお知らせ | |
# https://iss.ndl.go.jp/information/2018/06/28_announce_jpro/ |
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
// public domain | |
// | |
// Windows10 のバックアップ(ファイル履歴)は半角全角違いの同名ファイルを扱えない | |
// が、バックアップがどこで失敗してるのかは教えてくれないので、バックアップでき | |
// ていないファイルを見つけるスクリプト。 | |
// | |
// using https://github.com/Microsoft/ManagedEsent | |
// csc fhverify.cs /r:Esent.Interop.dll | |
// | |
// NOBACKUP: 最新のファイルが(まだ)バックアップされていない(データベースにエントリがない) |
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
// Mlang via COM example. | |
// https://msdn.microsoft.com/en-us/library/aa767865.aspx | |
#pragma comment(lib, "ole32.lib") | |
#include <windows.h> | |
#include <mlang.h> | |
#include <stdio.h> | |
#include <string.h> |
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
diff --git a/autoload/Makefile.msc b/autoload/Makefile.msc | |
index d0907f2..ef13346 100644 | |
--- a/autoload/Makefile.msc | |
+++ b/autoload/Makefile.msc | |
@@ -1,5 +1,20 @@ | |
+!if "$(ARCH)" == "x64" | |
+ASMFILE=msc_x64_call | |
+!elseif "$(ARCH)" == "x86" | |
+ASMFILE=msc_x86_call | |
+!else |
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
FreeLibrary() で落ちたときのダンプ | |
Microsoft (R) Windows Debugger Version 6.3.9600.17336 AMD64 | |
Copyright (c) Microsoft Corporation. All rights reserved. | |
Loading Dump File [C:\Users\ynkdir\Desktop\dbg\CrashDumps\gvim.exe.1408.dmp] | |
User Mini Dump File with Full Memory: Only application data is available | |
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
svn://svn.reactos.org/reactos/trunk/reactos/tools/create_nls/ | |
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls | |
format of NLS file such as C:\Windows\System32\C_932.NLS | |
================================================================================ | |
NLS CODEPAGE (C_XXX.NLS) | |
================================================================================ | |
+--------------------------------------------------------------- |
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
diff --git a/runtime/doc/if_mzsch.txt b/runtime/doc/if_mzsch.txt | |
index b42570a..1da8ccc 100644 | |
--- a/runtime/doc/if_mzsch.txt | |
+++ b/runtime/doc/if_mzsch.txt | |
@@ -1,4 +1,4 @@ | |
-*if_mzsch.txt* For Vim version 7.4. Last change: 2012 Dec 17 | |
+*if_mzsch.txt* For Vim version 7.4. Last change: 2016 Jan 10 | |
VIM REFERENCE MANUAL by Sergey Khorev |
NewerOlder