| Provider | Singleton | Instantiable | Configurable |
|---|---|---|---|
| Constant | Yes | No | No |
| Value | Yes | No | No |
| Service | Yes | No | No |
| Factory | Yes | Yes | No |
| Decorator | Yes | No? | No |
| Provider | Yes | Yes | Yes |
| #========================================================== | |
| # Environment/Configuration | |
| #========================================================== | |
| # For project consistency, its better to depend on npm binaries loaded locally than | |
| # globally, so we add .node_modules/.bin to the path for shorthand references. This | |
| # means you should add any binaries you need to "devDependencies" in package.json. | |
| export PATH := ./node_modules/.bin/:$(PATH) | |
| # Pull in the name and version from package.json. The name will default to "app" if not set. |
| # This script will create a cron that downloads the latest image from Himawari 8 every 5 minutes. I use it as my wallpaper. | |
| # | |
| # The Himawari 8 weather satellite acquires 5500x5500 images of Earth every 10 minutes. It captures other weather related | |
| # stills but the full disk, true color is the most amazing. | |
| # The latest is accessible at | |
| # http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg. | |
| # | |
| # The satellite was launched in July of 2015. It's the highest resolution | |
| # camera we currently have pointing at earth (stationary at the L1 point). | |
| # |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| /* requires AWS creds to be updated. | |
| * if they aren't, update using AWS.config.update() method before instatiing the client. | |
| * | |
| * import this module where you instantiate the client, and simply pass this module as the connection class. | |
| * | |
| * eg: | |
| * const client = new Client({ | |
| * node, | |
| * Connection: AwsConnector | |
| * }); |
I'm writing this gist for my own records but it might help someone else too.
Support for Catalina has improved a lot since the update was first rolled out.
Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume option.
Apple restricted the access to Xcode LLM (Predictive code completion) feature on China models of Mac. This guide provides a way to bypass that restriction. It's verified on macOS 15.0 Beta (24A5264n), but there is no guarentee that it will always work on later macOS versions.
- Xcode is installed and run at least once.
- SIP debugging restrictions are disabled (via
csrutil enable --without debugcommand in recovery mode).