Skip to content

Instantly share code, notes, and snippets.

Leonardo Normando leonardonormando

  • eureka!
  • Brazil, Ceara, Fortaleza
Block or report user

Report or block leonardonormando

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@leonardonormando
leonardonormando / SILVA_walkthrough.R
Last active Jul 9, 2018 — forked from grabear/SILVA_walkthrough.R
Parsing .biom files with SILVA formatted annotations using phyloseq
View SILVA_walkthrough.R
# This functionality has been tested and a PR has been pulled with phyloseq here:
# https://github.com/joey711/phyloseq/pull/854
#
# While the function has been vetted, the maintainers are very busy and the PR has not
# yet been added to the main package. Below i've added some detail to explain how to parse
# your silva data. It's quite easy....
# Save the R script in a directory and source it
source("parse_silva_taxonomy_128")
View .screenrc-main-example
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
@leonardonormando
leonardonormando / export-to-csv.gs
Last active Mar 31, 2017 — forked from mderazon/export-to-csv.gs
Google apps script to export to individual csv files all sheets in an open spreadsheet
View export-to-csv.gs
// From http://stackoverflow.com/questions/1353684
// Returns 'true' if variable d is a date object.
function isValidDate(d) {
if ( Object.prototype.toString.call(d) !== "[object Date]" )
return false;
return !isNaN(d.getTime());
}
// Test if value is a date and if so format
// otherwise, reflect input variable back as-is.
You can’t perform that action at this time.