본문 바로가기

getting_started61

[Python] pip pip is the package installer for Python. It is similar to gem of Ruby and npm or yarn of Nodejs. If Python 2.x and 3.x are installed together, it can be used like pip3 to distinguish the version. pip is contained in Python. Usage Self Upgrade - On MAC / Linux $ pip install -U pip - On Windows $ python -m pip install -U pip Check Packages are Installed $ python -c 'import ' Install Latest Version.. 2020. 9. 11.
[Babel] Getting Started Babel is a JS compiler or transpiler. It compiles the newer JS to old JS for supporting many browsers. Because there is a lot of browsers that do not support the newer JS. Babel can work with many bundlers or frameworks. In this posting, let's find out the basic usage of Babel. Installation Create a new project for practicing Babel. And then, install babel packages inside the project folder. $ y.. 2020. 9. 10.
[Pug] Getting Started Pug is a template engine that helps develop HTML like a programming language. Installation I'm using yarn, but if you use npm, it also works. $ yarn add -D pug Pug is usually used with other bundlers or frameworks. But in this posting, I'll use Pug directly. So, let's install one more package. $ yarn add -D pug-cli This package allows me to use a Pug in the terminal. Create Template for HTML Let.. 2020. 9. 9.
[HTML] Emmet Emmet is a web-developer's toolkit that can greatly improve HTML and CSS workflow. Most of the editors already have the Emmet plug-in. I'm using the VSCode, and it has this feature. So, we don't need anything. Just enjoy it! Note Before explaining emmet syntax, let me explain a few things first. If you input the Emmet syntax, the VSCode will notice it to you. You have to press or key at this tim.. 2020. 9. 2.
[Electron] Getting Started ※ v9.2.1 2020/08/31 - [Web/JavaScript] - [Electron] Getting Started 2020/08/31 - [Web/JavaScript] - [Electron] BrowserWindow 2020/09/01 - [Web/JavaScript] - [Electron] IPC (Inter Process Communication) 2020/09/01 - [Web/JavaScript] - [Electron] Menu 2020/09/01 - [Web/JavaScript] - [Electron] Global Shortcut 2020/09/01 - [Web/JavaScript] - [Electron] Tray Project Configuration Create a project fo.. 2020. 8. 31.
[Windows] Chocolatey Chocolatey is the package manager for windows. I've been using it for several years. It was awesome, so I love it. Installation Open the shell with admin mode. $ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolat.. 2020. 8. 30.
[Node] yarn yarn is a package manager like npm. Installation Install yarn to system. $ npm i -g yarn Lock the yarn version used by the project. $ yarn set version Usage Show help $ yarn help Show current version $ yarn --version Update to the latest version $ yarn set version latest Create a new project configuration $ yarn init $ yarn init -y Add a package $ yarn add $ yarn add --dev (-D) $ yarn add --peer.. 2020. 8. 30.
[Node] NPM (Node Package Manager) npm is a package manager for the JavaScript programming language. It also helps to manage the project. Project Initialization Initialize a proejct $ npm init $ npm init -y It will create the package.json file. If run the command with -y option, it creates the default settings. If not, it creates with interactive mode. Description name: Project name Should be less than 214 characters Don't start .. 2020. 8. 30.
[Node] Node.js Node.js is a javascript runtime built on Chrome's V8 javascript engine. Installation I recommend the installation through nvm. 2020/08/30 - [Web/JavaScript] - [Node] NVM Usage Run javascript files $ node 2020. 8. 30.
[Node] NVM (Node Version Manager) ※ 08.30.2020 - v1.1.7 nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. Installation On Mac $ brew install nvm Next, create a folder for nvm. $ mkdir ~/.nvm After installs it, add the below code in your shell profile. export NVM_DIR="$HOME/.nvm" [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" [ -s "/usr/local/opt/nvm/etc/bash_comp.. 2020. 8. 30.
[Python] venv venv provides python virtual environment, so it helps to separate a package dependencies per project. we had to use virtualenv before Python 3.4, but since then it has been built-in as a basic tool. Usage The following usage contains a . It means that the name of virtual environment and it will become a folder name as well. Create a virtual environment $ python3 -m venv Activate a virtual enviro.. 2020. 8. 29.
[Python] pyenv pyenv is a python version managing tool. Installation On MAC $ brew install pyenv On Windows Previously, we should use a pip. $ pip3 install pyenv-win --target $HOME/.pyenv But, now!!! We can use the chocolatey~!!! YAY~!!! $ choco install -y pyenv-win We no longer have to add environment variables directly !!! Usage Show available list $ pyenv install -l Show installed list $ pyenv versions Show.. 2020. 8. 29.