Toy-Project
Module03 :: Java 로 BlockChain 구현해보기.
Module03 :: Java 로 BlockChain 구현해보기.
2020.03.18참고 사이트 https://brunch.co.kr/@springboot/103 를 참고했습니다. 블록체인 이란? 블록체인은 원장 분산 시스템으로 P2P 형식으로 노드와 사슬이 연결되어 있는 방식입니다. 1세대 블록체인 기술백서에서는 합의 알고리즘으로 동작합니다. 블록체인은 decentualize 를 실현하며, 흔히 말하는 DAPP 을 통칭 합니다. 이를 통해 중앙 집권 저장방식에서 분산화된 개인이 데이터를 저장가능합니다. 하지만, 아쉽게도 블록체인 트랜잭션을 개인이 전부 가지고 있기에는 역부족 이기 때문에 아이러니 하게도 거래소와 같은 곳에서 이러한 데이터를 관리하게 됩니다. Hash 정의, 사용 이유 Hash는 일반적으로 암호화가 적용된 SHA-256 을 사용하며, 사용하는 이유는 객체를 구별하기 위해..
ISSUE05 :: git remote branch 삭제 안됄때
ISSUE05 :: git remote branch 삭제 안됄때
2020.03.17git fetch --all --prune 이걸로 한번 동기화를 하고 push origin : 해야 했다.
ISSUE04 :: Mysql .csv file import, Can't analyze file. Please try to change encoding type.
ISSUE04 :: Mysql .csv file import, Can't analyze file. Please try to change encoding type.
2020.03.16위 이슈와 관련된 사항은 2가지다. 1. utf-8 로 변경을 못했거나 2. mysql workbench 를 다운 그레이드 해야한다. 2번에 해당했던 문제였다.. ㅠ 추가적으로 다운그레이드 된 mysql workbench 에 접근하려면 password를 수정해야 했다.
ISSUE03 :: Found a swap file by the name "~/.bashrc.swp"
ISSUE03 :: Found a swap file by the name "~/.bashrc.swp"
2020.02.25ls -la .bashrc.swp / rm .bashrc.swp. 하면 해결할 수 있다. 원인은 ~/.bashrc.swp 를 저장하지 않은 상태인것으로 짐작된다.. 휴휴
ISSUE03 :: Vue에서 v-for 과 v-if 를 같이 쓰면 발생하는 Issue, [You should not mix 'v-for' with 'v-if']
ISSUE03 :: Vue에서 v-for 과 v-if 를 같이 쓰면 발생하는 Issue, [You should not mix 'v-for' with 'v-if']
2020.02.091 cs 를 사용하면 됩니다. vue.config.js 에서 eslintrc 에서 rule을 적용하는 방법은 1 2 3 4 5 6 7 8 module.exports = { lintOnSave : false, rules: { // allow debugger during development 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', "vue/no-use-v-if-with-v-for": "off" } } Colored by Color Scripter cs
Module02 :: vuex에서 SPA 에서 scss 적용하기
Module02 :: vuex에서 SPA 에서 scss 적용하기
2020.02.09codepen 코드들을 보다가 scss 는 어떻게 적용하는지 몰라서 리서칭하여 적용시켰습니다. 1 2 npm install sass-loader node-sass --save-dev Colored by Color Scripter cs 설치하고, webpack도 설치하였습니다. 1 npm install webpack --save-dev cs root에서 webpack.base.conf.js 파일을 만듭니다. 그리고 넣습니다. 그리고 부분에 만 붙여서 쓰면 적용시킬 수 있습니다. ^*^ 1 2 3 4 5 6 { test: /.s[a|c]ss$/, loader: 'style!css!sass' } cs 너무 획기적이야..흥흥
ISSUE02 :: Vue.js AXIOS 415 error
ISSUE02 :: Vue.js AXIOS 415 error
2020.02.05Spring boot 에서 restful로 통신하는데 415 error 가 발생하는 경우가 있습니다. 이 에러가 발생한 이유는 response로 받아오는 headers 에 `Content-Type` 이 `application/json` 이 아니기 때문입니다. - google chrom network 를 보면 확인해보실 수 있습니다. 따라서 문제를 해결하기 위해서는 1 2 3 4 5 6 7 let options = { headers: { 'Content-Type': 'application/json' } , url: '/localhost:8080' , method: 'post' , data: JSON.stringify(arr) } let response = await axios(options) cs 작성 해..
Module01 :: Vue.js에서주소와 장소 찾는 모달 구현하기
Module01 :: Vue.js에서주소와 장소 찾는 모달 구현하기
2020.02.04처음 페이지를 실행할때 전체 address를 받아옵니다. this .$store .dispatch('FETCH_ADR', this.address) FETCH_ADR({commit}, address){ //google 에서부터 음식점 주소를 FETCH 해옴 api.requestFetchAdrData({commit},address).then( response => { var jadrAry = new Array(); var jloclatAry = new Array(); var jloclngAry = new Array(); var jnaAry = new Array(); var jphoReAry = new Array(); var aJsonArray = new Array(); var aJson = new Objec..
ISSUE01 :: AXIOS 통신 중 CORS(Cross Origin Resource Sharing) 발생 시
ISSUE01 :: AXIOS 통신 중 CORS(Cross Origin Resource Sharing) 발생 시
2020.02.04Google Place API 를 쓰던 도중에 Vue.js 에서 Spring boot 연동된 상태였는데, 기존에 통신하고 있는 port와 다른 google과 cross 통신하려고 해서 발생했던 문제였습니다. 이를 해결하기 위해서 AXIOS Url 앞에 https://cors-anywhere.herokuapp.com/을 사용하였습니다.
SSATUBE04 :: git branch -d <BRANCH>: Fatal - Couldn't look up commit object for HEAD
SSATUBE04 :: git branch -d <BRANCH>: Fatal - Couldn't look up commit object for HEAD
2019.12.25git branch -d : Fatal - Couldn't look up commit object for HEAD 문제가 발생했을 때 git branch -D 를 사용합니다.
SSATUBE03:: dev 2019.12.12 - 개발 공부
SSATUBE03:: dev 2019.12.12 - 개발 공부
2019.12.14Javascript JS 는 브라우저에 내장되어 있다. JS를 이용해서 서버를 만들 수 있고 웹 스크랩터를 이용해서 웹 크롤링도 가능하게 한다. 브라우저 밖으로 꺼내서 사용한다. JS를 이용해서 브라우저와 별도로 작동하는것을 만든다 Node.js다. node.js는 철저하게 es6기반 JS 가 비동기로 동작하기 때문에 실시간처리가 가능하다. 내 경우 MAC이라 1.3 installing nodejs Brew update node 실행 했다. Node -v 로 하면 버전 표시가 나온다. 서버를 만들어보자. 서버란 컴퓨터다. 소프트웨어적 서버 = 인터넷에 연결된 덩어리 코드 물리적인 컴퓨터 = 공개적인 컴퓨터 접속 요청에 응답하는 컴퓨터이다. 서버란 접속을 받아주는 무언가다. 접속을 Listen 하고 있습니..
SSATUBE02 :: dev 2019.12.13 - @babel/core,
SSATUBE02 :: dev 2019.12.13 - @babel/core,
2019.12.14#issue “code .” Not working in Command Line for Visual Studio Code on OSX/Mac => https://stackoverflow.com/questions/29955500/code-not-working-in-command-line-for-visual-studio-code-on-osx-mac, 부팅 이후 매번 path를 install 해야 하나보다. #issue Error: Cannot find module '@babel/core' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) =>npm install @babel/core 로 해결 혹시 아래것이 없어서 발생할 수 ..