Skip to content

Instantly share code, notes, and snippets.

😃

Iskander Gubaidullin unfalse

😃
Block or report user

Report or block unfalse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@unfalse
unfalse / index.html
Last active Jan 3, 2018
JS Bin RxJS example
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[buffer]">
<script src="https://code.jquery.com/jquery-3.0.0.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.6/rx.all.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
@unfalse
unfalse / react-test-select-change.js
Last active Dec 11, 2017
Changing select value not working on enzyme react test
View react-test-select-change.js
it('enter valid data for connection; enable proxy; check if button is disabled', () => {
const component = getComponent(mount); // mount from enzyme
enterCredentials(component);
const proxySelect = component.find('select');
// currently tried these variants:
proxySelect.simulate('change', { target: { value: true } } );
// component.find('select').simulate('select', true);
// component.find('select').simulate('select', 'Yes');
// component.find('select').simulate('change', { target: { value: true } } );
View npm-errors.log
D:\MyExperiments\nnn-mmm-ui_npm_update>npm run node
> ReportTool@0.0.1 node D:\MyExperiments\nnn-mmm-ui_npm_update
> node --harmony --max_old_space_size=8192 --optimize_for_size --max_executable_size=4096 --stack_size=4096 app.js
2017-09-20T12:10:56.563Z - info: [D:\MyExperiments\nnn-mmm-ui_npm_update\jjjjSchedulerWorker.js] jjjj scheduler started
2017-09-20T12:10:57.792Z - info: [D:\MyExperiments\nnn-mmm-ui_npm_update\serviceWorker.js] Express https server listening on port 5252
2017-09-20T12:10:57.801Z - info: [D:\MyExperiments\nnn-mmm-ui_npm_update\serviceWorker.js] Client server listening on port 5253
D:\MyExperiments\nnn-mmm-ui_npm_update\node_modules\webpack\lib\RequestShortener.js:15
return request.replace(NORMALIZE_SLASH_DIRECTION_REGEXP, "/");
@unfalse
unfalse / package.json
Created Sep 15, 2017
webpack production config
View package.json
{
"name": "",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "",
"start": "node server",
"build": "rimraf public && webpack --config ./webpack.production.config.js --progress --profile --colors --display-error-details",
"eslint": "eslint ."
View project.json
{
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.1",
"type": "platform"
},
"Microsoft.AspNetCore.Diagnostics": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.1",
"Microsoft.AspNetCore.Razor.Tools": {
"version": "1.0.0-preview2-final",
View minimalmp4.html
<html><body><video loop="" autoplay="" name="media"><source src="CQEuonnXAAAbzJN.mp4" type="video/mp4"></video></body></html>
You can’t perform that action at this time.