- https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
- https://github.com/orgs/community/discussions/16925
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# https://perldoc.perl.org/perlmod#BEGIN%2C-UNITCHECK%2C-CHECK%2C-INIT-and-END | |
# Try these: | |
# perl ./lifecycle.pl | |
# perl -c ./lifecycle.pl | |
package le_module; | |
print " 9.a. module print\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Asana Helpers - Markdown, Expand Comments, Theme Switch | |
// @description Adds 3 helper buttons, plus paste in markdown format. | |
// @namespace Violentmonkey Scripts | |
// @match https://app.asana.com/* | |
// @grant none | |
// @version 1.2.3 | |
// @author Nick Goossens, JP Bochi | |
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/marked.umd.min.js | |
// @downloadURL https://gist.githubusercontent.com/jpbochi/3a7d6717abddd5761e9ccec3bc3fd41f/raw/asana-helpers-markdown.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chalk from 'chalk'; | |
import isUnicodeSupported from 'is-unicode-supported'; | |
const main = { | |
info: chalk.blue('ℹ'), | |
success: chalk.green('✔'), | |
warning: chalk.yellow('⚠'), | |
error: chalk.red('✖'), | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lists all available just recipes, even from justfiles in subdirectories | |
list: | |
@just -l | |
@find -mindepth 2 -maxdepth 5 -type f -name justfile -printf '%h/\n' | sed 's_^[.]/__' | sort | xargs -n1 -I% just -l --list-prefix ' %' % |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: default list | |
default: list | |
list: | |
@echo Available make targets: | |
@LC_ALL=C $(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null \ | |
| sed -e '0,/^# Files/ d' -e '/^# Not a target:/,+1 d' \ | |
| grep '^[[:alnum:]]' \ | |
| sed 's/:.*//' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! name: JP Test | |
! description: Getting my Goggles wet | |
! public: false | |
! author: JP | |
$site=nytimes.com$downrank=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Asana Dynamic Favicon | |
// @namespace https://gist.githubusercontent.com/jpbochi/f651698e371f7deda33d039ddaa2bda5 | |
// @version 0.1.0 | |
// @description This modern Asana Inbox favicon notification displays an orange notification circle (just like Asana does in the app) to the top right of the Asana favicon when your active Organization/Workspace Inbox has any unread items. Enjoy! | |
// @author JP Bochi | |
// @match https://app.asana.com/* | |
// @grant none | |
// @run-at document-body | |
// @downloadURL https://gist.githubusercontent.com/jpbochi/f651698e371f7deda33d039ddaa2bda5/raw/asana-favicon-notification.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Only Single Comments | |
// @namespace https://gist.githubusercontent.com/jpbochi/ac88177a0a4741300c2f24c4e33a9c90 | |
// @version 1.0.5 | |
// @description On GitHub PR inline comments, changes the default button from "Start a review" to "Add single comment" | |
// @author JP Bochi | |
// @match https://github.com/*/*/pull/* | |
// @icon https://www.google.com/s2/favicons?domain=github.com | |
// @downloadURL https://gist.githubusercontent.com/jpbochi/ac88177a0a4741300c2f24c4e33a9c90/raw/only-single-comments.js | |
// @updateURL https://gist.githubusercontent.com/jpbochi/ac88177a0a4741300c2f24c4e33a9c90/raw/only-single-comments.js |
NewerOlder