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
18 changes: 18 additions & 0 deletions 18 | |
src/lib/components/chat/ChatWindow.svelte | |
@@ -20,6 +20,7 @@ | |
import RetryBtn from "../RetryBtn.svelte"; | |
export let messages: Message[] = []; | |
export let temperature: number = 0.9; | |
export let loading = false; | |
export let pending = false; | |
export let shared = false; |
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
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
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
import boto3 | |
import json | |
import glob | |
import sys | |
import os | |
import re | |
# Get latest version of task definition. | |
def list_image(taskdefname): | |
client = boto3.client('ecs') |
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
import boto3 | |
import json | |
import glob | |
import sys | |
import os | |
import re | |
# Get latest version of task definition. | |
def list_image(taskdefname): | |
client = boto3.client('ecs') |
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 | |
SUBDOMAIN_SUFFIX=$1 | |
REGION=$2 | |
env=$3 | |
if [[ $env == "dev" ]] | |
then | |
# Get list of directories modified in current commit. | |
LIST_OF_DIRS=$(git diff --dirstat=files,0 HEAD~2 | awk '{print $2}' | cut -d '/' -f 1 | uniq) |
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
cap production deploy:setup | |
triggering load callbacks | |
* 2013-06-25 14:06:14 executing `production' | |
triggering start callbacks for `deploy:setup' | |
* 2013-06-25 14:06:14 executing `multistage:ensure' | |
* 2013-06-25 14:06:14 executing `deploy:setup' | |
triggering before callbacks for `deploy:setup' | |
* 2013-06-25 14:06:14 executing `rvm:install_rvm' | |
* executing multiple commands in parallel | |
-> "else" :: "__LAST_STATUS=0; export CURL_HOME=\"${TMPDIR:-${HOME}}/.rvm-curl-config.$$\"; mkdir ${CURL_HOME}/; { [[ -r ${HOME}/.curlrc ]] && cat ${HOME}/.curlrc; echo \"silent\"; echo \"show-error\"; } > $CURL_HOME/.curlrc; curl -L get.rvm.io | sudo -p 'sudo password: ' bash -s stable --path $HOME/.rvm/ --add-to-rvm-group $USER || __LAST_STATUS=$?; rm -rf $CURL_HOME; exit ${__LAST_STATUS}" |