Skip to content

Instantly share code, notes, and snippets.

View chilimangoes's full-sized avatar

Jacob Eggleston chilimangoes

View GitHub Profile
@chilimangoes
chilimangoes / README.md
Created September 16, 2021 17:34 — forked from mankoff/README.md
Code to print out all voice commands in the knausj talon repository,

Talon Voice Commands Cheatsheet

This is a demo for how to get a cheatsheet of all Talon voice commands.

To recreate what I did:

  1. Have talon installed on your computer following the instructions at talonvoice.com
  2. Paste both the cheatsheet.py and cheatsheet.talon into the user directory of ~/talon. This makes these scripts available to talon.
  3. Open the talon repl and type
@chilimangoes
chilimangoes / OculusQuestCloudGaming.md
Created July 18, 2021 00:37 — forked from alexseward/OculusQuestCloudGaming.md
Playing SteamVR games on the Oculus Quest

Inspired by https://gist.github.com/blixt/97009dfa3eb916dbd4624a38191fe10d and https://github.com/steventhegeek/Parsec-Cloud-Preparation-Tool. Thanks to @blixt and @steventhegeek :)

Setting up your Virtual Machine

We'll be creating a new Virtual Machine on Microsoft's cloud platform, Azure. The VM will have a beefy GPU just like a home computer so it can be used for playing games.

  1. Go to [the Azure portal][azure] and sign up or log in.
  2. If you are on a Free account, first go to Subscriptions and upgrade it to a Pay-as-you-go plan. Don't worry, you will get to keep any free credits you have. Azure's interface is a bit slow so this will take a minute.

⚠️ Make sure to not include any support plan because they will charge you monthly!

@chilimangoes
chilimangoes / python-features-and-tricks.ipynb
Last active February 1, 2019 20:02
Python Features and Tricks.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chilimangoes
chilimangoes / diffList.js
Created July 28, 2016 18:42 — forked from katowulf/diffList.js
Diff services for monitoring objects and arrays, and creating changelists in Angular.js
/**
* A diff utility that compares arrays and returns a list of added, removed, and updated items
*
* Returns an object with two methods:
* diff: do a one-time diff of two arrays
* watch: observe a variable on scope and report any changes to a callback
*
* Invoking the factory is done like so:
* <code>
* function(listDiff) {
@chilimangoes
chilimangoes / _NeuralStyleTransfer_Instructions.md
Last active July 27, 2016 21:42 — forked from genekogan/_Instructions.md
instructions for generating a style transfer animation from a video
@chilimangoes
chilimangoes / Examples.md
Last active June 6, 2019 23:01
Caster example(s)

In the following examples, a comma separates commands that can be strung together into a single utterance, while a semicolon separates commands that must be said as separate utterances (because either the previous or next phrase is not a CCR command).

Example 1:

Dictate the following JavaScript function.

@chilimangoes
chilimangoes / Symbol Match Training Data
Created October 30, 2015 19:12
Some symbol match training data for caster issue #49
["executable name", "exeName"]
["application pool", "appPool", "appPools"]
["application pools", "appPools", "appPool"]
["virtual directory", "$virtualDir"]
["PowerShell credential", "PSCredential"]
["power shell credential", "PSCredential"]
@chilimangoes
chilimangoes / caster_install.bat
Created October 12, 2015 22:22
caster_install.bat
:: This is a simple batch file to copy my NatLink macros
:: into the NatLink MacroSystem folder. This allows me to
:: have my custom NatLink macros under source control and
:: not mix them in with the built-in macros or the ones
:: that Vocola compiles from VCL macro files.
@echo OFF
cls
echo.
@chilimangoes
chilimangoes / configcustom.txt
Created September 17, 2015 22:38
Dragonfly keyboard timeout testing
from dragonfly import *
from dragonfly.actions import keyboard
from caster.lib import navigation, context, utilities
from caster.lib.dfplus.additions import SelectiveAction
from caster.lib.dfplus.state.actions import ContextSeeker, AsynchronousAction, RegisteredAction
from caster.lib.dfplus.state.short import L, S, R
# ...
def set_keyboard_timeout(timeout):
@chilimangoes
chilimangoes / noactivate.py
Created September 1, 2015 15:59
Python CTypes ShowWindow with SW_SHOWNOACTIVATE
from ctypes import *
import win32con
WNDPROC = WINFUNCTYPE(c_long, c_int, c_uint, c_int, c_int)
NULL = c_int(win32con.NULL)
_user32 = windll.user32
def ErrorIfZero(handle):
if handle == 0: