Skip to content

Instantly share code, notes, and snippets.

View mogsdad's full-sized avatar

David Bingham mogsdad

View GitHub Profile
@mogsdad
mogsdad / .bash_profile
Created July 23, 2020 01:07 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@mogsdad
mogsdad / Jira-hyperlink.js
Last active January 13, 2022 17:58
Google Apps Script for Google Spreadsheet. This onEdit function will identify Jira issue keys that are alone in an edited cell, and replace them with a HYPERLINK function with a link to your Jira installation.
@mogsdad
mogsdad / OntarioParksReservation-2-Checkboxes.user.js
Last active February 13, 2021 12:14
Detect and fill checkboxes in checkout flow for Ontario Parks Reservations.
// ==UserScript==
// @name OntarioParksReservation-2-Checkboxes
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Detect and fill checkboxes in checkout flow
// @author You
// @match https://reservations.ontarioparks.com/Messages.aspx
// @match https://reservations.ontarioparks.com/Account/Auth/Payment.aspx
// @require https://greasyfork.org/scripts/12228/code/setMutationHandler.js
// @grant none
@mogsdad
mogsdad / OntarioParksReservation-1-Home.user.js
Last active January 9, 2019 03:31
Pre-fill Ontario Parks reservation form to speed through reservation attempts. To customize for your situation, edit variables in "User Settings" block.
// ==UserScript==
// @name OntarioParksReservation-1-Home
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Pre-fill Ontario Parks reservation form
// @author Mogsdad, David Bingham
// @match https://reservations.ontarioparks.com/Home.aspx
// @match https://reservations.ontarioparks.com/BrowseMaps
// @match https://reservations.ontarioparks.com/OntarioParks%2fSoutheastParks%3fMap
// @match https://reservations.ontarioparks.com/Sandbanks%2fOutletRiverAandB%2fOutletRiverA%3fMap
@mogsdad
mogsdad / documentation.md
Last active February 12, 2018 22:38
Proposed tag wiki for "Documentation"

Excerpt / Usage Guidance

Use for programming-related questions about code documentation generators. Include language and/or SDE tag as well. DO NOT USE to ask for links to documentation or tools.

Tag info

Use the [tag:documentation] tag for questions related to self-documenting code and documentation generators.

Basic definitions

  • Software documentation is written text or illustration that accompanies computer software or is embedded in the source code. It either explains how it operates or how to use it, and may mean different things to people in different roles.Wikipedia

"Documentation" tag clean up

As of 1407 EST 7 Mar 2018
1,877 open questions, from original 6.9K

Tag-specific Close Vote Queue: Here (<=5 in queue)

Completed final cleanup pass. Now just delete, delete, delete...

Questions with 1+ Delete votes (342)

// ==UserScript==
// @name Sticky post-menu
// @namespace http://socvr.net/
// @version 0.2
// @description Duplicate "share edit close..." menu at top of question.
// @author Mogsdad
// @match http://stackoverflow.com/questions/*
// @include /^https?:\/\/\w*.?(stackoverflow|stackexchange|serverfault|superuser|askubuntu|stackapps)\.com\/(questions|posts|review|tools)\/(?!tagged\/|new\/).*/
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Open Multiple Question Links
// @namespace http://roub.net/
// @version 0.7
// @description open multiple selected unique question links, skipping non-questions
// @author Paul Roub
// @include *://chat.stackoverflow.com/rooms/41570/so-close-vote-reviewers
// @include *://chat.stackoverflow.com/search*
// @grant GM_openInTab
// @run-at context-menu

Hi, I'm Mogsdad, and I'm a Stack-Overflow-aholic.

Hi, Mogsdad!

I always knew about Stack Overflow. Some of my friends were on it from the start; they thought it made them cool, but I wasn't going to give in to peer pressure. I did that with acid washed jeans in the 80's, and still had the emotional scars. Once in a while, I'd Google for some programming help - simple things usually - and there'd I'd be, looking at another Stack Overflow answer, letting it help me.

Finally, I gave in. I remember it like it was just 3.5 years ago. I asked my first question. And then, I waited. It turned out that nobody could answer my question. But it's a cruel world out there, so maybe it was simply that nobody cared. Whatever. I didn't just sit, waiting - I figured the problem out myself. Knowing the horrible risk I was taking, I returned to the dark basement of the internet that is Stack Overflow... and posted my [first an

{"trigger":{"altKey":true,"ctrlKey":false,"shiftKey":false,"which":88},"data":{
"welcome":"Welcome to $SITENAME! ",
"q mcve":"Please [edit] your question to include a [mcve]. This will help the $SITENAME community by clarifying the problem.",
"q homework":"Questions asking for homework help must include a summary of the work you've done so far to solve the problem, and a description of the difficulty you are having solving it. ([help/on-topic])",
"q offsite":"Questions asking us to recommend or find an off-site resource (e.g. library, tool) are off-topic for $SITENAME. ([help/on-topic]) Instead, [describe the problem](//meta.stackexchange.com/q/139399) and what has been done so far to solve it.",
"q debugging":"Recommended reading: [How to debug small programs](//ericlippert.com/2014/03/05/how-to-debug-small-programs/).",
"q customer support":"Please direct your support question to the company providing the product or service, not $SITENAME. See: [Why can't I ask customer service-related questions?](http://m