The script itself has most of the documentation. Just know that there are two scripts here:
- A plain-text version (
.applescript
) - A compiled version (
.scpt
)
#!/usr/bin/env python3 | |
""" | |
Assign file types to be opened by a particular application. | |
Requires the ``duti`` program:: | |
> brew install duti | |
> ./appfiles.py --help | |
TODO |
(* | |
File: | |
Application.applicationWillSwitchOut.scpt | |
Abstract: | |
This script will automatically save all on-disk text documents with unsaved | |
changes when BBEdit loses focus. | |
Version: |
BSD 3-Clause License | |
Copyright (c) 2020, Ben Spaulding | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. |
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml
.bzexclusions
tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
Sometimes getting caught up in the configuration of gunicorn or uWSGI with the configuration of nanobox can be confusing. If you are not getting what you expect, starting here can be a good way to know if you have ports configured properly.
When running nanobox run
remember that:
These are works in progress, but they function for me and my uses.
Note that I wrote one in sh
and one in fish
just for exercise — the sh
one will work fine if you use fish
. The only time you need to pick one to match your own shell is if the files will be sourced, which is not yet supported.
Ideas
# Send nginx server port in host header to upstream only when port is non-standard. | |
# Requires nginx >= 0.9.0 | |
map $server_port $host_port { | |
default $:port; | |
80 ''; | |
443 ''; | |
} | |
server { | |
... |