Skip to content

Instantly share code, notes, and snippets.

@rodw
rodw / backup-github.sh
Last active June 4, 2025 14:15
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
#-------------------------------------------------------------------------------
# NOTES:
#-------------------------------------------------------------------------------
# * User @jimklimov (and probably some others called out in the long comment
# thread below) have modified this script to make it more robust and keep
# up with various changes in the GitHub API and response format at:
# https://github.com/jimklimov/github-scripts
@arq5x
arq5x / acknowledgements.txt
Last active December 21, 2015 09:59
A collection of both popular and lesser known biographies, autobiographies and histories of scientific figures and their discoveries. Focused primarily on biology and genetics. This is largely a collection of responses to a query on twitter.
Thanks to @Adrian_H, @RoryKirchner, @genetics_blog,
@leonidkrugliak, @Graham_Coop, @yokofakun,
@pathogenomenick, @caseybergman, @Jalfoldi,
@Paul_R_Johnston, @gknoProject, @David_Dobbs,
@vsbuffalo, @robinhenig, @nccomfort,
@GholsonLyon, @notSoJunkDNA, @neilfws,
@rovingpencil, @rtraborn
In addition, please refer to Casey Bergman's collection of other books:
http://www.librarything.com/catalog/xylem&tag=genetics&collection=-1
@hubgit
hubgit / pmc-open-access-eutils.txt
Last active June 3, 2019 14:26
Useful URLs for working with the PMC Open Access Subset via EUtils
Search PubMed for articles in the PMC Open Access Subset for which free full text (i.e. XML) is available:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=xml&term=pubmed+pmc+open+access%5Bfilter%5D+AND+free+full+text%5Bfilter%5D
Find the PMCID for an article by PMID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=pmc&retmode=xml&linkname=pubmed_pmc&id=24191168
Fetch full text article XML from PMC by PMCID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3804407
A PMC article for which the full text XML is not available:
@ilevantis
ilevantis / bedtools_cheatsheet.md
Last active April 16, 2025 22:26
Bedtools cheatsheet

Bedtools Cheatsheet

General:

Tools Description
flank Create new intervals from the flanks of existing intervals.
slop Adjust the size of intervals.
shift Adjust the position of intervals.
subtract Remove intervals based on overlaps b/w two files.