Skip to content

Instantly share code, notes, and snippets.

View bzoz's full-sized avatar

Bartosz Sosnowski bzoz

View GitHub Profile
call npx react-native init %1 --template react-native@^0.63.2
cd %1
call npx react-native-windows-init --overwrite
call yarn
call npx react-native run-windows
call npx create-react-native-module --module-name "%1" %1
cd %1
call yarn upgrade [email protected] --dev
call yarn upgrade [email protected] --dev
call yarn add react-native-windows@latest --dev
call yarn install
#include <windows.h>
#include <stdio.h>
#include <string.h>
#define BUF_SIZE (128*1024)
DWORD __stdcall thread_proc(void* num);
HANDLE signal_event;
int main() {
#include <windows.h>
#include <stdio.h>
int main() {
LARGE_INTEGER prev, next;
BOOL r;
QueryPerformanceCounter(&prev);
for (;;) {
r = QueryPerformanceCounter(&next);
if (r == 0 || next.QuadPart < prev.QuadPart) {
12:36:58 C:\workspace\libuv-test-commit-windows-cmake\out>cmake .. -DBUILD_TESTING=ON
12:36:58 -- Building for: Visual Studio 15 2017
12:36:58 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.14393.
12:37:01 -- The C compiler identification is MSVC 19.16.27039.0
12:37:01 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
12:37:02 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - works
12:37:02 -- Detecting C compiler ABI info
12:37:03 -- Detecting C compiler ABI info - done
12:37:03 -- Detecting C compile features
12:37:03 -- Detecting C compile features - done
15:11:29 C:\workspace\libuv-test-commit-windows-cmake\out>cmake .. -DBUILD_TESTING=ON
15:11:29 -- Building for: Visual Studio 15 2017
15:11:29 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.14393.
15:11:30 -- The C compiler identification is MSVC 19.16.27039.0
15:11:30 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
15:11:31 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - works
15:11:31 -- Detecting C compiler ABI info
15:11:32 -- Detecting C compiler ABI info - done
15:11:32 -- Detecting C compile features
15:11:32 -- Detecting C compile features - done
a
a
a
a
a
a
a
a
a
a
Log from npm install --verbose
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Users\\ja\\AppData\\Local\\nvs\\node\\10.6.0\\x64\\node.exe',
npm verb cli 'C:\\Users\\ja\\AppData\\Local\\nvs\\node\\10.6.0\\x64\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session f79bd382a1ff46d1
This file has been truncated, but you can view the full file.
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
This file has been truncated, but you can view the full file.
TAP version 13
ok 1 - lodash v4.17.4
---
# > [email protected] pretest C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > npm run build
# > [email protected] build C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > npm run build:main && npm run build:fp
# > [email protected] build:main C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > node lib/main/build-dist.js
# > [email protected] build:fp C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash