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
// ==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
// ==UserScript==
// @name Stack Overflow Real Dark
// @namespace http://github.com/TinyGiant/
// @description Real dark styling for Stack Overflow and some Stack Exchange sites
// @author @TinyGiant
// @run-at document-start
// @version 1.0.1.1m
// @include /^https?:\/\/.*\.?stack(overflow|exchange).com/.*$/
// ==/UserScript==
@mogsdad
mogsdad / TaggedQuestionList.user.js
Last active February 27, 2018 21:06 — forked from WillSullivan/TaggedQuestionList.userscript
This userscript will add a list (initially hidden in an expandable div) containing links to every question listed on a tag page (i.e., questions/tagged/something). When a link in this list is clicked, it goes away. This allows you to easily open up many questions with this tag at the same time. Simply ctrl-click on the first link, then keep clic…
// ==UserScript==
// @name Tag list
// @namespace https://stackapps.com/questions/4207/burninator-toolkit
// @author Will Sullivan (Will)
// @developer David Bingham (Mogsdad)
// @version 1.2.10
// @grant none
// @description Adds an expandable list containing a link to every question on the current tag page. Useful when you want to open many questions with the same tag at the same time.
// @include /^https?:\/\/(?:meta.)?(?:stackoverflow|stackexchange|serverfault|superuser|askubuntu|stackapps)\.com(?:\/(?:\?|questions(?:$|\/tagged|\?)|search|unanswered).*)?$/
// https://regex101.com/r/1D5jof/3
function test_listFilesInFolder() {
listFilesInFolder("StackOverflow");
}
/**
* @OnlyCurrentDoc Limits the script to only accessing the current spreadsheet.
*/
function onOpen() {
@mogsdad
mogsdad / gist:5045148
Last active December 14, 2015 06:48 — forked from mhawksey/gist:1643207
Replaced isDate() with a version that can more accurately detect Date objects, and will not interpret integers as dates.
// EventManagerV3 glued together by mhawksey http://www.google.com/profiles/m.hawksey
// Related blog post http://mashe.hawksey.info/eventmanagerv3/
// With some code (settings, importIntoCalendar, sendEmails) from
// Romain Vialard's http://www.google.com/profiles/romain.vialard
// Manage your events: Calendar Importer and Registration Form
// https://spreadsheets.google.com/ccc?key=tCHuQkkKh_r69bQGt4yJmNQ
var ss = SpreadsheetApp.getActiveSpreadsheet();
var BOOKING_ACTION_COL = 10;