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
Write-Host "" | |
Write-Host "Setting up 32-bit environment for using DMD 2 from $PSScriptRoot\dmd2\windows\bin." | |
$env:PATH = "$PSScriptRoot\dmd2\windows\bin;$env:PATH" |
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
LRESULT CALLBACK Window::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) | |
{ | |
switch (uMsg) | |
{ | |
case WM_CREATE: | |
OnCreate(); | |
break; | |
case WM_KEYDOWN: | |
OnKeyDown(wParam); | |
break; |
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
DELIMITER // | |
CREATE FUNCTION BIN_TO_UUID(b BINARY(16)) | |
RETURNS CHAR(36) | |
BEGIN | |
DECLARE hexStr CHAR(32); | |
SET hexStr = HEX(b); | |
RETURN LOWER(CONCAT( | |
SUBSTR(hexStr, 1, 8), '-', | |
SUBSTR(hexStr, 9, 4), '-', |
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
У Хускара нет стана, но с аганимом есть таунт | |
У Пуджа 1 армор | |
При игре на керри, когда не можешь участвовать в тимфайте, нужно пушить линию | |
На войде никогда не межуйся прожимать БКБ в куполе | |
Керри игра начинается с 30 минуты. До этого фармится лес и линии |
This will be helpful for implementing own GUI framework
Message | Callback function signature |
---|---|
WM_CREATE |
BOOL OnCreate(HWND hWnd, LPCREATESTRUCT lpcs); |
WM_SIZE |
void OnSize(HWND hWnd, UINT state, int x, int y); |
WM_DESTROY |
void OnDestroy(HWND hWnd); |
WM_PAINT |
void OnPaint(HWND hWnd); |
WM_LBUTTONDOWN |
void OnLButtonDown(HWND hWnd, BOOL fDoubleClick, int x, int y, UINT keyFlags); |
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
Index: asio/awaitable.hpp | |
=================================================================== | |
--- asio/awaitable.hpp 2020-05-21 19:54:51.697328600 +0500 | |
+++ asio/awaitable.hpp 2020-05-21 20:00:17.713715000 +0500 | |
@@ -19,7 +19,12 @@ | |
#if defined(BOOST_ASIO_HAS_CO_AWAIT) || defined(GENERATING_DOCUMENTATION) | |
-#include <experimental/coroutine> | |
+#if defined(BOOST_ASIO_HAS_STD_COROUTINE) |
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
syntax on | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
noremap <Up> <Nop> | |
noremap <Down> <Nop> | |
noremap <Left> <Nop> | |
noremap <Right> <Nop> |