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 python3 | |
import argparse | |
import emoji | |
import urllib.request | |
import json | |
import sys | |
parser = argparse.ArgumentParser(description="Convert maunium stickerpicker to MSC2545 sticker packs") | |
parser.add_argument("--baseurl", help="Maunium sticker picker URL") |
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 python3 | |
# A script to set room-specific display names for your Matrix (-> https://matrix.org) account | |
# for all your joined rooms, depending on whether the room members are personal contacts or not. | |
# Requires the matrix-nio library. | |
# | |
# Before execution, adapt at least following values: | |
# - MY_HOMESERVER | |
# - MY_MX_ID | |
# - PERSONAL_SERVERS |
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
#!/bin/sh | |
# | |
# Author: | |
# SpiritCroc <spiritcroc@gmail.com> | |
# | |
workdir="$HOME/.watchrepo" | |
repodir="$workdir/repo" | |
rememberfile="$workdir/remember" | |
tmprememberfile="$workdir/tmpremember" |
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
#!/bin/bash | |
# Settings | |
data_folder="/home/spiritcroc/ROMs/scripts/sonyaospbuild/" | |
n_patch_script="/home/spiritcroc/ROMs/scripts/sony_n_patch.sh" | |
m_patch_script="/home/spiritcroc/ROMs/scripts/sony_mm_patch.sh" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<!-- AOSP-based device tree: --> | |
<remote name="sony" fetch="git://github.com/sonyxperiadev/" /> | |
<remote name="omnirom" fetch="git://github.com/omnirom" /> | |
<remote name="SpiritCroc" fetch="git://github.com/SpiritCroc/" /> | |
<project name="android_device_sony_amami" path="device/sony/amami" remote="SpiritCroc" revision="AICP-mm6.0" /> | |
<project name="android_device_sony_rhine-common" path="device/sony/rhine-common" remote="SpiritCroc" revision="AICP-mm6.0" /> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<remote name="sony" fetch="git://github.com/sonyxperiadev/" /> | |
<remote name="omnirom" fetch="git://github.com/omnirom" /> | |
<remote name="SpiritCroc" fetch="git://github.com/SpiritCroc/" /> | |
<remove-project name="android_hardware_qcom_camera" /> | |
<project name="android_device_sony_amami" path="device/sony/amami" remote="SpiritCroc" revision="DU-m" /> |
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
#!/bin/sh | |
# Tool to create android bootanimations from an original ("raw") resolution to others | |
# that are specified by an existing folder named after the resolution | |
# (e.g. "1600" for 1600x1600) | |
# Only square images supported right now | |
raw="3200" | |
log_level=1 |