분류 전체보기
-
1. 자주 사용하는 location 객체 // Ex) https://test.com:80/newpost?type=post window.location.href // Ex) https: window.location.protocol // Ex) test.com:80 window.location.host // Ex) test.com window.location.hostname // Ex) 80 window.location.port // Ex) newpost window.location.pathname // Ex) ?type=post window.location.search 2. 참고 https://hianna.tistory.com/464
js - 현재 페이지 url 관련 (location 객체)1. 자주 사용하는 location 객체 // Ex) https://test.com:80/newpost?type=post window.location.href // Ex) https: window.location.protocol // Ex) test.com:80 window.location.host // Ex) test.com window.location.hostname // Ex) 80 window.location.port // Ex) newpost window.location.pathname // Ex) ?type=post window.location.search 2. 참고 https://hianna.tistory.com/464
2024.02.29 -
PHP 8.3 버전 설치 (mac os 기준) 1. 설치 brew install php@8.3 2. 정상 설치 확인 php -v 라라벨 8 버전 프로젝트 생성 (composer 사용) 1. 프로젝트 생성 composer create-project --prefer-dist laravel/laravel:^8 my-laravel-project 2. 서버 실행 cd my-laravel-project php artisan serve 3. 정상 설치 확인 http://127.0.0.1:8000/ tailwind css 설치(Laravel Mix 방식) 1. 설치 cd my-laravel-project npm install -D tailwindcss postcss autoprefixer npx tailwindcss ..
laravel - 라라벨 8 + tailwindcss + git 설치 및 프로젝트 시작하기PHP 8.3 버전 설치 (mac os 기준) 1. 설치 brew install php@8.3 2. 정상 설치 확인 php -v 라라벨 8 버전 프로젝트 생성 (composer 사용) 1. 프로젝트 생성 composer create-project --prefer-dist laravel/laravel:^8 my-laravel-project 2. 서버 실행 cd my-laravel-project php artisan serve 3. 정상 설치 확인 http://127.0.0.1:8000/ tailwind css 설치(Laravel Mix 방식) 1. 설치 cd my-laravel-project npm install -D tailwindcss postcss autoprefixer npx tailwindcss ..
2024.02.23 -
올해 겨울 뒤늦게 시작한 알고리즘 풀이를 진행하며 생각보다 내 수준이 많이 낮음을 깨닫게 되었다. 내년에는 더욱 성장할 수 있도록 많은 노력을 기울여야겠다.
프로그래머스 - 나의 2023년코딩테스트 연습 연말결산올해 겨울 뒤늦게 시작한 알고리즘 풀이를 진행하며 생각보다 내 수준이 많이 낮음을 깨닫게 되었다. 내년에는 더욱 성장할 수 있도록 많은 노력을 기울여야겠다.
2023.12.22 -
1. 상단바깃허브 URL - https://github.com/kyechan99/capsule-render예시 코드2. 깃허브 스택깃허브 URL - https://github.com/anuraghazra/github-readme-stats예시 코드3. 깃허브 커밋 스택코드 생성 ..
git - GitHub 꾸미기 관련 서비스 모음1. 상단바깃허브 URL - https://github.com/kyechan99/capsule-render예시 코드2. 깃허브 스택깃허브 URL - https://github.com/anuraghazra/github-readme-stats예시 코드3. 깃허브 커밋 스택코드 생성 ..
2023.12.05 -
에러 발생 django runserver 도중 No module named '모듈명' 에러가 발생했다. 해결 방법 pip 패키지 설치 확인 pip show 모듈명 위 명령어를 입력하여 에러가 발생한 모듈의 설치 여부를 확인한다. No matching distribution found for 모듈명과 같은 오류 메시지가 반환되면 모듈 설치가 안 된 것이므로 설치해주면 된다. 설치 명령어 - pip install 모듈명 Django 설정 확인 INSTALLED_APPS = [ # ... '모듈명', # ... ] 설치가 되어있으나 에러가 발생하는 경우 Django 설정 파일에서 INSTALLED_APPS 리스트에 해당 모듈이 추가 되어있는지 확인한다. 리스트에 모듈명이 정확히 추가 되어있는지 확인하세요. 저..
Django - No module named 에러 해결에러 발생 django runserver 도중 No module named '모듈명' 에러가 발생했다. 해결 방법 pip 패키지 설치 확인 pip show 모듈명 위 명령어를 입력하여 에러가 발생한 모듈의 설치 여부를 확인한다. No matching distribution found for 모듈명과 같은 오류 메시지가 반환되면 모듈 설치가 안 된 것이므로 설치해주면 된다. 설치 명령어 - pip install 모듈명 Django 설정 확인 INSTALLED_APPS = [ # ... '모듈명', # ... ] 설치가 되어있으나 에러가 발생하는 경우 Django 설정 파일에서 INSTALLED_APPS 리스트에 해당 모듈이 추가 되어있는지 확인한다. 리스트에 모듈명이 정확히 추가 되어있는지 확인하세요. 저..
2023.10.24 -
pip 설치 패키지 requirements.txt 파일 생성 명령어 pip freeze > requirements.txt requirements.txt에 정의 되어있는 패키지 설치 pip install -r requirements.txt
Django - pip 설치 패키지 requirements.txt 파일 만들기pip 설치 패키지 requirements.txt 파일 생성 명령어 pip freeze > requirements.txt requirements.txt에 정의 되어있는 패키지 설치 pip install -r requirements.txt
2023.10.24 -
오류내용 django runserver 시 에러가 발생했다. 해결 settings.py 파일에 os를 import 해주었다. import os
Django - NameError: name 'os' is not defined 에러오류내용 django runserver 시 에러가 발생했다. 해결 settings.py 파일에 os를 import 해주었다. import os
2023.10.14 -
Unibeautify 확장자 설치 settings.json 파일 수정 파일 최하단에 아래 코드 추가 "files.associations": { "**/*.html": "html", "**/templates/**/*.html": "django-html", "**/templates/**/*": "django-txt", "**/requirements{/**,*}.{txt,in}": "pip-requirements" }, "emmet.includeLanguages": { "django-html": "html" }, "unibeautify.enabled": true, "[django-html]": { "editor.formatOnSave": true, // 파일 저장 시 auto formatting "editor..
Django - vscode에서 django html auto formattingUnibeautify 확장자 설치 settings.json 파일 수정 파일 최하단에 아래 코드 추가 "files.associations": { "**/*.html": "html", "**/templates/**/*.html": "django-html", "**/templates/**/*": "django-txt", "**/requirements{/**,*}.{txt,in}": "pip-requirements" }, "emmet.includeLanguages": { "django-html": "html" }, "unibeautify.enabled": true, "[django-html]": { "editor.formatOnSave": true, // 파일 저장 시 auto formatting "editor..
2023.10.03