添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • How to read unix environment variables
  • Abort (timeout) after N seconds?
    In Linux with tsch, eg for 10 seconds: limit cputime 10
  • UNIX: Remove a file with a name starting with - character. Eg filename is -v rm ./-v See rm --help . NB a file called -v in a directory can mess up grep when using wild cards on grep's command line.

  • How do I find my _SC_PAGESIZE system page size? getconf PAGESIZE
  • Emerald LSF
  • clean up and look up DOI
  • Convert internet address ipv4 to country
  • Unix GraphicsMagick-1.3.17 and AVI
  • OpenCV 2.4.3 failed to read AVI files under unix . cmake problems
  • video.google.co.uk dead
  • gawk fatal: `\p\P\o\p\S\i\z\e\' is not a legal variable name comment problems
  • nvcc error : 'ptxas' died due to signal 24
  • NiftyReg install: follow http://www.cs.ucl.ac.uk/staff/M.Modat/Marcs_Page/install.html but ensure you use at least ccmake 2.8, e.g. /usr/opt/cmake/2.8.3/bin/ccmake Remember to set CMAKE_INSTALL_PREFIX
  • How fast is my CPU? Look in /proc/cpuinfo And how much memory? Look in /proc/meminfo In a C program at runtime, how can I find out the clock frequency of the core it is running on? Find current cpuid and look in /proc/cpuinfo WARNING: Some cpuid() information is static. (See base_max_frequency.c ). On modern Intel multi-core servers individual core's clock speed vary rapidly. Mostly Intel's EAX reports static information.

  • CUDA runtime unknown error.
  • CUDA compile time error: incomplete type is not allowed , shared memory , ptxas error , no __ldg
  • glibc
  • gnuplot tips
  • How to disable yellow popup box in gmail when using firefox
  • How to strip comments from C code using (see 23 March 2014 near bottom).
  • how to find symbols in libc.so? nm libc*
  • (unsolved) Failure of MSF Radio Controlled HD-1688 Sheng-Bang Wall Clock so that it runs continuously and never sets the time. Radio Controlled Oregon Scientific starts to fail to set time from radio broadcast. Without radio time signal clock drifts quite quickly from true time. Lots of chat on the internet (including the National Physical Laboratory NPL) saying radio clocks can lose their signal, eg inside buildings. Clock had not been moved, so why signal loss? It seems the answer is interference from broadband WiFi internet router. When placed 11 meters from new router, after a while clock picks up radio signal and synchronises.

  • How to disable JavaScript in FireFox 24.5.0? Enter about:config in URL tool bar. Find java , double click javascript.enabled true so that it becomes false . Now does anyone know how to turn off the point-less tool tip animations in DBLP?
  • BWA [infer_isize] fail to infer insert size: too few good pairs
    Did you try and align human DNA against the yeast genome?
  • error: 'for' loop initial declaration used outside C99 mode
    Add -std=gnu99 to gcc command line.
  • error: _mm512_cmpneq_ps_mask was not declared in this scope
    In the GNU C compiler g++ 8.3.1 AVX Intel intrinsics include library avx512fintrin.h _mm512_cmpneq_ps_mask is only defined if __OPTIMIZE__ is define. Hence problem can occur when try to compile for debug without optimisation . Work around is to take copy of _mm512_cmpneq_ps_mask from avx512fintrin.h
  • xfig export any image causes xfig to abort with status code 2
    Is /tmp/ full?
  • gimp Scanjob_20140723_113245.pdf fails saying GIMP Message Opening 'file name' failed: Plug-In could not open image

    Possible Work Around
    Convert the file from pdf to postscript, eg pdftops Scanjob_20140723_113245.pdf Scanjob_20140723_113245.ps

  • Use gimp to add transparency to an existing PNG Select area (eg white border). Use menu Layer | Transparency | Color to Alpha
    Based on

  • How do I merge png and eps Use gimp.
    Scale .png, eg using ImageMagick convert, to be same size as .eps %%BoundingBox:
    In gimp open backgound PNG file first.
    Then open encapsulated postscript file as layer.
    Export combined image.

  • ImageMagick's convert -transparent white fails to create transparent gif. Many gif's with white backgrounds are not exactly "white". The following will work if the GIF contains only one shade of white as background colour, unfortunately scans often have multiple RGB values for the background colour. Try and see how well it works for your image. xv 's colour map will show you actually what RGB value it has. Alternatively Wikipedia suggests the GIF colour map ends at byte (hex) 30A--30C. hexdump -c gives the bytes in octal. hexdump -c silver_humie_2014.gif2 | more 0000300 377 377 376 364 374 377 373 377 375 377 376 377 374 Convert 0376 0377 0374 to hex. Eg: gawk 'END{printf "#%x%x%x\n", 0376, 0377, 0374}' /dev/null and then use with convert -transparent . convert x2.gif -transparent #fefffc x3.gif
  • How do I get rid of left margin indentation in LaTeX verbatim environment? \setlength{\verbatimindent}{0pt} before \begin{verbatim} (it also seems to work in figure and floating ).
  • How do I convert postscript to plain text? ps2ascii test.ps > test.txt
  • How do I print wide text files? a2ps -1 --landscape -l190 (see also man a2ps )
  • How do I extract pages from PDF?
    pdftk e.g.
    pdftk file.pdf burst
    pdftk file.pdf cat 1 3-23 output out.pdf
    To join PDFs pdftk pg_0001.pdf pg_0002.pdf cat output out.pdf

    pdftops followed by psselect . psselect -p1,3,5,7 Scan_to_USB_74_20151112_125528.ps > t.ps Other PDF hints

  • Uploading bibtex into RPS ! Package natbib Error: Bibliography not compatible with author-year citations. (natbib) Press to continue in numerical citation style. See the natbib package documentation for explanation. Type H for immediate help. l.210 ...and\NAT@force@numbers{}\NAT@force@numbers Perhaps one of your bibtex entries does not have a year? Perhaps add year as n.d. ? Perhaps missing comma before year in \bibitem[] ?
  • Solutions to problems with C code
  • Solutions to problems with GDB
  • Solutions to problems with Clang
  • Solutions to problems with acmart.cls
  • No solution to problems with CoolProp
  • Solutions to problems with Open Babel
  • Solutions to problems with bloa magpie
  • Solutions to problems with perf run time library
  • Solutions to problems with shoco compression
  • Solutions to problems with JavaScript
  • problems with PROJ4
  • Linux FireFox 91.2 not playing sound on videos
  •