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
{ | |
"name": "sailslike", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "node app.js", | |
"dev": "node ./node_modules/nodemon/bin/nodemon app.js", | |
"build": "node ./node_modules/webpack/bin/webpack app.js", | |
"prod": "node ./node_modules/ app.js && node ./n |
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
let app = require('express')(), | |
connect = require('connect'), | |
bodyParser = require('body-parser'), | |
cors = require('cors'), | |
commandLineArgs = require('command-line-args'); | |
const port = 1337; | |
const optionDefinitions = [ | |
{ name:'port', alias:'p', type:Number, defaultOption: true ,defaultValue : 1337 } | |
] |
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 T = require(‘./task’), | |
gulp = require(‘gulp’); | |
// The transpiling Task | |
gulp.task(‘transpile’, ()=> | |
gulp.src([‘./app.js’]) | |
.pipe(T.transpiler) | |
.pipe(gulp.dest(‘./dist’))); | |
// styling Task |
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
/*C program that declares an array A and inputs n integer values in A. | |
Then the contents of array A is copied to another array B in reversed order. | |
Finally print the elements of array B*/ | |
#include<stdio.h> | |
int main() | |
{ | |
int n, reverse, i ; | |
int A[100], B[100] ; | |
printf("Input the size of array A: ") ; |
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
{ | |
"modelTopology": { | |
"backend": "tensorflow", | |
"training_config": { | |
"loss_weights": null, | |
"loss": "categorical_crossentropy", | |
"metrics": ["accuracy"], | |
"optimizer_config": { | |
"config": { | |
"rho": 0.8999999761581421, |
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 fs = require("fs").promises; | |
const path = require("path"); | |
const listFiles = async folderName => { | |
const markDownFiles = (await fs.readdir(folderName)).filter(file => | |
file.includes(".md") | |
); | |
let snippet = {}; |
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
class ApplicationController < ActionController::Base | |
end |