This file contains hidden or 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/python3 | |
# Wallabag Android SQLite DB to Wallabag Export format | |
# tested to work on Wallabag Android app version 2.4.2 as of 2021-07-08 | |
# Preparation: To export data from the app go to "Settings - Miscellaneous - Database location" and select "External storage", after that the DB should be available as three wallabag* files in /sdcard/Android/data/fr.gaulupeau.apps.InThePoche/files/ , copy that over to your desktop. | |
# Usage: After that, ensure python is installed, open a command prompt or terminal | |
# make sure to run this script within the Android/data/fr.gaulupeau.apps.InThePoche/files/ directory. Otherwise change the OUTPUT_PATH to that directory. | |
# python wallabag-android-export.py | |
# This will create the following files: |
This file contains hidden or 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
# based on the example here, needs the same libraries https://github.com/arturo182/keyboard_featherwing_sw/tree/master/circuitpython | |
# also drop in the adafruit_hid library. basically just added keyboard send ability when it displays to the screen | |
# as per the README: https://github.com/adafruit/Adafruit_CircuitPython_HID | |
# | |
# HID Keyboard functionality could be improved. Currently it sends the current line to the UART Output terminal as a log | |
# but it might be better to just remove the UART functionality as it adds lag. | |
from bbq10keyboard import BBQ10Keyboard, STATE_PRESS, STATE_RELEASE, STATE_LONG_PRESS | |
from adafruit_display_text.label import Label | |
from adafruit_display_shapes.rect import Rect | |
import adafruit_ili9341 |
This file contains hidden or 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
# The absolute minimum that any new server set up needs. | |
# make sure that any sensitive (password hashes) and non code data is in hiera. | |
# SSH authorized_keys function to authorized multiple SSH keys | |
# https://serverfault.com/a/316292 | |
define authorized_keys ($sshkeys, $ensure = "present", $home = '') { | |
# This line allows default homedir based on $title variable. | |
# If $home is empty, the default is used. | |
$homedir = $home ? {'' => "/home/${title}", default => $home} |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am antonizoon on github. | |
* I am antonizoon (https://keybase.io/antonizoon) on keybase. | |
* I have a public key ASAqfYpYo6kEXU5AxYrF-aE4rOzWV3gJLNasl7vxUzIOBwo | |
To claim this, I am signing this object: |
This file contains hidden or 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
#version=RHEL7 | |
install | |
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use CDROM installation media | |
cdrom | |
# Accept EULA | |
eula --agreed |