人 煙403 C++ Multi Platform Issues Little Endian & Big Endianstruct 의 경우 variable의 bit order 변경 뿐 아니라 variable의 순서도 바뀌게 된다. 따라서 아래와 같이 little endian에서 작성된 struct는 big endian machine 에서 역순으로 기술되어야 한다. 1234567891011121314struct _MULTI_PLATFORM_STRUCT { #ifdef _IS_LITTLE_ENDIAN_ // _IS_LITTLE_ENDIAN_ is a custom definition to explain the variable order unsigned int pos : 20; unsigned int weight : 5; unsigned int field : 2; unsigned .. 2014. 7. 1. Yeoman Troubleshooting 1. Error when “yo angular”"npm cache clean" and re-run the command “yo angular”123456789101112131415161718192021222324252627282930313233343536373839npm ERR! Error: ENOENT, lstat '/Users/finsternis/Documents/yeoman/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, .. 2014. 5. 30. Frequently used bash commands 자주 사용하는 Bash 명령어들을 정리해보았다.ArrayAssociative Array12345678910111213declare -A fullAddr # Create an associative array fullAddr[inc]=Incheon # Insert key,value to arrayfullAddr[sul]=Seoul # Insert key,value to array location=incecho "Address List : ${fullAddr[@]}"echo "Current Address : ${fullAddr[${location}]}" # export env by using the value of variable# (ex) export TEST_SRC=/home/myaccountprefix=.. 2014. 3. 31. Hadoop 1.2.1 Installation & Troubleshooting Installation Check the firewalls among servers. ( Recommended to open all ports among servers )Create same account( TEST_ACCOUNT ) to all servers.Create public key of TEST_ACCOUNT for each server. ( ssh-keygen )Authorize public key of TEST_ACCOUNT in master server to each slave server TEST_ACCOUNT so that master account can access each slave servers through ssh( FILE : $HOME/.ssh/authorized_keys.. 2014. 2. 3. 이전 1 ··· 8 9 10 11 12 13 14 ··· 101 다음