Skip to content

Instantly share code, notes, and snippets.

View cfriedline's full-sized avatar

Chris Friedline cfriedline

View GitHub Profile
{
"metadata": {
"name": "",
"signature": "sha256:08fbbaacbb2f7ed6a72dbda30b0539a89fe5f1e1bb540c869d19c9976d4feba8"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@cfriedline
cfriedline / gist:42a16abfa4393a364d66
Last active August 29, 2015 14:02
code for IPython ipcluster ssh host list in ipcluster_config.py
import subprocess
qhost = subprocess.check_output(["qhost"])
host_dict = {}
for elem in qhost.split("\n"):
if 'godel' in elem:
data = elem.split()
host = data[0]
cpu = int(data[2])
if cpu > 8:
host_dict[host] = cpu
-rw-rw-r-- 1 cfriedline cfriedline 462969 Jun 13 16:13 snp_calling.ipynb
-rw-rw-r-- 1 cfriedline cfriedline 9651811244 Jun 13 16:12 store.h5
{
"metadata": {
"name": "",
"signature": "sha256:0d945e3af4321846bc634bd26d0b5510f02df4d8b749db49ace3f7b88a913e57"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:bc90adee1b70109c60e4cf9accb82fd4c44c3b7d2319687d80501a95605340bb"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@cfriedline
cfriedline / gist:0b2f5ab92aec3f5bf0dc
Last active August 30, 2020 01:54
WIP: Migrating from Sente 6 to Papers 3 via Endnote XML export

#This is a work in progress: YMMV (I'm working on an AppleScript supplement, so stay tuned...)

Migrating from Sente 6 to Papers3 via Endnote XML export

This process will export all of the references from Sente to an EndNote XML library suitable for import into Papers3. With a little shell magic, it will also set up the PDFs

Export

@cfriedline
cfriedline / gist:3b55323a5cc695eadede
Last active August 29, 2015 14:04
Workflow for importing a foreign library to Papers3

#Workflow for importing a foreign library to Papers3

the idea is to write down workflow ideas and their features/flaws using the AppleScript API in papers 3.

##Starting material

  1. exported bib or xml from Sente
  2. a directory of PDFs in the Sente/Contents/Attachments directory
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.