Categories

## A little utility to open a terminal at a …

A little utility to open a terminal at a folder in Nautilus

Install nautilus-open-terminal.

nautilus-open-terminal : terminal quick launch

Categories

## 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

Categories

## 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)

Categories

## 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
Disclaimer of warranty

Categories

gdb tutorial

Categories

## 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

Categories

## 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")