initial commit

master
Tudor Stanciu 2019-02-18 02:37:55 +02:00
commit 000f7209ea
18 changed files with 17453 additions and 0 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

68
README.md Normal file
View File

@ -0,0 +1,68 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br>
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
### Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
### Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
### Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
### Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
### `npm run build` fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

325
debug.log Normal file
View File

@ -0,0 +1,325 @@
[0119/234122.858:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.858:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.858:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.858:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.858:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.858:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.858:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.858:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.858:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.858:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25337193310 of 72 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_annotations_reader.cc(133)] could not read annotations list object in C:\Program Files (x86)\Google\Chrome\Application\71.0.3578.98\chrome_elf.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25337402430 of 72 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_annotations_reader.cc(133)] could not read annotations list object in C:\Program Files (x86)\Google\Chrome\Application\71.0.3578.98\chrome_child.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff62dfb0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814540000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\ntdll.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814090000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\KERNEL32.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811240000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\KERNELBASE.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80ebd0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\apphelp.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812b70000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\SHELL32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812ad0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\msvcrt.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811170000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\cfgmgr32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8118d0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\ucrtbase.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff813fe0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\shcore.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811b40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\RPCRT4.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812730000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\combase.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8111c0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\bcryptPrimitives.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8109b0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\windows.storage.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814460000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\advapi32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812a70000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\sechost.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811df0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\shlwapi.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8119d0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\GDI32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8114c0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\gdi32full.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810910000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\msvcp_win.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336e40000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\USER32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811850000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\win32u.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8108d0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\kernel.appcore.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810850000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\profapi.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810880000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\powrprof.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810870000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\FLTLIB.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814450000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\PSAPI.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80b130000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\VERSION.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80eae0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\WINMM.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810750000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\USERENV.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80eab0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\WINMMBASE.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810240000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff813fb0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\IMM32.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffd7960000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\Program Files (x86)\Google\Chrome\Application\71.0.3578.98\chrome_child.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812400000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\WS2_32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811e50000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\ole32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8142e0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\OLEAUT32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811870000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\WINTRUST.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8108f0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\MSASN1.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff811660000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\CRYPT32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812630000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\COMDLG32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80fdf0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ffff84e0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\OLEACC.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff800fd0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17134.523_none_fb409dd930672a56\COMCTL32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff802ac0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\DWrite.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80f640000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\dxgi.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80a2d0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80af60000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\dbghelp.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80c660000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\USP10.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80b3d0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\WINHTTP.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff802de0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\urlmon.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff808c80000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\Secur32.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80cc90000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff812a60000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\System32\NSI.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff80b1f0000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\PROPSYS.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810350000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\bcrypt.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff808910000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\iertutil.dll
[0119/234122.874:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff810780000 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.874:WARNING:pe_image_reader.cc(302)] could not read dos header from C:\WINDOWS\SYSTEM32\SSPICLI.DLL
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca43ec000 of 81920 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca45fe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca49fe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4bfe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4dfe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4ffd000 of 12288 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca51fe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca53fe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca55fc000 of 16384 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca57ec000 of 81920 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca59ec000 of 81920 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca5bfe000 of 8192 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca5dfd000 of 12288 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca47fd000 of 12288 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca5ffd000 of 12288 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca411d000 of 852 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca411e000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4120000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4124000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4126000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4128000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca412a000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca412c000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca412e000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4130000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4132000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4134000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4136000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca415c000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca415e000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x5ca4160000 of 6024 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d40fc0 of 14566 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d448b0 of 1012 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d44ec8 of 118 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d44f40 of 1094 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45388 of 118 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45400 of 96 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45470 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45570 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45700 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d458c0 of 124 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45ca0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45e30 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d45f90 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d46190 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d46280 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d46410 of 68 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4c8a0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4cae0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4cc70 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4e3e0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4e570 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4e5c0 of 156 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4e7c0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4e950 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4ebd0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4ed60 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4efc0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f150 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f1a0 of 246 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f470 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f600 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f840 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d4f9d0 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d50520 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d50760 of 78 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d50820 of 76 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d50b20 of 80 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d50ff0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d514d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d51600 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52770 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d529e0 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52a80 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52ad0 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52b20 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52b70 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52bc0 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52c10 of 66 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52c60 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52cb0 of 66 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52d50 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52e40 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52e90 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52ee0 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d52f30 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53020 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d531d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53300 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53430 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53560 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53690 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d537c0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d538f0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53a20 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53b50 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53c80 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53db0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d53ee0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d54010 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d55c20 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d55d50 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d55e80 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d55fb0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d560e0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56210 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56340 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56470 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d565a0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d566d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56800 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56930 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56a60 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56b90 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56df0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d56f20 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d57050 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d57180 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d572b0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d573e0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d57510 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d57770 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d578a0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d579d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d58bf0 of 152 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d5b0c0 of 66 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d5b200 of 66 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d5b250 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d5b7f0 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d5ff30 of 54 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d63970 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b040 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b090 of 56 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b180 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b220 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b270 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b400 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b4a0 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b590 of 58 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b630 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b860 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b8b0 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b9a0 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6b9f0 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6ba40 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6ba90 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6bae0 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6bb30 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6bb80 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6bbd0 of 62 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6bc70 of 60 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6c4a0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6c5d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6d410 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6d8d0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d6dec0 of 132 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25336d805e0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253373a0000 of 384 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253373a0234 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253373a0ca0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253373a1600 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253373a1900 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25337438f70 of 728 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25337461850 of 688 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25337488d48 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x2533749ab40 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253398a3f90 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253398ea550 of 584 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x253398edf70 of 592 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x25339a5b570 of 520 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x2533b417b20 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x2533b5b9f40 of 536 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x2533b5fe560 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x2533c9f9da4 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff81127a308 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8140b0840 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814559c50 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814566270 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8145679f0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8145682e0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff81456a0d0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8145da9a4 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8145dafa4 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8145de214 of 608 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814663810 of 18 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff8146964e0 of 40 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff814696938 of 48 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7ff81469c360 of 64 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffd79b3f0a of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffd7d628f0 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffd81b6cce of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffdbf1dd1a of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffdcbf7398 of 520 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:process_reader_win.cc(242)] ReadMemory at 0x7fffdcc47b50 of 512 bytes failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (0x12B)
[0119/234122.889:ERROR:scoped_process_suspend.cc(40)] NtResumeProcess: An attempt was made to access an exiting process. (0xc000010a)

