일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 중복제거
- pythonanywhere
- 델파이
- anaconda3
- 백준
- Django
- Delphi
- MSSQL
- Push
- GIT
- HTML
- hackerrank
- advColumnGrid
- COMMIT
- rank
- TMS
- blog
- c#
- pyhcarm
- dbadvgrid
- get_object_or_404
- PyCharm
- Visual Studio
- python3
- queryset
- github
- delphi 10.3
- declare
- templates
- python 3.7
- Today
- Total
목록전체 글 (60)
DevHyun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/blL8R6/btqMb0njAVT/IMg0S2tjUPXnObMjLsk3z0/img.png)
pythonanywhere에서 pull 할때마다 db.sqlite3 파일이 덮어씌어 져서 데이터가 날아가곤 했다. Blog App의 DB를 pythonanywhere에서 제공하는 database 환경(mysql)으로 변경하였음! pythonanywhere에서는 잘 작동하지만 local에서는 pythonanywhere의 mysql로 접근이 안되는 현상이 발생. local에서 작업 한 것을 pythonanywhere에서 배포만 하는 작업 형태인 나에겐 큰 이슈! local에서는 sqlite을 이용하여 개발을 하고 pythonanywhere에서는 mysql로 개발 하기 위해서는 db.sqlite3 파일을 github에 push 할 필요성을 못느꼈음. github에 push할 때 특정 파일들을 ignore 하고..
1. pythonanywhere - console 창 열기 2. push 할 directory로 이동하기 - cd DevhyunDjangoBlog 3. git init 4. git add . 5. git commit -m 'message' 6. 해당 repository 주소 입력 - git remote add orgin https://github.com/jnhn333/DevhyunDjangoBlog 7. git push origin master
www.hackerrank.com/domains/sql Write a query to print all prime numbers less than or equal to 1000. Print your result on a single line, and use the ampersand (&) character as your separator (instead of a space). For example, the output for all prime numbers 이렇게 지정한 이유는 안쪽 WHILE문에서 @LOOP 보다 @SELF(자기자신)이 작을 경우 아예 WHILE문을 안타버려서 긴급 조치! 3 이상부터는 WHILE문 정상작동 하기때문에 @BOOL을 초기값인 FALSE로 지정. * 안쪽 WHILE문 : L..