This file contains 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
resource "snowflake_unsafe_execute" "volume" { | |
execute = <<EOT | |
CREATE OR REPLACE EXTERNAL VOLUME ${var.external_volume_name} | |
STORAGE_LOCATIONS = | |
( | |
( | |
NAME = '${var.external_volume_bucket_name}' | |
STORAGE_PROVIDER = 'S3' | |
STORAGE_BASE_URL = 's3://${var.external_volume_bucket_name}' | |
STORAGE_AWS_ROLE_ARN = '${var.snowflake_iam_role_arn}' |
This file contains 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 | |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NO_COLOR='\033[0m' | |
BLUE='\033[0;34m' | |
YELLOW='\033[0;33m' | |
NO_COLOR='\033[0m' |
This file contains 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
echo >> $HOME/bin/mktouch << EOF | |
#!/bin/bash | |
# This script creates a directory and a file in that location. | |
# Get the path from the command line argument. | |
path=$1 | |
# Split the path into the directory and file name. | |
directory=${path%/*} |
This file contains 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
" | |
" While editing a Markdown document in Vim, preview it in the | |
" default browser. | |
" | |
" Author: Nate Silva | |
" | |
" To install: Place markdown.vim in ~/.vim/ftplugin or | |
" %USERPROFILE%\vimfiles\ftplugin. | |
" | |
" To use: While editing a Markdown file, press ',p' (comma p) |