MongoDB Shell (\(\texttt{mongosh}\)) 몽고DB 쉘 Shell Instructions (쉘 명령어) show databases (=show dbs) - 현재 MongoDB에 생성된 데이터베이스들의 이름과 크기를 출력한다. show collections - 현재 데이터베이스에 생성된 Collection들의 이름을 출력한다. use - 데이터베이스를 선택한다. db.createCollection("") - 현재 데이터베이스에 Collection을 생성한다. - {"ok" : 1} 메시지가 출력되면 Collection이 정상적으로 생성된 것이다. Reference: MongoDB (URL) Reference: MongoDB Documentation (URL)
MongoDB Preview 몽고DB 개요 (URL) MongoDB: The Application Data Platform Get your ideas to market faster with an application data platform built on the leading modern database. MongoDB makes working with data easy. www.mongodb.com Mongo DB Settings (몽고DB 설정) * Windows \(\texttt{cmd}\) Commands C:\>net start MongoDB MongoDB Server 서비스를 시작합니다.. MongoDB Server 서비스가 잘 시작되었습니다. C:\>net stop MongoDB Mongo..
BeautifulSoup Library BeautifulSoup 라이브러리 - http를 호출하는데 관련된 기능들을 제공하는 HTML Parser 라이브러리이다. * BeautifulSoup Official Documentation (URL) Beautiful Soup Documentation — Beautiful Soup 4.4.0 documentation Non-pretty printing If you just want a string, with no fancy formatting, you can call unicode() or str() on a BeautifulSoup object, or a Tag within it: str(soup) # ' I linked to example.com ' unic..
requests Library requests 라이브러리 - HTTP를 호출하는데 관련된 기능들을 제공하는 라이브러리이다. - requests 라이브러리는 Web에 대해 아래와 같은 기능들을 제공하고 있다: Keep-Alive & Connection Pooling International Domains and URLs Sessions with Cookie Persistence Browser-style SSL Verification Automatic Content Decoding Basic/Digest Authentication Elegant Key/Value Cookies Automatic Decompression Unicode Response Bodies HTTP(S) Proxy Support Mult..
Fast Input/Output 빠른 입출력 - C/C++에서 많은 I/O(입출력)이 발생하는 경우에 실행시간을 유의미하게 줄일 수 있는 방법이다. - 주요 언어군에서의 입력 방법에 따른 실행시간 순위는 아래와 같다. (URL) (천만 개의 10,000 이하 자연수가 적힌 파일을 입력받기를 10회 실시하여 소요시간의 평균을 측정하여 순위를 산정) 순위 언어 입력 방법 평균 (sec) 1 C11 mmap 0.043 2 C11 fread 0.0799 3 C11 getchar 0.3496 4 C++17 ios_base::sync_with_stdio(false); cin.tie(NULL); 0.5938 5 C++17 ios_base::sync_with_stdio(false); 0.6348 6 Java Buffe..
Python Built-in Functions 파이썬 내장 함수 * python.org - Built-in Functions (URL) Built-in Functions — Python 3.10.2 documentation Built-in Functions The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order. abs(x) Return the absolute value of a number. The argument may be an integer, a floating poin docs.python.org ..