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
certbot -v -n certonly --manual --force-renewal -d "*.local.example.com" \ | |
--preferred-challenges dns --agree-tos --email [email protected] \ | |
--logs-dir ~/letsencrypt/logs \ | |
--config-dir ~/letsencrypt/etc \ | |
--work-dir ~/letsencrypt/work/. \ | |
--manual-auth-hook ~/letsencrypt/manual-local-hook.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
import json | |
from ovos_workshop.skills import OVOSSkill | |
from ovos_workshop.decorators import intent_handler | |
import paho.mqtt.client as mqtt | |
import paho.mqtt | |
class FeedTheFish(OVOSSkill): |
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
* Descriptions | |
** neon-tts-plugin-coqui | |
Plugin to connect to the coqui TTS service | |
** ovos-audio | |
The "mouth" of the OVOS assistant! | |
Handles TTS generation and audio playback | |
** ovos-backend-client | |
Python client library for interaction with several supported backends under a single unified interface | |
** ovos-bus-client | |
This module is a simple interface for the mycroft messagebus and can be used to connect to ovos, send messages and react to messages sent by the OpenVoiceOS system |
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/python3 | |
import logging | |
import datetime | |
from PySide2.QtCore import QObject, Slot | |
from PySide2.QtCore import QTimer | |
logger = logging.getLogger(__name__) | |
logger.setLevel(logging.DEBUG) |
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 asyncio | |
import evdev | |
from evdev import ecodes | |
from evdev.events import KeyEvent | |
from PySide2.QtCore import QObject | |
class IR(QObject): |
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
In your config add sections for user-$IDENTITY. Below I use -work and -home | |
Also add an alias to run a script when you want to change .. I chose "user" ... "become" might be fun... | |
$ cat ~/.gitconfig | |
<---------snip----------> | |
[user] | |
name = David Greaves | |
email = [email protected] | |
[user-home] | |
name = David Greaves |
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
nemo/devel/hw/android/common | |
nemo/devel/hw/asus/flo | |
nemo/devel/hw/brcm/bcm2835 | |
nemo/devel/hw/fairphone/fp2-sibon | |
nemo/devel/hw/htc/vision | |
nemo/devel/hw/lge/hammerhead | |
nemo/devel/hw/lge/mako | |
nemo/devel/hw/motorola/athene | |
nemo/devel/hw/motorola/falcon | |
nemo/devel/hw/motorola/kinzie |
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
%install | |
rm -rf %{buildroot} | |
# >> install pre | |
# << install pre | |
%qmake5_install | |
# >> install post | |
mkdir -p %{buildroot}%{_datadir}/%{name}/lib | |
cp -a /usr/lib/libassimp* %{buildroot}%{_datadir}/%{name}/lib/ |
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
class SSEvent | |
{ | |
public: | |
SSEvent(QString type, QString data, QString origin, QString lastEventId): | |
m_data(data) | |
, m_lastEventId(lastEventId) | |
, m_origin(origin) | |
, m_type(type) { } | |
QString type() const { return m_type; } |
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
Each version of a package has a manifest; revisions are kept in .../projects/<project>.pkg/<package>[.rev|.mrev] | |
The rev/mrev files indicate which package manifest to use | |
The 3rd column holds the manifest hash and the 5th column holds the creation timestamp. | |
Each version of the package manifest lives in the trees area: | |
.../trees/<project>/<package>/ | |
(The project has it's own set of manifest versions: _project/*MD5SUMS) | |
A given version of a manifest in .../trees/<project>/<package>/*-MD5SUMS file contains a list of md5sums/filename pairs |
NewerOlder