This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "deb http://repo.vivaldi.com/stable/deb/ stable main" | sudo tee /etc/apt/sources.list.d/vivaldi.list > /dev/null | |
wget -O - http://repo.vivaldi.com/stable/linux_signing_key.pub | sudo apt-key add - | |
sudo apt update && sudo apt install vivaldi-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# For https://github.com/matrix-org/synapse/ | |
# Synapse old local media analyze and cleanup util. | |
# @author Pavel Kardash <pavel@kardash.su> | |
""" | |
Since synapse v0.27.0 there last_accessed_ts column | |
in table local_media_repository present. | |
This made it possible to clean unclaimed local media. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************/ | |
/*! | |
@brief Custom lookup tables for full screen updates. Public domain (?) from Waveshare. | |
@note Video explainer: https://www.youtube.com/watch?v=MsbiO8EAsGw and more info: | |
https://benkrasnow.blogspot.com/2017/10/fast-partial-refresh-on-42-e-paper.html | |
@warning YOU CAN PERMANENELY DAMAGE YOUR DISPLAY BY ABUSING THESE LOOKUP TABLES! | |
Seriously, the controller is incredibly programmable and you can force all | |
kinds of voltages and timings onto the screen that it wasn't meant to deal | |
with. TWEAK AT YOUR OWN RISK! | |
*/ |