Skip to content

Instantly share code, notes, and snippets.

View arnihermann's full-sized avatar
💭
¯\_(ツ)_/¯

Árni Hermann Reynisson arnihermann

💭
¯\_(ツ)_/¯
View GitHub Profile
@oliverjumpertz
oliverjumpertz / simple-linear-regression.js
Created January 5, 2021 19:49
Simple linear regression implemented in JavaScript
const inputArray = [
{
squareMeters: 200,
priceInDollars: 190000
},
{
squareMeters: 100,
priceInDollars: 90000
},
{
@guillaumebort
guillaumebort / 1.sql
Created May 25, 2012 15:17
Play 2.0/Anorm
# --- !Ups
CREATE TABLE users(
email VARCHAR(255) NOT NULL PRIMARY KEY,
name VARCHAR(255)
);
CREATE TABLE subjects(
id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
title LONGTEXT NOT NULL,