본문 바로가기

카테고리 없음

2020-11-13 12시 개발자 글 모음 | "OPNFV Training" 외 8개 이야기

[MySQL] Purge Log by 이정해 about MySQL,SQL

  • pid -rw-rw---- 1 mysql mysql 25088 May 23 15:24 ib_arch_log_0000000000 -rw-rw---- 1 mysql mysql 5242880 May 29 11:36 ib_logfile0 -rw-rw---- 1 mysql mysql 5242880 May 23 15:24 ib_logfile1 -rw-rw---- 1 mysql mysql 10485760 May 29 10:56 ibdata1 drwx------ 2 mysql mysql 1024 May 23 15:20 mysql mysql> purge logs before '2003-05-29 11:24:00'; Query OK
  • pid -rw-rw---- 1 mysql mysql 25088 May 23 15:24 ib_arch_log_0000000000 -rw-rw---- 1 mysql mysql 5242880 May 29 11:36 ib_logfile0 -rw-rw---- 1 mysql mysql 5242880 May 23 15:24 ib_logfile1 -rw-rw---- 1 mysql mysql 10485760 May 29 10:56 ibdata1 drwx------ 2 mysql mysql 1024 May 23 15:20 mysql mysql> purge logs to 'aaa-bin
  • pid -rw-rw---- 1 mysql mysql 25088 May 23 15:24 ib_arch_log_0000000000 -rw-rw---- 1 mysql mysql 5242880 May 29 11:36 ib_logfile0 -rw-rw---- 1 mysql mysql 5242880 May 23 15:24 ib_logfile1 -rw-rw---- 1 mysql mysql 10485760 May 29 10:56 ibdata1 drwx------ 2 mysql mysql 1024 May 23 15:20 mysql mysql>


나의 파이썬 환경 구축기 1 - 써본 것들에 대한 생각 by 전시흠 about Python

  • 파이썬의 다양한 버전을 CLI를 통해 좀 더 쉽게 다운받을 수 있게 해주는 프로그램이 있는데 그게 바로 pyenv다
  • pyenv로 설치한 파이썬 버전으로 가상 환경을 만들 수 있다
  • poetry를 사용하면 pip install 이 아니라 다음처럼 poetry add 로 패키지를 추가한다


윈도우 PowerShell - custom prompt 스크립트 만들기 by 정기욱

  • $pwdArray[-1] -join ('/'))" } else { $linuxPath = "/$($pwdArray -join ('/'))" } write-host $linuxPath -ForegroundColor Cyan -NoNewline
  • git status if (Get-Module Posh-git) { $vcsStatus = Write-VcsStatus write-host $vcsStatus -NoNewline }
  • totalminutes -ge 1 } { $elapsedTime += "{0:HH:mm:ss}" -f ([datetime]$ts


꾸준함이라는 달콤함에 속지 말자! by 이준현

  • 이유는 음악계가 상당히 좁기때문에 좋은 대학에 대한 욕심이 저절로 생겨나고 그로인해 모든 시야가 대학에 집중되기
  • 당연히 대학을 가려고 음악을 했던게 아닌데 왜 대학에 집착했을까라는 생각과 매일했던 연습에 문제점이 있었다는 걸
  • 단순히 반복되는 시간 투자가 아니라 그 시간 투자 동안 하나라도 뭔가를 얻어가야 하지않을까 라는 생각이다


국내 온라인 커뮤니티 순위 — 2020년 11월 by 안경찬

  • More from Chan Ahn Follow
  • Someone who works at a TV networks lab while enjoying IT development
  • An ordinary person who enjoys photography and music and likes to write thoughts


jpa, querydsl 적용 시 로깅 비교. querydsl로 작성한 쿼리 DBMS에서 쉽게 돌리는 방법. 3탄! by 임용태

  • */ private boolean includeParameterValues = true; } @Getter @Setter public static class P6SpyLogFilter { /** * Use regex pattern to filter log messages
  • appender; /** * @author Quinton McCombs * @since 09/2013 */ public class MultiLineFormat implements MessageFormattingStrategy { /** * Formats a log message for the logging module * * @param connectionId the id of the connection * @param now the current ime expressing in milliseconds * @param elapsed the time in milliseconds that the operation took to complete * @param category the category of the operation * @param prepared the SQL statement with all bind variables replaced with actual values * @param sql the sql statement executed * @param url the database url where the sql statement executed * @return the formatted log message */ @Override public String formatMessage(final int connectionId
  • Horvath * @since 08/2017 */ public class CustomLineFormat implements MessageFormattingStrategy { private static final MessageFormattingStrategy FALLBACK_FORMATTING_STRATEGY = new SingleLineFormat(); public static final String CONNECTION_ID = "%(connectionId)"; public static final String CURRENT_TIME = "%(currentTime)"; public static final String EXECUTION_TIME = "%(executionTime)"; public static final String CATEGORY = "%(category)"; public static final String EFFECTIVE_SQL = "%(effectiveSql)"; public static final String EFFECTIVE_SQL_SINGLELINE = "%(effectiveSqlSingleLine)"; public static final String SQL = "%(sql)"; public static final String SQL_SINGLE_LINE = "%(sqlSingleLine)"; public static final String URL = "%(url)"; /** * Formats a log message for the logging module * * @param connectionId the id of the connection * @param now the current ime expressing in milliseconds * @param elapsed the time in milliseconds that the operation took to complete * @param category the category of the operation * @param prepared the SQL statement with all bind variables replaced with actual values * @param sql the sql statement executed * @param url the database url where the sql statement executed * @return the formatted log message */ @Override public String formatMessage(final int connectionId


실전 자바 소프트웨어 개발 by 임용태 about Java

  • 실전 자바 소프트웨어 개발
  • 실전 프로젝트로 배우는 최신 자바 개발 기법 레벨업 가이드 이제 막 경력을 쌓기 시작한 자바 개발자가 최신 소프트웨어 개발 방법까지 알기란 벅찬 일이다
  • 테스트 주도 개발 같은 객체지향


콘소시엄 블록체인에서의 거버넌스 by 이승현 about Blockchain,Ethereum

  • 네트워크 참여가 제한된 콘소시엄형 블록체인 (분산장부라고도 말하는)은 나름 "신뢰비용" 을 줄이는데 잘 사용 될 수 있는 자질을 가졌으므로 이것들 또한 블록체인이라고 불리는데 이제는 일부 순수탈중앙주의자 빼고는 누구나 합의를 한 분위기이다
  • 거버넌스 비용을 최소화 해야 콘소시엄 블록체인을 사용하는 유일한 이유인 "신뢰비용"을 줄일 수 있을 것이며
  • 비트코인 같은 퍼블릭체인에서의 거버넌스은 순수히 네트워크 프로토콜 상의 보상/조정 시스템에 의해서 돌아가며 모든것이 오픈되어있다


OPNFV Training by 안종석 about HTTPS