app
- makefile.js
- test.js
- test
- app.js
- app1
-- app1.js
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="./node_modules/mithril/mithril.js"></script> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div id = "main"></div> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.main { | |
border: 1px solid grey; | |
} |
This file contains 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
var glob = require("glob"); | |
var fs = require("fs"); | |
var path = require("path"); | |
var dir = "C:/Users/gs025879/Documents/webstrom/eslint/tests/fixtures/config-hierarchy"; | |
var structure = glob.sync("**/*.*", { | |
cwd: dir, | |
dot:true | |
}); |
This file contains 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
import babel from 'rollup-plugin-babel'; | |
import less from 'rollup-plugin-less'; | |
import path from "path"; | |
import includePaths from 'rollup-plugin-includepaths'; | |
import nodeResolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
import uglify from 'rollup-plugin-uglify'; | |
import { minify } from 'uglify-js'; | |
This file contains 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
var fs = require("chai").assert; | |
var fileContent = "hello"; | |
fs.writeFile("./sample.txt", fileContent, (err) => { | |
if (err) { | |
console.error(err); | |
return; | |
}; | |
console.log("File has been created"); | |
}); | |
// Content of the file -> hello |
This file contains 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
var fs = require("chai").assert; | |
var sampleObject = { | |
a: 1, | |
b: 2, | |
c: { | |
x: 11, | |
y: 22 | |
} | |
}; | |
fs.writeFile("./object.json", JSON.stringify(sampleObject), (err) => { |
This file contains 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
var fs = require("chai").assert; | |
var sampleObject = { | |
a: 1, | |
b: 2, | |
c: { | |
x: 11, | |
y: 22 | |
} | |
}; | |
fs.writeFile("./object.json", JSON.stringify(sampleObject, null, 4), (err) => { |
This file contains 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
robocopy %userprofile%\Documents "%userprofile%\OneDrive" /MIR /W:5 /r:5 /xo /xf *.pst /xd node_modules |
This file contains 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
const workerFarm = require("worker-farm"); | |
const FARM_OPTIONS = { | |
maxConcurrentWorkers : require('os').cpus().length | |
, maxCallsPerWorker : Infinity | |
, maxConcurrentCallsPerWorker : 1 | |
}; | |
const workers = workerFarm(FARM_OPTIONS, require.resolve("./worker")); | |
let ret = 0; |
OlderNewer