Home
Deercode
Cancel

Effective Python 파이썬 코딩의 기술 요약 정리 (Chapter 1. 파이썬 답게 생각하기)

Ch1. 파이썬 답게 생각하기 가장 파이썬다운(pythonic) 프로그래밍 방법이란 무엇일까? 1. 사용중인 파이썬의 버전을 알자 현재 사용중인 파이썬 버전을 정확히 알고 싶으면 –version 플래그를 통해 알 수 있다. 참고로 파이썬 2 버전대는 더이상 지원하지 않으니, 더이상 사용하지 말라. python --version Python 2....

Resolution of 'Unable to reach server' issue in GraphQL Studio due to local server connection

Problem Situation I encountered an issue while setting up a GraphQL environment where GraphQL Studio kept redirecting to an external server. It consistently redirected to https://studio.apollogr...

Linux Memory Performance Monitoring (Using free, ps)

Linux Memory Performance Monitoring While I’ve been using Linux frequently, understanding the performance of Linux itself has always been challenging and confusing. When operating a server on Linu...

Linux Disk Performance Monitoring (Using df, du, iostat, pidstat)

Linux Disk Performance Monitoring While I’ve used Linux frequently, understanding the performance of Linux itself has always been challenging and confusing. When operating servers on Linux, I ofte...

[Leet Code풀이] 201. Bitwise AND of Numbers Range

문제 설명 https://leetcode.com/problems/bitwise-and-of-numbers-range 만약 주어진 입력이 아래와 같은 경우 5 7 5부터 7까지 bitwise AND 연산을 해서 나온 결과를 리턴하는 문제다. 즉 5 (0101)와 6(0110)을 Bitwise AND 연산을 하면 0100이 나온다. 0100에 7...

[Elasticsearch] Precautions when executing enrich policy

Purpose of Using Enrich In SQL, you can use Join to combine different tables and retrieve information from two tables at once. However, Elasticsearch does not support Join between multiple indexes...

[Leet Code풀이] 5. Longest Palindromic Substring

문제 설명 https://leetcode.com/problems/longest-palindromic-substring palindrom 이란 abc, aabaa, 우영우(?) 처럼 앞에서 읽으나 뒤에서 부터 읽으나 똑같은 문자열을 말한다. panlindrom을 찾으려니 세가지 케이스가 나왔다. Palindrom 찾기 Case 1. 중심 문자...

[Leet Code풀이] 413. Arithmetic Slices

문제 설명 https://leetcode.com/problems/arithmetic-slices/ arithmetic slice란 1,2,3,4 또는 -1, -3, -5 -7 처럼 같은 간격으로 3개 이상 이어진 숫자열을 의미한다. 일종의 Dynamic programming 문제인데, 규칙을 보면 아래와 같다. 1) 최대 arithmetic sli...

[Linux] Installation, Usage and Commands of tmux

tmux tmux stands for Terminal Multiplexer. When using Linux in the terminal, there can be inconvenience when sessions are disconnected, causing processes in progress to be interrupted or work to be...

[Linux] xargs command and usage example

Why use the xargs command? I wanted to utilize the output from certain commands to perform new commands in bulk. The xargs command has the ability to read a data stream and generate and execute a...