Skip to content

Instantly share code, notes, and snippets.

View Sebelino's full-sized avatar
👨‍💻

Ville Sebastian Olsson Sebelino

👨‍💻
View GitHub Profile
@Sebelino
Sebelino / Bikeshare.csv
Created November 2, 2025 19:04
Bayesian Methods
We can't make this file beautiful and searchable because it's too large.
"","season","mnth","day","hr","holiday","weekday","workingday","weathersit","temp","atemp","hum","windspeed","casual","registered","bikers"
"1",1,"Jan",1,"0",0,6,0,"clear",0.24,0.2879,0.81,0,3,13,16
"2",1,"Jan",1,"1",0,6,0,"clear",0.22,0.2727,0.8,0,8,32,40
"3",1,"Jan",1,"2",0,6,0,"clear",0.22,0.2727,0.8,0,5,27,32
"4",1,"Jan",1,"3",0,6,0,"clear",0.24,0.2879,0.75,0,3,10,13
"5",1,"Jan",1,"4",0,6,0,"clear",0.24,0.2879,0.75,0,0,1,1
"6",1,"Jan",1,"5",0,6,0,"cloudy/misty",0.24,0.2576,0.75,0.0896,0,1,1
"7",1,"Jan",1,"6",0,6,0,"clear",0.22,0.2727,0.8,0,2,0,2
"8",1,"Jan",1,"7",0,6,0,"clear",0.2,0.2576,0.86,0,1,2,3
"9",1,"Jan",1,"8",0,6,0,"clear",0.24,0.2879,0.75,0,1,7,8
@Sebelino
Sebelino / netherlandsimmigrant.csv
Created October 29, 2025 18:40
Bayesian Methods course file
capture
1 1
2 1
3 1
4 1
5 1
6 2
7 1
8 1
9 1
@Sebelino
Sebelino / partitioning.sh
Last active August 7, 2021 14:31
Partitioning NixOS
#!/usr/bin/env bash
# After booting into the NixOS live cd, do:
# sudo su
# loadkeys /etc/kbd/keymaps/i386/qwerty/sv-latin1.map.gz
# wpa_passphrase Olssons-5G | tee /etc/wpa_supplicant.conf
# (Enter Wifi password)
# systemctl restart wpa_supplicant.service
# bash <(curl -sL <THIS_SCRIPT>) <MY_LUKS_PASSPHRASE>

Keybase proof

I hereby claim:

  • I am sebelino on github.
  • I am sebelino (https://keybase.io/sebelino) on keybase.
  • I have a public key ASBE8LvObe0XA_NYqdKTkcfCmDuelvruMRp9SIjOtckjrQo

To claim this, I am signing this object:

{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
@Sebelino
Sebelino / keymouseloggertest.py
Last active October 4, 2016 14:39
Key/mouse logger demo with PyUserInput
#!/usr/bin/env python
# The following is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
from pykeyboard import PyKeyboardEvent
from pymouse import PyMouseEvent
from threading import Thread