Tuesday, September 30, 2014
List of journal names' abbreviations (one among others...)
http://www.lib.berkeley.edu/BIOS/j_abbr.html
Saturday, September 27, 2014
bibtex tricks
description of format: http://www.bibtex.org/Format/
trees locations: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=what-TDS
trees locations: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=what-TDS
Friday, September 26, 2014
perl multiple "or" statements
Apparently in perl, multiple "or" are synced if the result is used in a replacement. E.g.:
s/(a|b)some_text(x|y)/\1new_text\2/g
will only find and replace
a(some_text)x
b(some_text)y
and no permutations of these !
s/(a|b)some_text(x|y)/\1new_text\2/g
will only find and replace
a(some_text)x
b(some_text)y
and no permutations of these !
Thursday, September 25, 2014
bring emacs closer to your bash shell
Environment variables:
http://stackoverflow.com/questions/9663396/how-do-i-make-emacs-recognize-bash-environment-variables-for-compilation
Autocompletion:
https://github.com/szermatt/emacs-bash-completion
http://stackoverflow.com/questions/9663396/how-do-i-make-emacs-recognize-bash-environment-variables-for-compilation
(let ((path (shell-command-to-string ". ~/.bashrc; echo -n $PATH")))
(setenv "PATH" path)
(setq exec-path
(append
(split-string-and-unquote path ":")
exec-path)))
Autocompletion:
https://github.com/szermatt/emacs-bash-completion
(autoload 'bash-completion-dynamic-complete
"bash-completion"
"BASH completion hook")
(add-hook 'shell-dynamic-complete-functions
'bash-completion-dynamic-complete)
(add-hook 'shell-command-complete-functions
'bash-completion-dynamic-complete)
ImageJ stdev
The standard deviation function in ImageJ (1.47v tested) is computing the sample standard deviation (divided by N-1).
Subscribe to:
Posts (Atom)