Computer/linux
-
prepare to do very crazy thingComputer/linux 2011. 10. 20. 14:33
I am developing a customized RunControl (RC) GUI for the Qweak Experiment at JLab, because the standard RC GUI has a limited system resources and is a closed source. So I have been limited to add more features to make a simple and flexible GUI. The first attempt to ask them to provide a command line tools, at the first time, it look a quite promising, but after a quick and short test, it doesn't..
-
create a thumbnail by command lineComputer/linux 2011. 9. 27. 23:45
imagemagick can do almost everything ..... convert -thumbnail widthxheight a.png a.thumbnail.png convert -thumbnail 120 a.png a.thumb.png (width 120px) convert -thumbnail 120x120 a.png a.thumb.png (width/height 120px) convert -thumbnail x120 a.png a.thumb.png (height 120px)
-
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..
-
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..