인기순

[Web] 개발자콘솔 eruda, vconsole

개발자콘솔 eruda, vconsole을 소개합니다. web을 개발하다보면 개발자모드에 진입해서 element, source, console, network 등 상태정보를 확인하곤 합니다. 이는 PC 디바이스환경에선 간단한 일이지만 Mobile 디바이스에서는 어려운일입니다. 이를 도와주는 eruda, vconsole 라이브러리를 소개합니다. 이 두 라이브러리들은 개발자모드에 진입하기 어려운 환경에서도 개발자도구를 볼 수 있도록 지원합니다. 특히 모바일 환경에서 유용하게 사용됩니다. https://github.com/Tencent/vConsole GitHub - Tencent/vConsole: A lightweight, extendable front-end developer tool for mobile w..

Web 2022.06.13 0

문제 // Codility // Prefix Sum // GenoricRangeQuery // (성능부족)

업데이트 :: 2018.08.19 문제코드결과학습문제A DNA sequence can be represented as a string consisting of the letters A, C, G and T, which correspond to the types of successive nucleotides in the sequence. Each nucleotide has an impact factor, which is an integer. Nucleotides of types A, C, G and T have impact factors of 1, 2, 3 and 4, respectively. You are going to answer several queries of the form: What is th..

코딜리티 2018.08.20 0

[MacOS] hosts 파일설정하기

local 환경에 서버를 실행했을 때 127.0.0.1(localhost) 서버로 접근할 수 있습니다. 하지만 개발하다보면 도메인에 따라 로직을 설정해야하는 경우와 같이 local 환경에서도 고정 도메인이 필요한 경우가 있는데요. 그럴 때 고정 도메인을 설정하는 방법을 소개하려 합니다. 일단 수정해야하는 파일의 경로는 아래와 같습니다. $ sudo vi /etc/hosts 파일을 열면 아래와 같이 기본적으로 설정된 local 환경의 도메인 주소들을 확인할 수 있습니다. localhost도 해당 파일에 설정되어 있네요. 이 파일에 원하는 도메인 주소를 추가해주면 됩니다. 아래 local.mooncode.com 이라는 주소를 추가했습니다. 이렇게 하면 개발환경에서 동작하는 서버를 local.moonscode..

MacOS 2022.06.20 0

[MacOS] Amethyst (1) - 마우스없이 화면포커스컨트롤하기

Amethyst Amethyst | ianyh Tiling window manager for macOS along the lines of xmonad. A quick screencast of basic functionality can be found here. (It's rough, and I'd love to see a better one if someone has the skills and inclination to make one.) Getting Amethyst Amethyst is avail ianyh.com 안녕하세요. 오늘은 Amethyst 앱에 대해서 소개하려합니다. 애플리케이션 창을 컨트롤할 때 제가 정말 좋아하는 Spectacle이란 앱이 있는데요. (Spectacle 소개글 https..

MacOS 2022.06.15 0

[MacOS] 환경변수 어떻게 셋팅할까?

환경변수란 무엇일까요? 환경변수란 OS에서 접근할 수 있는 전역 시스템 변수입니다. 예를 들어 A의 폴더에 node의 실행파일이 있다고 가정해보겠습니다. 개발하는 프로젝트에서 node 서버를 실행하기 위해 매번 상위 디렉토리로 이동하여 node의 실행파일이 있는 폴더를 찾아야 할 것 입니다. 하지만 실행파일이 있는 위치를 변수로 지정한다면 어떨까요? 매번 node 실행파일의 위치를 기억하지 않고 참조할 수 있을 것입니다. 환경변수에도 특징을 가진 상수값이 존재합니다. PATH - 전역접근이 가능한 디렉토리 목록 HOME - home 디렉토리의경로 USERNAME 방법1 첫 번째 방법은 터미널에서 직접 환경변수를 호출하는 것 입니다. $ export ZSH="$HOME/.oh-my-zsh" $ echo $..

MacOS 2022.06.13 0

최신순

more

[MacOS] 내가 보려고 만든 MacOS 초기설정 (2) - 환경설정

Dev git git config 설정 $ git config --global user.name "mooncoding" $ git config --global user.email "mooncoding@naver.com" $ git config user.name $ git config user.email brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # 필요하다면 Next steps을 실행하세요 ==> Next steps: - Run these two commands in your terminal to add Homebrew to your PATH: (echo; echo '..

MacOS 2024.03.18 0

[MacOS] Amethyst (2) - Layout

최근 Amethyst의 Layout 기능을 사용하고 OSX App Window 관리 프로그램을 Amethyst로 정착했다. 기존 Spectacle, Rectangle등의 프로그램은 개별 App Window을 조작했다면, Amethyst Layout 기능은 그것과는 결이 다르다. 전체 화면에서 App들이 배치될 방식의 Layout을 미리 설정하면 App들이 Layout 대로 자리를 채우는 방식이다. 아래 사진을 보면 Layout 개념을 이해하는데 도움이 될 수 있다. 위 레이아웃은 "Tall"이란 형태의 레이아웃이고 Amethyst에서 더 다양한 Layout을 제공하고 있다.

MacOS 2024.03.11 0