short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown
--> PDF
(as a booklet!)
Markdown
--> EPUB
and MOBI
{ | |
"title": "Kuntau Left Ctrl Hyper Mods", | |
"rules": [ | |
{ | |
"description": "F20 : (HYPER) SHIFT+COMMAND+OPTION+CONTROL or ESCAPE (If Alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "f20", | |
"modifiers": { |
Seven different types of CSS attribute selectors | |
// This attribute exists on the element | |
[value] | |
// This attribute has a specific value of cool | |
[value='cool'] | |
// This attribute value contains the word cool somewhere in it | |
[value*='cool'] |
short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown
--> PDF
(as a booklet!)
Markdown
--> EPUB
and MOBI
/** | |
* Modern browsers can download files that aren't from same origin this is a workaround to download a remote file | |
* @param `url` Remote URL for the file to be downloaded | |
*/ | |
function Download({ url, filename }) { | |
const [fetching, setFetching] = useState(false); | |
const [error, setError] = useState(false); | |
const download = (url, name) => { | |
if (!url) { |
# Powerlevel9k config | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=3 | |
POWERLEVEL9K_SHORTEN_STRATEGY='truncate_from_right' | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%F{blue}\u256D\uf07c %F{white}' |
# >>>>>>>>>>>>>>>>>>>>>>>> | |
# via https://github.com/github/gitignore unless otherwise noted | |
# macOS | |
# >>>>>>>>>>>>>>>>>>>>>>>> | |
# General | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r |
# Playgrounds Markup Cheat Sheet | |
## Callouts | |
::Name Description PG QH:: | |
[Note](https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/Note.html#//apple_ref/doc/uid/TP40016497-CH39-SW1) Adds a Note callout. ✓ ✓ | |
[Example](https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/Example.html#//apple_ref/doc/uid/TP40016497-CH58-SW1) Adds an Example callout. ✓ | |
[Experiment](https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/Experiment.html#//apple_ref/doc/uid/TP40016497-CH36-SW1) Adds an Experiment callout. ✓ ✓ | |
[Important](https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/Important.html#//apple_ref/doc/uid/TP40016497-CH37-SW1) Adds an Important callout ✓ ✓ | |
[Custom Callout](https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/CustomCallouts.html#//apple_re |