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
✗ TF_LOG=trace terraform -chdir=infrastructure init -backend=false | |
2021-09-22T11:33:43.381-0700 [DEBUG] Adding temp file log sink: /var/folders/tm/rdcrzyq15f13fyhmk02pscg9_l1nl3/T/terraform-log209965300 | |
2021-09-22T11:33:43.381-0700 [INFO] Terraform version: 1.0.7 | |
2021-09-22T11:33:43.382-0700 [INFO] Go runtime version: go1.16.4 | |
2021-09-22T11:33:43.382-0700 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.1.0/versions/1.0.7/terraform", "-chdir=infrastructure", "init", "-backend=false"} | |
2021-09-22T11:33:43.382-0700 [TRACE] Stdout is a terminal of width 158 | |
2021-09-22T11:33:43.382-0700 [TRACE] Stderr is a terminal of width 158 | |
2021-09-22T11:33:43.382-0700 [TRACE] Stdin is a terminal | |
2021-09-22T11:33:43.382-0700 [DEBUG] Attempting to open CLI config file: /Users/justin.collum/.terraformrc | |
2021-09-22T11:33:43.382-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. |
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
/* | |
assumption: result is initialized in outer scope before first call | |
*/ | |
const flatten = (input, result) => { | |
// check inputs | |
if (!Array.isArray(input)) | |
throw new Error("Input to this function is required to be an array"); |
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
<!-- | |
This is used to have a link on the page that will show highlighted if the url meets the criteria. | |
You might want to adjust the logic on line 19. | |
usage: | |
<HighlightedLink bind:segment highlight="faq" rel="prefetch" link="/faq" text="FAQ" /> | |
--> | |
<script> | |
import { stores } from '@sapper/app'; |
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
port=3001 | |
kill $(netstat -tuwanp | grep $port | awk '{print $7}' | cut -d "/" -f 1 ) |
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
# wait a little for the server to come up | |
until curl 'http://localhost:3000/foo' -s -f -o /dev/null; do | |
sleep 2; | |
done |
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
// file __mocks__/selectors.js | |
// this file mocks the selectors.js module | |
const actual = require.requireActual('../selectors') | |
const mockBase = jest.genMockFromModule('../selectors'); | |
// eslint-disable-next-line security/detect-object-injection,no-return-assign | |
Object.keys(actual).forEach(key => (mockBase[key] = actual[key])); | |
mockBase.getCountry = jest.fn(); |
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
ld = require 'lodash' | |
assert = require("assert") | |
multiPluck = (input,keys) -> | |
pluckFrom = (o,keys) -> | |
result = {} | |
for k in keys | |
unless result[k]? | |
result[k] = o[k] or undefined |
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"?> | |
<root> | |
<appdef> | |
<appname>CHROME</appname> | |
<equal>com.google.Chrome</equal> | |
</appdef> | |
<item> | |
<name>CHROMEDEBUGGINGKEY</name> | |
<appendix>This maps the F13, F14 and F15 keys to Chrome debugging keys</appendix> |
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
### | |
command line: grunt watch | |
### | |
# global module:false | |
module.exports = (grunt) -> | |
# Project configuration. | |
grunt.initConfig | |
watch: |