Examples for how to create your own info panel, warning box and other decent looking notification in GitHub markdown.
All the boxes are single/two cell tables or two row tables.
❗ You have to read about this |
---|
GREEN := $(shell tput -Txterm setaf 2) | |
YELLOW := $(shell tput -Txterm setaf 3) | |
WHITE := $(shell tput -Txterm setaf 7) | |
RESET := $(shell tput -Txterm sgr0) | |
.PHONY: all build clean | |
all: help | |
## Build: |
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt |
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!
@bpteague Has an excellent update solution as of February 2025 using modern tools and an updated workflow.
This gist will remain here, but is deprecated. I'll keep it here historical and link-preservation purposes only. I strongly encourage everyone to check out the solution above!
/* | |
Purpose: Import settings for GitHub Labels. | |
(c) James Perrin, MIT License, https://www.countrydawgg.com, | @jamesperrin | |
Importing Instructions: | |
1. Update the labels JSON object. | |
2. Open a web browser. | |
3. Navigate to the desired GitHub repository. |
/* | |
Purpose: Export the configuration settings for GitHub Labels. | |
(c) James Perrin, MIT License, https://www.countrydawgg.com, | @jamesperrin | |
Exporting Instructions: | |
1. Open a web browser. | |
2. Navigate to the desired GitHub repository. | |
3. Navigate to Issues tab. |
;; Stolen from: | |
;; http://mikehucka.postach.io/post/modifying-emacss-vc-diff-for-word-oriented-diffs | |
;; | |
;; Improvements: | |
;; - Be smarter about adding --word-diff to `vc-git-diff-switches' and | |
;; not clobbering any existing settings. | |
;; - Use `defface' as the docstring for `make-face' recommends. | |
;; - Base face defaults on `diff-added' and `diff-removed'. | |
;; - Rename `vc-diff-deleted-face' to `vc-diff-removed-face' for | |
;; consistency with existing face naming conventions. |
This is a sample script for OCR using Google Drive API. A text file which converted by OCR can be retrieved by inputting an image file.
In this sample, Python Quickstart is used. The detail information is https://developers.google.com/drive/v3/web/quickstart/python. Please read “Step 1: Turn on the Drive API” and “Step 2: Install the Google Client Library”.
from __future__ import print_function
import httplib2
import os