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
import datetime | |
import os | |
import sys | |
import caldav # version 1.6.0 or below | |
# See https://github.com/python-caldav/caldav/issues/439 | |
# This is a minimal test for Radicale server side expansion | |
# Create a recurring event in Radicale and specify the datetime inside one instance |
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
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 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
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 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
* 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 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 | |
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 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/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 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
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 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
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 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
%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 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
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; } |
NewerOlder