Skip to content

Instantly share code, notes, and snippets.

View igordot's full-sized avatar

igor igordot

  • New York University School of Medicine
  • New York, NY, USA
View GitHub Profile
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active July 11, 2024 21:37
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@mikelove
mikelove / accession2url.R
Created June 16, 2016 18:33
ENA accession to URL
accession2url <- function(x) {
prefix <- "ftp://ftp.sra.ebi.ac.uk/vol1/fastq"
dir1 <- paste0("/",substr(x,1,6))
dir2 <- ifelse(nchar(x) == 9, "",
ifelse(nchar(x) == 10, paste0("/00",substr(x,10,10)),
ifelse(nchar(x) == 11, paste0("/0",substr(x,10,11)),
paste0("/",substr(x,10,12)))))
paste0(prefix,dir1,dir2,"/",x)
}
@deannachurch
deannachurch / ExcelMangledGenes
Created March 13, 2015 15:23
List of symbols that excel 'datifies'
##Mar 13, 2015
##Some 'date-names' are aliases and map to more than one gene
#symbol date name
SEPT1 1-Sep
SEPT2 2-Sep
SEPT3 3-Sep
SEPT4 4-Sep
SEPT5 5-Sep
SEPT6 6-Sep
SEPT7 7-Sep