This file contains hidden or 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
module.exports = { | |
"env": { | |
"node": true, //enables parsing of predefined node.js global variables and node.js scoping | |
"es6": true //enables es6 syntax and new es6 global variables | |
}, | |
"extends": "airbnb-base", //team decision to use airbnb as base style guide https://github.com/airbnb/javascript on top of | |
//nus oss standard https://github.com/oss-generic/process/blob/master/docs/CodingStandards.adoc | |
"rules": { | |
"array-bracket-newline": ["error", { "multiline": true }], //to be consistent with object-curly-newline rule and nus oss standard | |
"func-names": "off", //we have many anonymous functions, leaving it on will result in many linter warnings |
This file contains hidden or 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
# Site settings | |
title: Hanuman | |
description: Hanuman is a minimal yet powerful Jekyll theme for your blogs and websites. | |
cover: assets/images/radhakrishna.jpg | |
logo: assets/images/logo.png | |
favicon: assets/images/favicon.png | |
baseurl: "/" # the subpath of your site, e.g. /blog/ or / for root | |
url: "https://nicholaschuayunzhi.github.io" # the base hostname & protocol for your site | |
paginate: 5 # The number of posts to show per page on your homepage |
This file contains hidden or 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
// CS3241Lab3.cpp : Defines the entry point for the console application. | |
//#include <cmath> | |
#include "math.h" | |
#include <iostream> | |
#include <fstream> | |
#include <chrono> | |
#include <random> | |
#ifdef _WIN32 | |
#include <Windows.h> |