outDircan't be in a shared config dir due to microsoft/TypeScript#29172- It's needed even with
noEmit, because tsconfig.tsbuildinfo will go there
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # This script runs a given command over a range of Git revisions. Note that it | |
| # will check past revisions out! Exercise caution if there are important | |
| # untracked files in your working tree. | |
| # | |
| # This is adapted from Gary Bernhardt's dotfiles: | |
| # https://github.com/garybernhardt/dotfiles | |
| # | |
| # Example usage: |
This file contains hidden or 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
| # Before calling `byebug`, run the following: | |
| require 'io/console' | |
| require 'byebug' | |
| Readline.input = IO.console | |
| Readline.output = IO.console | |
| Byebug::Context.interface.instance_variable_set('@input', IO.console) | |
| Byebug::Context.interface.instance_variable_set('@output', IO.console) | |
| Byebug::Context.interface.instance_variable_set('@error', IO.console) | |
| # This used to be built in to byebug (https://github.com/deivid-rodriguez/byebug/pull/211) |
This file contains hidden or 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
| from functools import wraps | |
| def decorator(wrapper): | |
| """Simplifies creation of decorators. | |
| Removes a layer of nesting (flat is better than nested). | |
| Note that args and kwargs are passed in as simple positional args, | |
| rather than unpacked *args and **kwargs. This avoids potential naming | |
| conflicts between kwargs defined in the wrapped function and the first | |
| arg of the wrapper (usually named "wrapped"). As a side effect, it |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <array> | |
| <dict> | |
| <key>Activate</key> | |
| <string>Normal</string> | |
| <key>CreationDate</key> | |
| <real>591603148.251261</real> | |
| <key>Macros</key> |
This file contains hidden or 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
| diff --git a/templates/pages-template-plugin.ts b/templates/pages-template-plugin.ts | |
| index 3b99ea2a82d18d3cbbe713af437dc53c33bd1273..971714e99d2d162fe525d7cab7c6ddf42b1bba1d 100644 | |
| --- a/templates/pages-template-plugin.ts | |
| +++ b/templates/pages-template-plugin.ts | |
| @@ -146,7 +146,7 @@ export default function (pluginArgs: unknown) { | |
| if (result.done === false) { | |
| const { handler, params, path } = result.value; | |
| const context = { | |
| - request: new Request(request.clone()), | |
| + request: request, |
OlderNewer