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 |
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
// うるう年 | |
Date.prototype.isLeapYear = function() { | |
var y = this.getFullYear(); | |
return (y % 4 == 0 && y % 100 != 0) || (y % 400 == 0); | |
}; | |
// 年間積算日 | |
Date.prototype.getDayOfYear = function() { | |
var days1 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334] | |
var days2 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335] |

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
package main | |
import ( | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"log" | |
) | |
func main() { |
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
package main | |
// Patience Diff Advantages | |
// http://bramcohen.livejournal.com/73318.html | |
// | |
// Patience Diff, a brief summary | |
// http://alfedenzo.livejournal.com/170301.html | |
// | |
// 1. Match the first lines of both if they're identical, then match the | |
// second, third, etc. until a pair doesn't match. |
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> | |
#include <string.h> | |
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { | |
HWND hwnd; | |
MSG msg; | |
WNDCLASSEX cls; |