Skip to content

Instantly share code, notes, and snippets.

@bluesid
bluesid / mysql_datediff_query.sql
Created February 8, 2023 08:22
#mysql #datediff
# DATEDIFF
DATEDIFF(date1, date2);
# TIMESTAMPDIFF
## SECOND : 초
## MINUTE : 분
## HOUR : 시
## DAY : 일
## WEEK : 주
## MONTH : 월
@bluesid
bluesid / maven.sh
Created January 16, 2023 07:38
#maven #wrapper
# maven wrapper
# https://maven.apache.org/wrapper/
@bluesid
bluesid / gem_install_cocoapods_error.sh
Last active January 16, 2023 03:52
#gem #cocoapods
$ sudo gem install cocoapods
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
extconf failed, exit code 1
$ xcode-select --install
$ brew update
@bluesid
bluesid / udmey-dl_command.sh
Created January 14, 2023 05:53
#udemy-dl #udemy
# Github page
## https://github.com/r0oth3x49/udemy-dl
# Cookie capture
## https://github.com/r0oth3x49/udemy-dl/issues/303#issuecomment-441354994
# Tested on Mac, python 3.7.3
$ python udemy-dl.py -k cookie.txt UDEMY_COURSE_URL
@bluesid
bluesid / Program_Settings.md
Last active May 25, 2023 04:55
#컴퓨터 #세팅 #개발
  • InteliJ 세팅 폴더

    • C:\Users{user_name}\AppData\Local\JetBrains\IntelliJIdea{version}\
  • InteliJ 세팅, Font, 기본은 JetBrains Mono

    • Editor > General > Font
  • InteliJ 세팅, Terminal

    • Tools > Terminal > Application Settings > Shell path
  • Notepad++ theme

@bluesid
bluesid / window_restore_command.cmd
Created December 10, 2022 09:55
#윈도우 #복구 #관리자모드
@rem 명령 프롬프트(cmd) 관리자 모드에서 실행
@rem 윈도우즈 이미지 복구
@rem https://learn.microsoft.com/ko-kr/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-10
@rem DISM이 윈도우즈 업데이트를 사용하여 손상을 해결하는데 필요한 파일을 제공
_> dism /online /cleanup-image /restorehealth
@rem 시스템 파일 검사기(sfc)를 사용하여 복구
_> sfc /scannow
@bluesid
bluesid / ubunut_fzf.sh
Last active November 21, 2022 02:24
#fzf #commandline
# github
# https://github.com/junegunn/fzf
$ sudo apt-get install fzf
@bluesid
bluesid / yorkie.md
Created October 25, 2022 22:52
#오픈소스 #yorkie #동시편집
@bluesid
bluesid / grafana.sh
Created August 10, 2022 03:47
#grafana #그라파나
# grafana.db, sql lite
# https://stackoverflow.com/questions/65860003/physical-location-of-grafana-dashboards
# /var/lib/grafana/grafana.db