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/python | |
# This crude script allows to filter Android devices supported by LineageOS | |
# You need to be in the directory where the YAML files are present, which | |
# are used to create the list seen at https://wiki.lineageos.org/devices/ | |
# You need first to edit the conditions used in the last 'if' statement to | |
# adapt this script (named $0 below) to your needs. Then usage could look | |
# like this: | |
# git clone https://github.com/LineageOS/lineage_wiki.git | |
# cd lineage_wiki/_data/devices | |
# (edit $0 and adapt the if-statement at the end of the script) |
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/python | |
# -*- coding: utf-8 -*- | |
""" | |
Script to download book files from Oldenbourg Stars Ting according to IDs in file $ting/TBD.TXT | |
Mostly stolen from https://forum.ubuntuusers.de/topic/synchronisation-von-ting-dem-hoerstift-von-bro/ | |
""" | |
import urllib | |
import os | |
import re |
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
#!/bin/sh | |
# | |
# This script builds & bundles Python for Android | |
# You'll end up with a tar.bz2 file that contains a Python distribution | |
# | |
# Requires all prerequisites to build Android on the host, and the NDK | |
# installed. | |
# | |
# This script creates a file python4android.tbz2. Unpack it on your device | |
# (into a non-noexec partition!) and enjoy. |