Skip to content

Instantly share code, notes, and snippets.

View ajlyons's full-sized avatar

Andy Lyons ajlyons

View GitHub Profile
@jon-heller
jon-heller / Zoom.ahk
Created April 13, 2020 21:12
Zoom global hotkeys for Windows using AutoHotKey
; A system-wide mute toggle for Zoom Meetings.
$NumpadAdd::
; Zoom appears not to accept ControlSend when in the background, so
; we isolate the Zoom and current windows, switch over to Zoom, send
; its own mute-toggle hotkey, and then switch back.
;
; Get the current window
WinGet, active_window, ID, A
;
@browlry
browlry / slideOnOffDates
Last active June 2, 2021 19:35
Google Apps Script to automatically show or hide slides in Google Slides using comma-separated dates in the Speaker Notes
// Create a separate Google Slides presentation to hold the inactive slides and paste the URL here:
inactiveSlidesUrl = "https://docs.google.com/presentation/d/ABABABABABABABABABABABABABABABABA0/edit"
// In your Google Slides presentation,
// go to Utilities > Script Editor and paste this code.
//
// In the Speaker Notes for each slide,
// list the dates that slide should be toggled on or off,
@nuest
nuest / switching-from-XML-to-xml2.md
Last active March 6, 2024 17:07
Switching an R package from XML to xml2

Switching from XML to xml2

Rationale

The R package XML for parsing and manipulation of XML documents in R is not actively maintained anymore, but used by many:

The R package xml2 is an actively maintained, more recent alternative.

This file documents useful resources and steps for moving from XML to xml2.

@marketinview
marketinview / hideSeparatorBeforeQuestion.js
Last active October 23, 2022 16:37
Qualtrics: Hide Separator Before Question. #qualtrics #js #jq #hide #separator
Qualtrics.SurveyEngine.addOnReady(function() {
jQuery("#"+this.questionId).prev('.Separator').hide();
});
@jefferys
jefferys / roxygen2MultiFunctionDocumentation.gist.R
Created June 21, 2015 17:29
R function documentation with roxygen2 - multiple functions
#===================================================
# Demo multi-function roxygen2 - three ways to do it
#===================================================
# This shows how things do work, including wierd corner cases, not
# how they should be done. Most of the information comes from
# http://r-pkgs.had.co.nz/man.html
#====================================================
# Demo multi-function roxygen2 page using @describeIn