Skip to content

Instantly share code, notes, and snippets.

View Ishidall's full-sized avatar
🎯
Focusing

dallP Ishidall

🎯
Focusing
View GitHub Profile
@Ishidall
Ishidall / build_image_and_push_to_ecr.sh
Created October 16, 2020 07:06
Shell script that builds dokcer-image locally and pushes it to ECR.
#!/bin/sh
# Returns boolean indicates whether designated tagged-image exists.
# arg1: repository name
# arg2: tag name
function image_exists() {
image=$(docker image ls -a | grep $1 | grep $2)
if [ "$image" ]; then
return 0;
@Ishidall
Ishidall / AutoResizingTextArea.vue
Created April 2, 2020 14:41
How to make auto resizing <textarea> by Vue.js
<template>
<textarea
class="textarea bg-white"
:style="textareaStyle"
:placeholder="placeholder"
:value="value"
@input="handleInput($event)"
/>
</template>