Skip to content

Instantly share code, notes, and snippets.

View brucebentley's full-sized avatar

Bruce Bentley brucebentley

View GitHub Profile
@brucebentley
brucebentley / iOS Shortcuts Catalog.md
Last active April 23, 2024 06:39
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@brucebentley
brucebentley / install-asdf.sh
Last active November 28, 2023 22:02
Example script to install ASDF along with some common plugins & their latest versions.
#!/usr/bin/env bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Update Homebrew:
# - - - - - - - - - - - - - - - - - - - - - - - - -
brew update
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Install asdf dependencies:
# - - - - - - - - - - - - - - - - - - - - - - - - -
@brucebentley
brucebentley / GIT_AND_GITHUB_LEARNING_RESOURCES.md
Last active November 3, 2023 13:22
A curated list of resources & tutorials to help you learn the basics, as well as some of the more advanced features of Git & GitHub.

Git & GitHub Learning Lab Resources

 
Sample repository to be used alongside the GitHub Learning Lab tutorial(s), as well as some additional 3rd-party learning resources to help get you up-to-speed with Git.
 


Usage Examples —

@brucebentley
brucebentley / Available HTML5 <head> Elements.md
Last active November 3, 2023 13:21
A list of everything that could potentially go in the <head> of your document.

Available HTML5 <head> Elements

 
A list of everything that could potentially go in the <head> of your document.
 

Table of Contents

@brucebentley
brucebentley / Create Gist.js
Created November 17, 2020 03:59
Create Gist
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-gray; icon-glyph: file-code;
// To use this script, you need to configure an OAuth App on GitHub.
// Follow the instructions on the link below to create your OAuth App.
//
// When you are asked to put in a redirect URL, you should put the URL for running this script in Scriptable. Assuming the name of this script is "Create Gist", the URL is scriptable:///run?scriptName=Create%20Gist
//
// https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/
//
@brucebentley
brucebentley / Installing AWS Tools for PowerShell on Windows.md
Last active May 22, 2023 18:26
Windows 10 Development Environment Setup

A Windows-based computer can run any of the AWS Tools for PowerShell package options:

  • AWS.Tools - The modularized version of AWS Tools for PowerShell. Each AWS service is supported by its own individual, small module, with shared support modules AWS.Tools.Common and AWS.Tools.Installer.
  • AWSPowerShell.NetCore - The single, large-module version of AWS Tools for PowerShell. All AWS services are supported by this single, large module.
  • AWSPowerShell - The legacy Windows-specific, single
@brucebentley
brucebentley / get-image-urls.js
Last active May 20, 2023 04:28
Save images from chrome inspector/dev tools network tab
/**
* 1. Open up chrome dev tools ( Menu > More tools > Developer tools )
* 2. Go to network tab, refresh the page, wait for images to load
* Note: ( some sites you may have to scroll down to the images
* for them to start loading )
* 4. Right click on any entry in the network log, select:
* Copy > Copy All as HAR
* 5. Open up JS console and enter:
* var har = [paste]
* Note: ( pasting could take a while if there's a lot of requests )
@brucebentley
brucebentley / _material-colors.scss
Created April 8, 2016 14:16
Google Material Design Color Palette in Sass.
///
/// - - - - - - - - - - - - - - - - - - - - - - - - -
/// MATERIAL DESIGN COLOR PALETTE
/// @AUTHOR: GOOGLE
/// @SOURCE: http://www.google.com/design/spec/style/color.html#color-ui-color-palette
/// - - - - - - - - - - - - - - - - - - - - - - - - -
///
///
@brucebentley
brucebentley / githubpull.md
Created November 19, 2020 16:13 — forked from Jabarabo/githubpull.md
Gist of a stolen gist
@brucebentley
brucebentley / waitForKeyElements.js
Created May 30, 2022 06:15
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/* --- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);