Skip to content

Instantly share code, notes, and snippets.

View Sebelino's full-sized avatar
👨‍💻

Sebastian Olsson Sebelino

👨‍💻
View GitHub Profile
@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 ASBnLsba1_rGUFm4TG_pkt4wiEI3QU4AwX9IrCOXq-zp0wo

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