일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- GIT
- 대소문자 구별
- 정규표현식
- 딸라표시
- Regexp
- Terminal
- runserver
- literal
- whitespace characters
- Homebrew
- New Line
- MySQL
- whitespace
- dollar sign
- backslash
- MongoDB
- mongo
- databases
- NoSQL
- bitbucket
- point
- sensitive
- square brackets
- MAC
- Case sensitive
- Regular Expressions
- Regex
- matches any character
- 꺽쇠
- escaped
- Today
- Total
Creaticalmind
git 쓸때 여러가지 이유로 .gitignore를 적용해야 한다. 예를 들면 환경설정 분리라던가 보안의 문제 때문이다. 하지만 이미 .gitingore를 적용했다면, 참으로 난감하다. 그래서 아래 코드를 폴더에서 실행을 하면 다시 적용이 가능하다. $ git rm -r --cached . $ git add . $ git commit -m "re-apply .gitignore file" $ git push
Django Mysql 연동방법 1. mysql설치 방법은 아래와 같습니다. https://creaticalmind.tistory.com/21?category=709469 2. django 프로젝트에서 pip를 이용해서 mysqlclient 설치 $ pip search mysqlclient $ pip install mysqlclient==1.4.1 3. django project 안에 있는 setting.py 수정 기본 세팅값을 MySQL 세팅값으로 변경 setting.py - 기본 세팅값 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } - My..
Page 7Inside square brackets "[]" a list of characters can be provided. The expression matches if any of these characters is found. The order of characters is insignificant.(Case 3)SourceHow do you do?Case 1Regular Expression:[oyu]First match:How do you do?All matches:How do you do?Case 2Regular Expression:[dH].First match:How do you do?All matches:How do you do?Case 3Regular Expression:[owy][yo..
Page 6The point must be escaped if literal meaning is required.SourceO.K.Case 1Regular Expression:.First match:O.K.All matches:O.K.Case 2Regular Expression:\.First match:O.K.All matches:O.K.Case 3Regular Expression:\..\.First match:O.K.All matches:O.K. Case 1 문자를 와일드 카드로 검색하는 방식이다. > 05 Point . matches any character. 04 escaped with a backslash 이스케이프문자, 백슬래쉬
Page 5Point . matches any character.SourceRegular expressions are powerful!!!Case 1Regular Expression:.First match:Regular expressions are powerful!!!All matches:Regular expressions are powerful!!!Case 2Regular Expression:......First match:Regular expressions are powerful!!!All matches:Regular expressions are powerful!!! 와일드카드 ' . ' 을 이용한 검색 방법 Case 1 에서는 ' . '을 와일드카드로 이용 하는 방법, First 매치에서는 대문자 ..