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
| // cl /LD ctrlshiftkey.c user32.lib | |
| #include <windows.h> | |
| #ifdef _MSC_VER | |
| # define EXPORT __declspec(dllexport) | |
| # else | |
| # define EXPORT | |
| #endif |
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
| diff --git a/src/ops.c b/src/ops.c | |
| index 62d88a7..7fda2c7 100644 | |
| --- a/src/ops.c | |
| +++ b/src/ops.c | |
| @@ -5407,6 +5407,8 @@ do_addsub(command, Prenum1, g_cmd) | |
| int did_change = FALSE; | |
| pos_T t = curwin->w_cursor; | |
| int maxlen = 0; | |
| + pos_T startpos; | |
| + pos_T endpos; |
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
| // cl /Idtl abcdiff.cpp | |
| // https://github.com/cubicdaiya/dtl | |
| #include <dtl/dtl.hpp> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <sstream> | |
| #include <vector> | |
| #include <string> |
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
| #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; |
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
| 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 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
| package main | |
| import ( | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "log" | |
| ) | |
| func main() { |
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
| // うるう年 | |
| 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 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
| 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 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
| 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) | |
| ================================================================================ | |
| +--------------------------------------------------------------- |