Skip to content

Instantly share code, notes, and snippets.

View cnjimbo's full-sized avatar
💭
I may be slow to respond.

Jimbo Tang cnjimbo

💭
I may be slow to respond.
View GitHub Profile
@cnjimbo
cnjimbo / SimpleLogger.cs
Last active March 21, 2017 09:15
Simple File Logger Not Simple Function,Entirely Independent. This is an open source from Microsoft patterns & practices Enterprise Library Logging Application Block //We have done lots of enhancement
//===============================================================================
#region Using
// Simple File Logger Not Simple Function,Entirely Independent
//===============================================================================
//This is an open source from Microsoft patterns & practices Enterprise Library Logging Application Block
//We have done lots of enhancement,
//===============================================================================
@jonahwilliams
jonahwilliams / LinearRegression.js
Last active April 13, 2017 07:29
Under-fitting versus Over-fitting
function LinearRegression(data){
var X = [],
y = [];
for (var i = 0; i < data.length; i ++){
var tempX = [];
for(var j = 0; j < data[0]['x'].length; j++){
tempX.push(data[i]['x'][j]);
}
X.push(tempX);
y.push([data[i].y]);
@xpepermint
xpepermint / webpack.config.js
Last active April 20, 2021 07:04
Webpack Common Configuration File (ReactJS)
'use strict';
/**
* Webpack Configuration File
*
* This is a configuration file for Webpack module bundler. You should customize
* it to fit your project.
*
* To start the development server run:
*