https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
laravel, react (twin.macro) ์์ ์ฌ์ฉํ ์ ์๋๋ก ์ค์ ํ์ผ์ ์ ์ฅ
'class' => '...' "class" => "..." 'class' => "..." "class" => '...'
https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
laravel, react (twin.macro) ์์ ์ฌ์ฉํ ์ ์๋๋ก ์ค์ ํ์ผ์ ์ ์ฅ
'class' => '...' "class" => "..." 'class' => "..." "class" => '...'
| import { pipe } from 'fp-ts/function' | |
| // jquery `.position()` ์ปจ๋ฒํ | |
| function position(elm: HTMLElement): { top: number; left: number } { | |
| return { | |
| top: elm.offsetTop, | |
| left: elm.offsetLeft, | |
| } | |
| } |
| import SimpleFlow from './simple-flow' | |
| // SimpleFLow๋ฅผ ๊ทธ๋ฆด๊ฒ์ด๋ค. | |
| // SimpleFlow.drawFlow() | |
| // // ์ด๋๋ค? | |
| // const canvas = document.querySelector<HTMLElement>('#flow-canvas') | |
| // // ์ด๋ป๊ฒ? | |
| // const { setState: setSimpleFlowSettings } = SimpleFlow.setting | |
| // setSimpleFlowSettings({ | |
| // lineWidth: 2, |
axios graphql reqeust
RUN TEST
| version: '3.8' | |
| services: | |
| mongodb: | |
| image: mongo | |
| container_name: mongodb | |
| restart: always | |
| ports: | |
| - 27017:27017 | |
| volumes: | |
| - mongodata:/data/db |
| #!/bin/bash | |
| # Update packages and install necessary programs | |
| sudo apt-get update | |
| sudo apt-get install -y git zsh curl | |
| # Install oh-my-zsh | |
| sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
| # Install zsh-syntax-highlighting plugin |
| # current๋ฒ์ ์ ๊ฐ์ ธ์ฌ ์ ์๋๋ก | |
| PACKAGES_FILE := $(CURDIR)/package.json | |
| VERSION := $(shell grep '"version"' $(PACKAGES_FILE) | sed 's/^.*"version": "\(.*\)",.*$$/\1/') | |
| NAME := $(shell grep '"name"' $(PACKAGES_FILE) | sed 's/^.*"name": "\(.*\)",.*$$/\1/') | |
| # @์ ๊ฑฐํด์ ๋์ปค์ด๋ฏธ์ง ์ด๋ฆ์ผ๋ก ๋ณ๊ฒฝ | |
| IMAGENAME := $(subst @,,$(NAME)) | |
| # .env์ฌ์ฉํ๊ธฐ | |
| GH_TOKEN=$(grep GH_TOKEN .env | cut -d '=' -f2) | |
| include .env | |
| BUILD_ARGS = \ |
| # docker | |
| alias dps="docker ps" | |
| alias dc="docker-compose" | |
| # git | |
| alias gs="git status" | |
| # utils | |
| alias ip="curl https://checkip.amazonaws.com" |
| [ | |
| { | |
| "name": "tailwind media-query sm (min: 640px) / scss", | |
| "text": "@media (min-width: theme('screens.sm')) ", | |
| "keyword": "@tusm" | |
| }, | |
| { | |
| "name": "tailwind media-query md (min: 768px) / scss", | |
| "text": "@media (min-width: theme('screens.md')) ", | |
| "keyword": "@tumd" |