Category (417) 썸네일형 리스트형 craco 사용하기 cra 로 react app 을 작성하게 되면, 경로가 마음에 드는대로 안된다. | 자세히는 1. 상대경로 됨 2. src/dfdf/dfdf/dfdf src 부터 타고 내려와야해 이런 귀찮음을 줄이기 위해서는 crago 를 사용하면 된다. const CracoAlias = require("craco-alias"); module.exports = { plugins: [ { plugin: CracoAlias, options: { source: "tsconfig", baseUrl: "./src", tsConfigPath: "./tsconfig.extend.json", }, }, ], }; craco.config.js 내가 했던 컨피그 파일 ------- { "compilerOptions": { "baseUrl.. 9012 9012 www.acmicpc.net/problem/9012 9012번: 괄호 괄호 문자열(Parenthesis String, PS)은 두 개의 괄호 기호인 ‘(’ 와 ‘)’ 만으로 구성되어 있는 문자열이다. 그 중에서 괄호의 모양이 바르게 구성된 문자열을 올바른 괄호 문자열(Valid PS, VPS)이라고 www.acmicpc.net 코드 package main import ( "fmt" "bufio" "os" ) func main() { reader := bufio.NewReader(os.Stdin) // writer := bufio.NewWriter(os.Stdout) var t int var s string fmt.Fscanf(reader, "%d\n", &t) for { fmt.Fscanf(re.. 10845 10845 www.acmicpc.net/problem/10845 10845번: 큐 첫째 줄에 주어지는 명령의 수 N (1 ≤ N ≤ 10,000)이 주어진다. 둘째 줄부터 N개의 줄에는 명령이 하나씩 주어진다. 주어지는 정수는 1보다 크거나 같고, 100,000보다 작거나 같다. 문제에 나와있지 www.acmicpc.net 코드 package main import ( "bufio" "fmt" "os" ) func main() { reader := bufio.NewReader(os.Stdin) writer := bufio.NewWriter(os.Stdout) var t int fmt.Fscanf(reader, "%d\n", &t) var stack []string for { input, _, _ := re.. postgre and pg www.postgresql.org/download/linux/debian/ PostgreSQL: Linux downloads (Debian) Linux downloads (Debian) PostgreSQL is available in all Debian versions by default. However, the stable versions of Debians "snapshot" a specific version of PostgreSQL that is then supported throughout the lifetime of that Debian version. The PostgreSQL pr www.postgresql.org wiki.postgresql.org/wiki/First_steps First .. su 초기 비번 설정 linuxize.com/post/wget-command-examples/ Wget Command in Linux with Examples GNU Wget is a command-line utility for downloading files from the web. linuxize.com sudo passwd 명령어를 통해 root 비번을 설정 sudo passwd sudo passwd root 다름 리부트 해야함 -- www.postgresql.org/download/linux/debian/ PostgreSQL: Linux downloads (Debian) Linux downloads (Debian) PostgreSQL is available in all Debian versions by default... useLayoutEffect 사용 kentcdodds.com/blog/useeffect-vs-uselayouteffect useEffect vs useLayoutEffect The simple rules for when to use each. kentcdodds.com 스크롤 문제때문에 useLayoutEffect를 사용함 근데 useLayoutEffect(() => { window.scrollTo(0, 0); }, []); 이게 만약 checkbox 클릭할때마다 또 렌더되니깐 계속 실행된다. 그래서 빈 리스트를 넣어줘야 초기 한번만 실행된다. Download golang in linux www.cyberciti.biz/faq/how-to-install-gol-ang-on-ubuntu-linux/ How to install Go [golang] on Ubuntu Linux - nixCraft Explains how to install the latest Go (Golang) version on Ubuntu Linux and write your first "Hello World" app. www.cyberciti.biz MEthod 3 gcp 해보기 (ce 배포) kooku.netlify.app/cloud/(gcp)-vm-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4-%EC%83%9D%EC%84%B1-&-react-%EB%B0%B0%ED%8F%AC/ (GCP) VM 인스턴스 생성 & React 배포 1. VM 인스턴스 설치 & 실행 GCP에 들어간 후 새로운 프로젝트를 만들어 줍니다. 프로젝트명은 TestServer로 하겠습니다. 프로젝트를 만든 후 만든 프로젝트 페이지로 넘어갑니다. 새로 만든 프로젝트 kooku.netlify.app 이거 보고 하니깐 그냥 됨. 이전 1 ··· 39 40 41 42 43 44 45 ··· 53 다음