My Personal Info

Homepage

Technical Tips

  • the sizeof() information
N-bit machine void* char int unsigned int long unsigned long long long unsigned long long float double long double
32 4 1 4 4 4 4 8 8 4 8 12
64 8 1 4 4 8 8 8 8 4 8 16

  • how to (re)start ssh server: sudo /etc/init.d/ssh restart
  • how to output a single LLVM bitcode file:
    llvm-gcc -O4 -c xxx1.c -o xxx1.bc
    llvm-link xxx1.bc xxx2.bc ... -o yyy.bc
    opt -std-link-opts yyy.bc -o zzz.bc
  • run matlab without gui: matlab -nodesktop, then input run SCRIPT in the matlab console.
  • run SPEC CPU2006 workloads: source cshrc; runspec 462.libquantum -i test
  • redirect stdout and stderr to different files in C shell: (prog > output) >& errors
  • llvm build debug version: gmake ENABLE_OPTIMIZED=0
  • llvm control flow graph generation: llvm-as < XXX.ll | opt -analyze -view-cfg; dot -Tps2 YYY.dot >YYY.ps; ps2pdf haha.ps.
  • use etags to do tagging recursively: find . -name "*.[chCH]" -print | etags -
  • use screen command: screen (create a screen); ctrl+a d (detach the screen); screen -r (get a screen back); screen -list (show all available screens)
  • check disk usage: du -h --max-depth=1
  • set SMTP server for Thunderbird: Edit -> Account Settings -> Outgoing Server (SMTP), set Server Name to smtp.gmail.com, select use name and password, input your gmail address, do NOT use secure authentication, set Connection security to SSL/TL
  • GPU Computing in URCS
  • How to create an Eclipse project with existing code
  • Mercurial: The Definitive Guide
  • C++ Programming Style Guidelines
  • MPI Tutorial
  • Linux Shell Scripting Tutorial
  • JikesRVM
Edit | Attach | Watch | Print version | History: r29 | r24 < r23 < r22 < r21 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r22 - 2011-03-03 - XiaomingGu
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback