Category: status

  • Bibliography style repository with previ …

    Bibliography style repository with preview

    This site has collection of over 1000 citation styles (over 300 unique styles) that can be used in Zotero, Mendeley, or Papers.
    The great thing about this site is the styles can be searched by fields and format such as biology and author-date.
    Unfortunately, I haven’t found the way to use it with LaTeX, yet.

    http://www.zotero.org/styles

  • Connecting PostgreSQL from R using RdbiP …

    Connecting PostgreSQL from R using RdbiPgSQL

    library(RdbiPgSQL)
    conn <- dbConnect(PgSQL(), host="localhost", dbname="my_database", user="my_user", password="my_secret_password")
    res <- dbSendQuery(conn, "select * from prices where item_id = 29")
    mydata <- dbGetResult(res)
    ...
    dbDisconnect(conn)
    
  • Usage of perlpod Suggested by Damian Co …

    Usage of perlpod
    Suggested by Damian Conway in Perl Best Practices.

    Name
    Usage
    Description
    Required arguments
    Options
    Exit status
    Diagnostics
    Configuration
    Dependencies
    Incompatibilities
    Bugs and limitations
    Author
    License and copyright
    Disclaimer of warranty
    
  • gdb tutorial http://www.unknownroad.c …

    gdb tutorial

    http://www.unknownroad.com/rtfm/gdbtut/gdbtoc.html

  • Setting the width of a column to make th …

    Setting the width of a column to make the text wrapped in LaTeX.

    \begin{center}
        \begin{tabular}{ | l | l | l | p{5cm} |}
        \hline
        Day & Min Temp & Max Temp & Summary \\ \hline
        Monday & 11C & 22C & A clear day with lots of sunshine.  
        However, the strong breeze will bring down the temperatures. \\ \hline
        Tuesday & 9C & 19C & Cloudy with rain, across many northern regions. Clear spells
        across most of Scotland and Northern Ireland,
        but rain reaching the far northwest. \\ \hline
        Wednesday & 10C & 21C & Rain will still linger for the morning.
        Conditions will improve by early afternoon and continue
        throughout the evening. \\
        \hline
        \end{tabular}
    \end{center}
    

    from http://en.wikibooks.org/wiki/LaTeX/Tables#Text_wrapping_in_tables

  • Read text file into R as a character vec …

    Read text file into R as a character vector.

    genome.sequence <- scan(file = sequence.file, what = "character")

  • LaTeX version control todonotes http …

    LaTeX version control

    ce lien hypertexte todonotes

    http://midtiby.blogspot.com/2008/07/todonotes-version-2008-07-28.html

    Todo notes
    Todo notes

    Good for leaving comments.
    Image placeholder.

    Site Internet trackchanges

    http://trackchanges.sourceforge.net/index.html

    track changes
    Track changes footnote
    Track changes inline
    track changes margins
    Track changes margins

    Margin, footnote, inline options to display the changes.
    GUI to accept changes. Python installation is required.

    vous pouvez regarder ici changes

    http://www.ctan.org/tex-archive/macros/latex/contrib/changes

    changes
    Changes inline
    changes options
    Changes draft options

    Draft and final options. Easy to make final output without running another utility or scripts.

    latexdiff

    http://www.pppl.gov/~hammett/comp/tex/latexdiff.html

    latex diff
    LaTeX Diff output

    Edit the LaTeX source file without extra tags so the source remains clean.
    This Perl script generates another LaTeX file for review.
    Perl installation is required.

  • Using rsync to sync files rsync avh source…

    Using rsync to sync files.

    rsync -avh source_folder/ target_folder/
    
    • -a: archive mode
    • -v: verbose
    • -h: human readable

    Additional options

    • -u: update only (preserve newer files)
    • -H: preserve the hard link
    • –progress: shows progress
    • -n: dry run (without actual copying)

    By the way, “/home/user/dir/” and “/home/usr/dir” are not the same thing to rsync. Without the final slash, rsync will copy the directory in its entirety. With the trailing slash, it will copy the contents of the directory but won’t recreate the directory.

    For more explanations, check this nice post.

    http://www.linux.com/news/enterprise/storage/8200-back-up-like-an-expert-with-rsync

  • R graph by examples http://rgraphics.li …

    R graph by examples
    http://rgraphics.limnology.wisc.edu/index.php

  • functions depending on the data types in …

    functions depending on the data types in R
    [table id=1 /]