I hereby claim:
- I am wufe on github.
- I am simonebmb (https://keybase.io/simonebmb) on keybase.
- I have a public key whose fingerprint is C0F2 46EA A47C A130 7461 2B6E F89E 9765 49AC B0B0
To claim this, I am signing this object:
var http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, { 'Content-Type': 'text/plain' }); | |
res.end('OK'); | |
process.exit(0); | |
}).listen(3999, '0.0.0.0'); |
I hereby claim:
To claim this, I am signing this object:
var gulp = require("gulp"), | |
shell = require("gulp-shell"); | |
gulp.task("build-parcel:compile", shell.task("parcel build wwwroot/js/site.js", { cwd: __dirname })); | |
gulp.task("build-parcel:watch", function(){ | |
gulp.watch([ | |
"wwwroot/**/*.js", | |
"wwwroot/**/*.vue", | |
], ["build-parcel:compile"]); | |
}); |
#include <stdio.h> | |
#include <math.h> | |
int main() { | |
int array[7] = {1,1,1,2,1,1,1}; | |
int arrayLength = sizeof(array)/sizeof(int); | |
printf("Array length is %d\n", arrayLength); | |
double mid = (double)arrayLength / 2; | |
int pivotIndex = ceil(mid); |
Set-NetConnectionProfile -InterfaceAlias "vEthernet (DockerNAT)" -NetworkCategory Private | |
winrm qc |
type RecursivePartial<T> = { [P in keyof T]?: RecursivePartial<T[P]> }; |
version: '2' | |
services: | |
master: | |
image: kesshin/redis-node:latest | |
expose: | |
- "6379" | |
ports: | |
- "7001:6379" | |
networks: |
Store is created using a configureStore snippet, which is
import {createStore, applyMiddleware, compose} from 'redux';
import rootReducer from '../reducers';
import reduxImmutableStateInvariant from 'redux-immutable-state-invariant';
First, install @types/core-js
npm install --save @types/core-js
Next, import the definition type into your code
/// <reference path="../node_modules/@types/core-js/index.d.ts" />