git config

git 2018. 11. 15. 15:43


[diff]

    tool = meld

[difftool]

    prompt = false

[difftool "meld"]

    cmd = meld "$LOCAL" "$REMOTE"

[merge]

    tool = meld

[mergetool "meld"]

    # Choose one of these 2 lines (not both!) explained below.

    cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"

    # cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"

[gui]

encoding = utf-8

[guitool "branch list"]

cmd = git branch

[guitool "fetch"]

cmd = git fetch

[guitool "gitk"]

cmd = gitk --all

noconsole = yes

[guitool "pull"]

cmd = git pull

[guitool "set upstream"]

cmd = git branch --set-upstream-to=origin/$ARGS $ARGS

argprompt = yes

[guitool "stash apply"]

cmd = git stash apply $ARGS

noconsole = yes

argprompt = yes

[guitool "stash drop"]

cmd = git stash drop $ARGS

noconsole = yes

argprompt = yes

[guitool "stash list"]

cmd = git stash list

[guitool "stash save"]

cmd = git stash save

noconsole = yes





블로그 이미지

영스파파

3D 세상을 만들기 위한 프로그래밍 정보들을 정리하는 공간

,

Nano 빌드

블럭체인 개발 2018. 9. 20. 16:14

git clone https://github.com/nanocurrency/raiblocks.git

git checkout releases/v14

git submodule update --init --recursive

CMake에 RAIBLOCKS_SIMD_OPTIMIZATIONS 체크

CMake Generator


node project에 Source Files에 bootstrap_weights.cpp 파일 추가

bootstrap_weights.cpp 에서 namespace 제거

node.cpp 에서 rai_bootstrap_weights 변수에 unsigned 추가, const 제거

node.cpp 에서 rai_bootstrap_weights_size 변수에 const 제거

솔루션 빌드


rai_node 프로젝트를 시작 프로젝트로 설정



'블럭체인 개발' 카테고리의 다른 글

이더리움 개발  (0) 2018.03.09
블로그 이미지

영스파파

3D 세상을 만들기 위한 프로그래밍 정보들을 정리하는 공간

,

Go channel 테스트 코드

GoLang 2018. 9. 20. 14:45

package main


import (

"fmt"

"time"

)


func main() {

c1 := make(chan string, 1)

go func() {

time.Sleep(time.Second * 5)

c1 <- "result 1"

}()


fmt.Println("1")


select {

case res := <-c1:

fmt.Println(res)

case <-time.After(time.Second * 3):

fmt.Println("timeout 1")

}


c2 := make(chan string, 1)

go func() {

time.Sleep(time.Second * 5)

c2 <- "result 2"

}()


fmt.Println("2")


select {

case res := <-c2:

fmt.Println(res)

case <-time.After(time.Second * 10):

fmt.Println("timeout 2")

}

}



'GoLang' 카테고리의 다른 글

Go Slice 테스트 코드  (0) 2018.09.20
블로그 이미지

영스파파

3D 세상을 만들기 위한 프로그래밍 정보들을 정리하는 공간

,