Skip to content

Instantly share code, notes, and snippets.

View andrewmcodes's full-sized avatar
🌱

Andrew Mason andrewmcodes

🌱
View GitHub Profile
@andrewmcodes
andrewmcodes / launch.json
Created June 23, 2021 05:35
vscode-launch-example
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Application",
"type": "chrome",
"preLaunchTask": "Start Dev",
"postDebugTask": "Terminate All Tasks",
"request": "launch",
"url": "http://localhost:8081",
@andrewmcodes
andrewmcodes / babel.config.json
Last active June 23, 2021 03:32
Snowpack Babel Config
{
"presets": [
[
"@babel/preset-env",
{
"shippedProposals": true,
"bugfixes": true,
"targets": {
"esmodules": true
}
@andrewmcodes
andrewmcodes / yarn_licences_md_table.sh
Created June 16, 2021 20:20 — forked from huntie/yarn_licences_md_table.sh
Script to generate a Markdown table from `yarn licenses list`
#!/bin/sh
# Output a dependencies.md file with a table of installed Yarn dependencies
# Requires csvkit, jq
# https://csvkit.readthedocs.io/en/0.9.1/install.html
# https://stedolan.github.io/jq/download/
yarn licenses list --json \
| jq --slurp 'map(select(.type == "table"))' \
@andrewmcodes
andrewmcodes / base_component.rb
Last active June 11, 2021 23:54
Simple Bridgetown ViewComponent Example
# src/_components/base_component.rb
class BaseComponent < ViewComponent::Base
include Bridgetown::ViewComponentHelpers
TWITTER_PROFILE_URL = "https://twitter.com/andrewmcodes"
def twitter_link
link_to "Twitter", TWITTER_PROFILE_URL
end
@andrewmcodes
andrewmcodes / iOS Shortcuts Catalog.md
Created June 11, 2021 21:47 — forked from brucebentley/iOS Shortcuts Catalog.md
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!

@andrewmcodes
andrewmcodes / test.md
Created June 11, 2021 00:32
A gist used for testing

Test

This is a gist used for testing.

@andrewmcodes
andrewmcodes / keybase.md
Created April 15, 2021 20:40
Keybase Proof

Keybase proof

I hereby claim:

  • I am andrewmcodes on github.
  • I am andrewmcodes (https://keybase.io/andrewmcodes) on keybase.
  • I have a public key ASCEud8pW7OPG801GlSPyEfSmnu50PLMXTBKxUURu62qbgo

To claim this, I am signing this object:

@andrewmcodes
andrewmcodes / settings.json
Created April 11, 2021 06:50
VS Code Generate Color Theme Output
{
"$schema": "vscode://schemas/color-theme",
"type": "dark",
"colors": {
"activityBar.background": "#181a1f",
"activityBar.foreground": "#d7dae0",
"activityBarBadge.background": "#4d78cc",
"activityBarBadge.foreground": "#f8fafd",
"badge.background": "#181a1f",
"button.background": "#404754",
@andrewmcodes
andrewmcodes / instructions.md
Created April 7, 2021 04:35
Install favicon cli
  1. npm install -g cli-real-favicon
  2. Create a file named faviconDescription.json and populate it with:
{
	"masterPicture": "TODO: Path to your master picture",
	"iconsPath": "/",
	"design": {
		"ios": {
			"pictureAspect": "noChange",
			"assets": {
@andrewmcodes
andrewmcodes / links.md
Last active March 12, 2021 03:06
Collin Component Links