Skip to content

Instantly share code, notes, and snippets.

View Thomas-X's full-sized avatar
💭
🤔 💻

Thomas Zwarts Thomas-X

💭
🤔 💻
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@Thomas-X
Thomas-X / woningnet.js
Created February 14, 2021 14:39
estimates your non-existant chances of getting a house in the netherlands as a normal, average, adult working person
const fetch = require("node-fetch2")
const datefns = require("date-fns");
fetch("https://www.woningnetalmere.nl/webapi/verantwoording/verantwoordingv2?vanaf=10-02-2020", {
"headers": {
"accept": "*/*",
"accept-language": "nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7,af;q=0.6",
"content-type": "application/json; charset=utf-8",
"sec-ch-ua": "\"Chromium\";v=\"88\", \"Google Chrome\";v=\"88\", \";Not A Brand\";v=\"99\"",
"sec-ch-ua-mobile": "?0",
@Thomas-X
Thomas-X / itried.py
Created May 7, 2021 15:12
a horrible, basic model that uses tensorflow
import os
import datetime
import IPython
import IPython.display
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from datetime import datetime