16435
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

32
package.json Normal file
View File

@ -0,0 +1,32 @@
{
"name": "play-nine",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.12",
"@fortawesome/free-solid-svg-icons": "^5.6.3",
"@fortawesome/react-fontawesome": "^0.1.4",
"bootstrap": "^4.2.1",
"font-awesome": "^4.7.0",
"lodash": "^4.17.11",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-fontawesome": "^1.6.1",
"react-scripts": "^2.1.5"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

41
public/index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Play Nine</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

15
public/manifest.json Normal file
View File

@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

15
src/components/App.js Normal file
View File

@ -0,0 +1,15 @@
import React from "react";
import Game from "./game";
class App extends React.Component {
state = {};
render() {
return (
<div>
<Game />
</div>
);
}
}
export default App;

15
src/components/answer.jsx Normal file
View File

@ -0,0 +1,15 @@
import React from "react";
const Answer = props => {
return (
<div className="col-5">
{props.selectedNumbers.map((number, i) => (
<span key={i} onClick={() => props.unselectNumber(number)}>
{number}
</span>
))}
</div>
);
};
export default Answer;

49
src/components/button.jsx Normal file
View File

@ -0,0 +1,49 @@
import React from "react";
const Button = props => {
let button;
switch (props.answerIsCorrect) {
case true:
button = (
<button className="btn btn-success" onClick={props.acceptAnswer}>
<i className="fa fa-check" />
</button>
);
break;
case false:
button = (
<button className="btn btn-danger">
<i className="fa fa-times" />
</button>
);
break;
default:
button = (
<button
className="btn btn-primary"
onClick={props.checkAnswer}
disabled={props.selectedNumbers.length === 0}
>
=
</button>
);
break;
}
return (
<div className="col-2 text-center">
{button}
<br />
<br />
<button
className="btn btn-warning btn-sm"
onClick={props.redraw}
disabled={props.redraws === 0}
>
<i className="fa fa-refresh" /> {props.redraws}
</button>
</div>
);
};
export default Button;

View File

@ -0,0 +1,14 @@
import React from "react";
const DoneFrame = props => {
return (
<div className="text-center">
<h2>{props.doneStatus}</h2>
<button className="btn btn-outline-secondary" onClick={props.resetGame}>
Play Again
</button>
</div>
);
};
export default DoneFrame;

184
src/components/game.jsx Normal file
View File

@ -0,0 +1,184 @@
import React, { Component } from "react";
import _ from "lodash";
import Stars from "./stars";
import Button from "./button";
import Numbers from "./numbers";
import Answer from "./answer";
import DoneFrame from "./doneFrame";
var possibleCombinationSum = function(arr, n) {
if (arr.indexOf(n) >= 0) {
return true;
}
if (arr[0] > n) {
return false;
}
if (arr[arr.length - 1] > n) {
arr.pop();
return possibleCombinationSum(arr, n);
}
var listSize = arr.length,
combinationsCount = 1 << listSize;
for (var i = 1; i < combinationsCount; i++) {
var combinationSum = 0;
for (var j = 0; j < listSize; j++) {
if (i & (1 << j)) {
combinationSum += arr[j];
}
}
if (n === combinationSum) {
return true;
}
}
return false;
};
class Game extends Component {
static randomNumber = lastNumberOfStars => {
var randomNo = 1 + Math.floor(Math.random() * 9);
if (lastNumberOfStars == null) {
return randomNo;
}
while (randomNo === lastNumberOfStars) {
randomNo = 1 + Math.floor(Math.random() * 9);
}
return randomNo;
};
static initialState = () => ({
selectedNumbers: [],
randomNumberOfStars: Game.randomNumber(null),
usedNumbers: [],
answerIsCorrect: null,
redraws: 5,
doneStatus: null
});
state = Game.initialState();
resetGame = () => this.setState(Game.initialState());
selectNumber = clickedNumber => {
if (
this.state.selectedNumbers.indexOf(clickedNumber) >= 0 ||
this.state.usedNumbers.indexOf(clickedNumber) >= 0
) {
return;
}
this.setState(prevState => ({
answerIsCorrect: null,
selectedNumbers: prevState.selectedNumbers.concat(clickedNumber)
}));
};
unselectNumber = clickedNumber => {
this.setState(prevState => ({
answerIsCorrect: null,
selectedNumbers: prevState.selectedNumbers.filter(
number => number !== clickedNumber
)
}));
};
checkAnswer = () => {
this.setState(prevState => ({
answerIsCorrect:
prevState.randomNumberOfStars ===
prevState.selectedNumbers.reduce((acc, n) => acc + n, 0)
}));
};
acceptAnswer = () => {
this.setState(
prevState => ({
usedNumbers: prevState.usedNumbers.concat(prevState.selectedNumbers),
selectedNumbers: [],
randomNumberOfStars: Game.randomNumber(prevState.randomNumberOfStars),
answerIsCorrect: null
}),
this.updateDoneStatus
);
};
redraw = () => {
if (this.state.redraws === 0) return;
this.setState(
prevState => ({
selectedNumbers: [],
randomNumberOfStars: Game.randomNumber(prevState.randomNumberOfStars),
answerIsCorrect: null,
redraws: prevState.redraws - 1
}),
this.updateDoneStatus
);
};
possibleSolutions = ({ randomNumberOfStars, usedNumbers }) => {
const possibleNumbers = _.range(1, 10).filter(
number => usedNumbers.indexOf(number) === -1
);
return possibleCombinationSum(possibleNumbers, randomNumberOfStars);
};
updateDoneStatus = () => {
this.setState(prevState => {
if (prevState.usedNumbers.length === 9) {
return { doneStatus: "Done. Nice!" };
}
if (prevState.redraws === 0 && !this.possibleSolutions(prevState)) {
return { doneStatus: "Game Over!" };
}
});
};
render() {
const {
selectedNumbers,
randomNumberOfStars,
answerIsCorrect,
usedNumbers,
redraws,
doneStatus
} = this.state;
return (
<div className="container">
<h3>Play Nine</h3>
<hr />
<div className="row">
<Stars numberOfStars={randomNumberOfStars} />
<Button
selectedNumbers={selectedNumbers}
checkAnswer={this.checkAnswer}
answerIsCorrect={answerIsCorrect}
acceptAnswer={this.acceptAnswer}
redraw={this.redraw}
redraws={redraws}
/>
<Answer
selectedNumbers={selectedNumbers}
unselectNumber={this.unselectNumber}
/>
</div>
<br />
{doneStatus ? (
<DoneFrame doneStatus={doneStatus} resetGame={this.resetGame} />
) : (
<Numbers
selectedNumbers={selectedNumbers}
selectNumber={this.selectNumber}
usedNumbers={usedNumbers}
/>
)}
</div>
);
}
}
export default Game;

View File

@ -0,0 +1,33 @@
import React from "react";
import _ from "lodash";
const Numbers = props => {
const numberClassName = number => {
if (props.usedNumbers.indexOf(number) >= 0) {
return "used";
}
if (props.selectedNumbers.indexOf(number) >= 0) {
return "selected";
}
};
return (
<div className="card text-center">
<div>
{Numbers.list.map((number, i) => (
<span
key={i}
className={numberClassName(number)}
onClick={() => props.selectNumber(number)}
>
{number}
</span>
))}
</div>
</div>
);
};
Numbers.list = _.range(1, 10);
export default Numbers;

14
src/components/stars.jsx Normal file
View File

@ -0,0 +1,14 @@
import React from "react";
import _ from "lodash";
const Stars = props => {
return (
<div className="col-5">
{_.range(props.numberOfStars).map(j => (
<i key={j} className="fa fa-star" />
))}
</div>
);
};
export default Stars;

41
src/index.css Normal file
View File

@ -0,0 +1,41 @@
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
.fa-star {
margin: 0.5em;
font-size: 24px;
}
span {
display: inline-block;
margin: 0.5em;
text-align: center;
background-color: #ccc;
width: 24px;
border-radius: 50%;
cursor: pointer;
}
.selected {
background-color: #eee;
color: #ddd;
cursor: not-allowed;
}
.used {
background-color: #aaddaa;
color: #99bb99;
cursor: not-allowed;
}

14
src/index.js Normal file
View File

@ -0,0 +1,14 @@
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./components/App";
import * as serviceWorker from "./serviceWorker";
import "font-awesome/css/font-awesome.min.css";
import "bootstrap/dist/css/bootstrap.css";
ReactDOM.render(<App />, document.getElementById("root"));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();

135
src/serviceWorker.js Normal file
View File

@ -0,0 +1,135 @@
// This optional code is used to register a service worker.
// register() is not called by default.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on subsequent visits to a page, after all the
// existing tabs open on the page have been closed, since previously cached
// resources are updated in the background.
// To learn more about the benefits of this model and instructions on how to
// opt-in, read http://bit.ly/CRA-PWA
const isLocalhost = Boolean(
window.location.hostname === 'localhost' ||
// [::1] is the IPv6 localhost address.
window.location.hostname === '[::1]' ||
// 127.0.0.1/8 is considered localhost for IPv4.
window.location.hostname.match(
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
)
);
export function register(config) {
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
// The URL constructor is available in all browsers that support SW.
const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
if (publicUrl.origin !== window.location.origin) {
// Our service worker won't work if PUBLIC_URL is on a different origin
// from what our page is served on. This might happen if a CDN is used to
// serve assets; see https://github.com/facebook/create-react-app/issues/2374
return;
}
window.addEventListener('load', () => {
const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;
if (isLocalhost) {
// This is running on localhost. Let's check if a service worker still exists or not.
checkValidServiceWorker(swUrl, config);
// Add some additional logging to localhost, pointing developers to the
// service worker/PWA documentation.
navigator.serviceWorker.ready.then(() => {
console.log(
'This web app is being served cache-first by a service ' +
'worker. To learn more, visit http://bit.ly/CRA-PWA'
);
});
} else {
// Is not localhost. Just register service worker
registerValidSW(swUrl, config);
}
});
}
}
function registerValidSW(swUrl, config) {
navigator.serviceWorker
.register(swUrl)
.then(registration => {
registration.onupdatefound = () => {
const installingWorker = registration.installing;
if (installingWorker == null) {
return;
}
installingWorker.onstatechange = () => {
if (installingWorker.state === 'installed') {
if (navigator.serviceWorker.controller) {
// At this point, the updated precached content has been fetched,
// but the previous service worker will still serve the older
// content until all client tabs are closed.
console.log(
'New content is available and will be used when all ' +
'tabs for this page are closed. See http://bit.ly/CRA-PWA.'
);
// Execute callback
if (config && config.onUpdate) {
config.onUpdate(registration);
}
} else {
// At this point, everything has been precached.
// It's the perfect time to display a
// "Content is cached for offline use." message.
console.log('Content is cached for offline use.');
// Execute callback
if (config && config.onSuccess) {
config.onSuccess(registration);
}
}
}
};
};
})
.catch(error => {
console.error('Error during service worker registration:', error);
});
}
function checkValidServiceWorker(swUrl, config) {
// Check if the service worker can be found. If it can't reload the page.
fetch(swUrl)
.then(response => {
// Ensure service worker exists, and that we really are getting a JS file.
const contentType = response.headers.get('content-type');
if (
response.status === 404 ||
(contentType != null && contentType.indexOf('javascript') === -1)
) {
// No service worker found. Probably a different app. Reload the page.
navigator.serviceWorker.ready.then(registration => {
registration.unregister().then(() => {
window.location.reload();
});
});
} else {
// Service worker found. Proceed as normal.
registerValidSW(swUrl, config);
}
})
.catch(() => {
console.log(
'No internet connection found. App is running in offline mode.'
);
});
}
export function unregister() {
if ('serviceWorker' in navigator) {
navigator.serviceWorker.ready.then(registration => {
registration.unregister();
});
}
}