Skip to content

Instantly share code, notes, and snippets.

View SimDaSong's full-sized avatar

sim da-song SimDaSong

View GitHub Profile
@jjangga0214
jjangga0214 / yarn.md
Last active March 3, 2025 12:13
[yarn] yarn 의 사용방법에 대해 설명한다. #yarn #npm

yarn

yarn 은 javascirpt 의 package manager 이다. npm 의 drop-in substitute 로 사용할 수 있는 점이 초기 도입에도 큰 장점이다.
패키지 설치 속도가 더 빠르고, 패키지 설치과정에서 패키지가 code를 running 하지 않도록 하여 더 보안상 안전하다.
또한, 같은 package.json 에 의존하는 두개의 서로 다른 환경이 서로 다른 버전의 패키지 의존성을 가지는 것을 방지하기 위해, 버전의 range 가 아닌, 정확한 버전을 명시한 yarn.lock 파일을 사용한다.

주요

# npm install
yarn install 또는 yarn
@aafwu00
aafwu00 / intellij_tips.md
Last active June 3, 2024 01:59
IntelliJ Tips, 익숙지 않은 분들을 위한

IntelliJ Tip 모음 2019.2.1 기준

IntelliJ 익숙지 않은 분께 도움이 될 tip, 모음

  • 가급적 최신 버전 유지
  • 버전이 2019.x 형태인데 저같은 경우 x 가 바뀔때 app cleaner 로 깔끔히 지우고 시작, 개취
    • intellij cache 를 많이 쓰는데 update 시 꼬이는 경우가 가끔 있고, 밀면 초기에 index 과정 지나면 좀 빠름
    • 신규 macOS 부터 Shift + Command + A 가 시스템 등록 되어있어서 System Preferences -> Keyboard -> Shortcuts -> Services -> Search man Page Index in Terminal 체크 해제

단축키(Mac 기준, keymap 은 Default Mac OS X 사용)

  • IntelliJ Learn Plugin 으로 따라하기 모드가 생김: 이것만 알아도 됨
@jimschubert
jimschubert / Markdown-JavaScript.markdown.js
Last active April 1, 2025 17:51
DataGrip (IntelliJ) output SQL results to Markdown
if (!String.prototype.repeat) {
// polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat
String.prototype.repeat = function(count) {
'use strict';
if (this == null) {
throw new TypeError('can\'t convert ' + this + ' to object');
}
var str = '' + this;
count = +count;
if (count != count) {
@robertpainsi
robertpainsi / README.md
Last active May 16, 2025 14:38
How to reopen a pull-request after a force-push?

How to reopen a pull-request after a force-push?

Precodinitions

  • You need the rights to reopen pull requests on the repository.
  • The pull request hasn't been merged, just closed.

Instructions

  1. Write down the current commit hash of your PR-branch git log --oneline -1 <PR-BRANCH>
  2. Write down the latest commit hash on github before the PR has been closed.
  3. git push -f origin :