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 -*- | |
# (c) 2018 Florian Lagg <[email protected]> | |
# Under Terms of GPL v3 | |
class MyDict(dict): | |
def __init__(self, *args, **kwargs): | |
self._sortedList = None | |
super(MyDict, self).__init__(*args, **kwargs) |
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 | |
# from outadoc/pushbullet.sh | |
# Changes: | |
# get ACCESS_TOKEN from /etc/pushbullet.conf <LaggAt> | |
# optional wait for process ending (3rd parameter with PID/executable name), before sending with exit code information <LaggAt> | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 <message> [<title> [pid]]" | |
exit | |
fi |
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 bash | |
# original gist from pescobar/build-git.sh | |
# changes by LaggAt: | |
# * to be usable on Raspbian / tested RPi3 and | |
# * for automatic depency resolving | |
# Clear out all previous attempts | |
rm -rf "/tmp/source-git/" | |
# Get the dependencies for git, then get openssl |