책 : 프로그래머의 길, 멘토에게 묻다

2022. 11. 9. 12:27
반응형

http://www.yes24.com/product/goods/4045732

 

프로그래머의 길, 멘토에게 묻다 - YES24

프로그래머가 되고 싶다면..소프트웨어 개발 분야에서 경력의 시작을 설계하고 이 분야에서 탁월한 개발자가 될 수 있도록 자기 자신을 세우는 일에 관한 책이다. 프로그래밍을 생업으로 삼으

www.yes24.com

 

개발 업무가 내 생각 같지 않을때, 아니면 모를때 읽어 보면 앞으로의 방향이 보이는 느낌을 주는 책

반응형
:

ubuntu 개발 환경

OS/linux 2022. 10. 11. 12:37
반응형

font - D2Coding 개발용으로 깔끔

mkdir ~/.local/share/fonts/Unknown\ Vendor/TrueType/D2Coding -p

cp D2Coding-Ver1.3.2-20180524-all.ttc ~/.local/share/fonts/Unknown\ Vendor/TrueType/D2Coding/D2Coding_Regular.ttc

 

cinnamon desktop 윈도우 환경과 비슷한 느낌으로 편함

 

chrome 브라우저

 

zshell 기본 shell을 zshell 로 변경 - 자동 완성 등 명령 치는 시간 엄청 단축

 

neovim 기존 vim 대신 사용

 

git

 

ssh

 

remmina 윈도우 remote desktop

 

docker 빌드용으로 ubuntu 버전과 상관 없이 동일 개발 환경 제공

 

pet 자주쓰는 명령어 저장 및 불러오기

 

terminator 창분할을 지원 하는 터미널

 

guake F11 키를 입력하면 터미널 즉시 실행

 

virtualbox 다른 os 테스트 용

 

android studio

 

cherrytree 노트용

 

startup command /etc/rc.local 파일에 있는 명령을 부팅 시 자동 실행함

cat /etc/rc.local

#! /bin/bash

 

diff-so-fancy

https://github.com/so-fancy/diff-so-fancy

sudo npm -g install diff-so-fancy

반응형
:

String split 사용할때 빈값 삭제 / 유지 예제 코드

프로그래밍/java 2022. 8. 10. 22:26
반응형

String split 사용할때 빈값 삭제 / 유지 예제 코드

        String test1 = "abc|aa|bb|cc||";

        String[] strArray = test1.split("\\|");
        System.out.println("1. test1 length :" + strArray.length);

        for (String str : strArray) {
            System.out.println("1. test1 : " + str);
        }

        System.out.println("");

        strArray = test1.split("\\|", -1);
        System.out.println("2. test1 length :" + strArray.length);

        for (String str : strArray) {
            System.out.println("2. test1 : " + str);
        }

 

실행 결과

1. test1 length :4
1. test1 : abc
1. test1 : aa
1. test1 : bb
1. test1 : cc

2. test1 length :6
2. test1 : abc
2. test1 : aa
2. test1 : bb
2. test1 : cc
2. test1 : 
2. test1 :

https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#split-java.lang.String-int-

 

String (Java Platform SE 8 )

Compares two strings lexicographically. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this String object is compared lexicographically to the character sequence represented by the argum

docs.oracle.com

 

반응형
: