Skip to content

Instantly share code, notes, and snippets.

@lowvoltage
lowvoltage / vetrilo.py
Created July 4, 2021 10:46
Vetrilo Lunch Menu Formatter
import re
menu = """
(Copy=paste the menu content here)
"""
if __name__ == "__main__":
menu = "".join(menu.splitlines())
@lowvoltage
lowvoltage / style_news_bg
Created August 1, 2019 17:12
CSS override for news.bg anti-ad-block
.fc-ab-root {
z-index: -1000;
display: None;
}
.fc-whitelist-root {
z-index: -1000;
display: None;
}
body {
@lowvoltage
lowvoltage / Python-on-Raspberry.md
Created July 18, 2017 21:27
Setting up a Python3 dev environment on the Raspberry Pi

Install required packages:

$ sudo apt-get install -y python3 python-pip
$ sudo pip install virtualenv

Setup and activate a Python 3 virtual environment named "venv":

$ virtualenv -p python3 venv
$ source venv/bin/activate
@lowvoltage
lowvoltage / GitHub-Pages-Local.md
Last active July 18, 2017 20:59
Local GitHub Pages Server

Clone from GitHub:

$ git clone [email protected]:lowvoltage/lowvoltage.github.io.git
$ cd lowvoltage.github.io

Install Ruby, tmux and Node.js:

$ sudo apt-get install -y ruby-full tmux nodejs