인기순

[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

[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

QuickSearch // Java // FileSystem

Java IO는 파일의 속성 정보를 읽기 위해 File 제공 Java NIO는 다양한 클래스와 인터페이스 제공 - java.nio.file, java.niofile.attribute File Java IO Path java.nio.file.Path Interface Path path = Paths.get(String first, String... more); Path path = Paths.get(URI uri); get() compareTo() - 경로가 동일하면 0, 상위 경로면 음수, 하위 경로면 양수, 음수와 양수 값의 차이나는 문자열 수 int compareTo(Path other) getFileName() - 부모 경로를 제외한 파일 또는 디렉토리 이름만 가진 Path 반환 Path getFi..

Java 개념 2019.10.14 0

학습 // Spring // MyBatis // Transaction

업데이트 :: 2018.11.01 TransactionsDataSourceTransactionManagerContainer Manager Transactions (CMT)Programmatic Transaction ManagementEXTransactions마이바티스 스프링 연동모듈을 사용하는 중요한 이유중 또 하나 마이바티스가 스프링 트랜잭션에 자연스럽게 연동가능 하다는 것스프링 트랜잭션 관리자를 한 번 설정하면, 스프링에서 트랜잭션을 설정할 수 있음@Transaction과 AOP 스타일의 설정을 모두 지원하나의 SqlSession객체가 생성되고 트랜잭션이 동작하는 동안 지속적으로 사용세션은 트랜잭션이 완료되면 적절히 커밋되거나 롤백됨DataSourceTransactionManager @Bean pub..

MyBatis 2018.11.13 0

Java // 개념 // Scheduling // Thread & Timer & ScheduledExecutorService

업데이트 :: 2018.08.03 Thread이용방법Timer & TimeTaskScheduledExecutorServiceTimer는 스레드가 기다리는 걸까 ?Thread이용방법Thread.sleep(1000); 다음방법은 간단하지만 프로그램의 성능을 저하 할 수 있음메인스레드라면 스레드가 잡여 후속 작업을 수행하지 못함Thread t = new Thread() { public void run() { Thread.sleep(1000); } }; 다음방법은 워크스레드를 사용해서 프로그램이 멈추진 않음하지만 해당 워커스레드는 다음작업이 오기전까지 기다려야함Timer & TimeTask태스크를 시작할때 취소할때를 통제처음 시작할때 타이밍을 원하는데로 할수있음다음 코드는 비동기로 동작 ("async test"..

Java 개념 2018.08.03 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