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
struct DeferredDirect3DDevice9: DummyDirect3DDevice9 | |
{ | |
private: | |
char* begin; | |
char* write; | |
char* read; | |
char* end; | |
enum command_t | |
{ |
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
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0939r0.pdf | |
Directions for ISO C++ | |
DWG | |
P0939 | |
r0 | |
9 | |
unions, low | |
-level use of variants, and eliminate the visitor pattern (which is an expensive | |
workaround that confuse |
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
How to properly use CComPtr in function calls? | |
https://stackoverflow.com/questions/11294537/how-to-properly-use-ccomptr-in-function-calls | |
IMoniker::BindToStorage method | |
https://msdn.microsoft.com/en-us/library/windows/desktop/ms688738(v=vs.85).aspx | |
IBindStatusCallback interface | |
https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775060(v=vs.85) |
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
(D3DFORMAT)MAKEFOURCC('N', 'V', '1', '2') //842094158 |
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
// C# | |
public class WIN32 | |
{ | |
[DllImport("kernel32.dll")] | |
public static extern Boolean AllocConsole(); | |
[DllImport("kernel32.dll")] | |
public static extern Boolean FreeConsole(); |
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
Hackers: Heroes of the Computer Revolution | |
by Steven Levy | |
Hackers & Painters: Big Ideas from the Computer Age | |
by Paul Graham | |
Functional Thinking | |
by Neal Ford |
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
http://www.xtremevbtalk.com/-net-general/322905-importing-class-dll.html | |
<UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)> | |
Public Delegate Sub function_callback(ByRef state As MY_STRUCT) | |
Dim function_callback = New function_callback(AddressOf my_function_callback) | |
Private Sub my_function_callback(ByRef state As MY_STRUCT) |
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
"rtsp://id:[email protected]:554/ch01.264" // nadatel ipcam | |
"rtsp://id:[email protected]/" // hikvision ipcam #1 | |
"rtsp://id:[email protected]:554/live // hikvision ipcam #2 | |
"rtsp://id:[email protected]/Streaming/Channels/101 // dahua ipcam | |
// when rtsp url string is wrong | |
>> Could not find codec parameters for stream 0 (Video: h264, none): unspecified size | |
>> Consider increasing the value for the 'analyzeduration' and 'probesize' options |
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
---------------------------------------------------------------------------------- | |
https://doc.rust-lang.org/book/second-edition/ | |
https://www.rust-lang.org/en-US/other-installers.html | |
https://crates.io/ | |
https://docs.rs/ |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=$VIMRUNTIME/bundle/Vundle.vim " $VIMRUNTIME C:\vim\vim80 | |
call vundle#begin('$VIMRUNTIME/bundle') | |
syntax on | |
colorscheme moonfly | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim |