Skip to content

Instantly share code, notes, and snippets.

View Versatilus's full-sized avatar

Eric Paulson Versatilus

  • Roseburg, Oregon, USA
View GitHub Profile
@Versatilus
Versatilus / atom.py
Last active March 20, 2018 17:34
Processed by Yapf
"""
__author__ = 'LexiconCode'
Command-module for Atom
Official Site "https://atom.io/"
"""
from caster.lib import control, settings
from caster.lib.dfplus.additions import IntegerRefST
from caster.lib.dfplus.merge import gfilter
from caster.lib.dfplus.merge.mergerule import MergeRule
from caster.lib.dfplus.state.short import R
@Versatilus
Versatilus / keyboard.py
Created September 16, 2015 01:09
Custom alterations to Typeable class in Dragonfly's keyboard.py
#
# This file is part of Dragonfly.
# (c) Copyright 2007, 2008 by Christo Butcher
# Licensed under the LGPL.
#
# Dragonfly is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@Versatilus
Versatilus / reboot_speech.cmd
Created September 5, 2015 07:14
Method for rebooting speech recognition engines in case of catastrophic failure.
@echo off
setlocal
if not defined NATSPEAK_PATH call :finddragon
if not defined NATSPEAK_PATH (
echo Unable to find natspeak.exe. if you are using Dragon NaturallySpeaking please set the environment variable NATSPEAK_PATH to point to your natspeak.exe and try again.
set WSR=1
goto :kill
)