본문 바로가기 메뉴 바로가기

Studying programming

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Studying programming

검색하기 폼
  • Jimin's Programming (194)
    • Algorithms (54)
    • JavaScript (16)
    • Vue.js (3)
    • Node.js (3)
    • React.js (7)
    • React Native (0)
    • Spring Boot (13)
    • JAVA (58)
    • C++ (17)
    • Programming (19)
    • Computer basics (4)
  • 방명록

Jimin's Programming (194)
cross-env 설정은 development로 해야한다.

경로 자동 지정을 위해 cross-env를 사용할 때는 반드시 development로 하고 배포할 때 production으로 바꿀 것. 경로 자동 지정이 원활히 작동하지 않을 경우에는. env file에서 설정이 잘못되어있지 않은지 확인하자. NODE_ENV = development

Programming 2020. 6. 23. 12:54
git the requested URL returend error : 403

1. 권한부여. Give authority to a user. git remote set-url origin https://USERNAME@github.com/USERNAME/REPOSITORY_NAME.git 2. push to origin master git push -u origin master

Programming 2020. 2. 17. 20:09
Calculate the Max minus Min Value in Array

1. Initialize random index for minimum and maximum value. Anyhow it's gonna be updated. 2. To find the max and min element in an array, use Max and Min function. Example Code in Java public class Main{ public static void main(String args[]) { int arr[] = {2,4,3,7,5}; System.out.println(getMinMax(arr)); } public static int getMinMax(int[] arr) { //just set arbitrary index 0,1 for now int min = ar..

Algorithms 2019. 9. 8. 14:43
Get the second smallest element in array

Example Code public class Main{ public static void main(String args[]) { int arr[] = {2,4,1,7,0}; System.out.println(min(arr)); } public static int min(int[] arr){ int min = arr[0]; int sec = arr[1]; for(int i = 0; i

Algorithms 2019. 9. 7. 11:11
Single-thread in JavaScript

Java Script is a single thread, not multi-thread. If there is another function in use, other functions should wait in Queue until it's done. Java and C# allow multi-thread. 자바스크립트는 single-thread 이므로 앞선 실행문이 call stack 에서 실행되는 동안 Queue(Java Script event 엔진이 주기적으로 할 일 확인하는 곳)에서 앞선 실행문이 끝나기를 기다린다. Example Code function first(){ setTimeout(function (){ console.log('start timer') }, 1500); // It's su..

JavaScript 2019. 9. 6. 06:44
Promise

Promise 거의 대부분의 비동기 작업에서 콜백이 중첩으로 일어나기 때문에 '콜백지옥'을 벗어나기 위해 Promise를 사용한다. Example Code module.exports.getManagers = () => { return new Promise((resolve, reject) => { var manager = []; for(var i = 0; i

JavaScript 2019. 9. 4. 02:28
이전 1 ··· 7 8 9 10 11 12 13 ··· 33 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • math.max
  • 프로그래머스 알고리즘문제
  • HashMap
  • easy algorithm
  • algorithm
  • hackerrank
  • hackerrank solution
  • Collection Framework
  • 프로그래머스 알고리즘
  • hackerrank javascript solution
  • HackerRank Algorithm
  • easy javascript algorithm
  • spring boot application
  • rest parameter
  • java
  • C++
  • equals()
  • Javascript Algorithm
  • 프로그래머스
  • string class in java
  • substring()
  • javascript
  • 알고리즘
  • math.abs
  • repeat()
  • Object type casting
  • compareTo()
  • code refactoring
  • hackerrank javascript
  • ... in Javascript
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바