-
Select random contents from a file Sort sort…
Lazdynai Select random contents from a file Sort sort -R infile | head -n 3000 Perl perl -n -e ‘print if (rand > 0.1)’ infile
-
Process multiple files in a directory by Makefile…
acutely Process multiple files in a directory by Makefile. SOURCES := $(wildcard *_conversion.txt) TARGETS := $(patsubst %_conversion.txt, %_uniq.txt, $(SOURCES)) .PHONY: all all: $(TARGETS) %_uniq.txt: %_conversion.txt > command $< > $@
-
scatter plot equivalent to pairs by ggplot http…
scatter plot equivalent to pairs() by ggplot. http://stackoverflow.com/questions/3735286/pairs-equivalent-in-ggplot2 Hadley recommends using the GGally package instead. It has a function, ggpairs that is a vastly improved pairs plot (lets you use non-continuous variables in your data frames). It plots different plots in each square, depending on the variable types:
-
Probability density function in R http www cyclismo…
Probability density function in R http://www.cyclismo.org/tutorial/R/probability.html Chi square goodness-of-fit test in R http://ww2.coastal.edu/kingw/statistics/R-tutorials/goodness.html Chi square independence test in R http://ww2.coastal.edu/kingw/statistics/R-tutorials/independ.html ANOVA in R http://personality-project.org/r/r.anova.html
-
Use Inkscape as a command line tool to…
Use Inkscape as a command line tool to batch convert svg to pdf files. ls *svg | xargs -I{} inkscape -z -f {} -A {}.pdf
-
Display file system status in Unix stat
Display file system status in Unix stat
-
Catalogue inspiration
Catalogue inspiration
-
Make the figure caption bold or customize by…
Make the figure caption bold or customize by Caption package. http://tex.stackexchange.com/questions/3276/caption-is-bold-can-i-have-part-of-it-not-bold?rq=1 http://tex.stackexchange.com/questions/32459/figure-how-to-have-figure-1-5-in-bold
-
Recommended popular LaTeX packages 1 9 Essential packages…
Recommended/popular LaTeX packages. 1. 9 Essential packages. http://www.howtotex.com/packages/9-essential-latex-packages-everyone-should-use/ 2. 10+ packages. http://blog.analogmachine.org/2011/05/16/top-10-latex-packages/ 3. Discussion in TeX StackExchange forum. http://tex.stackexchange.com/questions/553/what-packages-do-people-load-by-default-in-latex
-
Figure out LaTeX symbol commands by drawing the…
Figure out LaTeX symbol commands by drawing the symbol. detexify: draw a symbol, get the LaTeX command