분류 전체보기
-
Crop a pdf file to reduce a page margin in LinuxComputer/linux 2011. 6. 23. 15:48
If a pdf file is very old, using acroread, convert(print) it to a ps file that can be opened with the emacs. For example, it is called "output.ps" gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite --dCompatibilityLevel=1.3 sOutputFile=out.pdf -c "[/CropBox [60 70 550 738] /PAGES pdfmark " -f output.ps The letter size is Pts (H 792 W 612) and I want to crop left 60, right 62, top 54, bottom 70 pt..
-
autoconf with ROOTComputer/linux 2011. 4. 13. 03:59
Makefile.am ACLOCAL_AMFLAGS = -I $ROOTSYS/build/misc AM_CPPFLAGS = $(DEPS_CFLAGS) AM_CFLAGS = $(LAYOUT_CFLAGS) bin_PROGRAMS = template template_SOURCES = main.cxx template_CXXFLAGS = @ROOTCFLAGS@ template_LDADD = -L@ROOTLIBDIR@ @ROOTGLIBS@ @ROOTLIBS@ @LIBS@ ${DEPS_LIBS} configure.ac AC_INIT([template c++], [0.0.1], [jhlee_at_jlab.org], [template], [http://www.jlab.org/~jhlee]) AC_PREREQ(2.59) AM..
-
48/2(9+3)Computer 2011. 4. 12. 08:22
우연히 신문 기사를 보다가 재밌기도 하고, 과연 유명한 어플리케이션들은 어떻게 계산 할찌 궁금하기도 하고 해서 돌려 봤다. 재미있는 결과기도 하고... ㅎㅎ Mathematica Mathematica 6.0 for Linux x86 (32-bit) Copyright 1988-2007 Wolfram Research, Inc. In[1]:= 48/2(9+3) Out[1]= 288 ROOT ROOT 5.26/00c (tags/v5-26-00c@34335, Jul 13 2010, 01:39:40 on linuxx8664gcc) CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008 Type ? for help. Commands must be C++ statemen..
-
Intel® Threading Building Blocks (Intel TBB) for Open SourceComputer/linux 2011. 3. 24. 15:17
Strange enough, I cannot find Install.txt in their source code which is downloaded from Intel TBB download. Anyway, Google it, so Google returns INSTALL.txt to me. But the explanation I found in INSTALL.txt is not valid for Open Source sources. I guess, they doesn't include install.sh script into Open Source version. Anyway, try to understand their directory structure. Then.... jhlee@coffee:~/pr..
-
GNU screenComputer/linux 2011. 3. 24. 01:00
screen -S jhlee -c .screenrc.jhlee type ctrl+c in order to create multiple or new window crtl-a d to detach screen [ou-qweak] ... 2 tcsh 3 tcsh 4 tcsh 5 tcsh 6 tcsh 7 tcsh 8 tcsh (9-tcsh) [2011/Mar/23 11:54] [detached] screen -ls There is a screen on: 23461.jhlee (Detached) 1 Socket in /var/run/screen/S-jhlee. screen -r 23461.jhlee to attach .screenrc or .screenrc.jhlee termcapinfo xterm|xterms|..