Skip to content

Instantly share code, notes, and snippets.

@greglandrum
greglandrum / issue_import.py
Created May 30, 2013 03:40
import issues from one github repo to another
#!/usr/bin/python
"""
Import Github issues from one repo to another.
The orignal work: https://github.com/mkorenkov/tools/blob/master/gh-issues-import/gh-issues-import.py
(assuming public domain license).
Used to migrate Github's Plone Conference 2012 temporary repository
to collective.developermanual issues.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@greglandrum
greglandrum / gist:8501410
Created January 19, 2014 06:56
RDKit MaxMinPicker example
//
// Copyright (C) 2014 Greg Landrum
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
/*
Can be built with:
@greglandrum
greglandrum / Multiconf Alignment Bug.ipynb
Created November 15, 2014 05:34
Multiconf Alignment Bug
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / bootstrap.sh
Last active November 29, 2015 10:36
vagrant provisioning file to set a lucid64 box up to be able to build the RDKit java wrappers.
#!/usr/bin/env bash
apt-get update
apt-get install -y python-software-properties software-properties-common
apt-get install -y build-essential gcc-4.1 g++-4.1 sqlite3 openjdk-6-jdk openjdk-6-jre libpcre3 libpcre3-dev
add-apt-repository ppa:git-core/ppa
apt-get update
apt-get install -y git-core
if [ \! -e /usr/bin/cmake ]
then
@greglandrum
greglandrum / Vagrantfile
Created November 29, 2015 10:34
Files for configuring a trusty64 Vagrant box for building the RDKit Java and Python wrappers
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
//
// Copyright (C) 2016 Greg Landrum
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
/* Can be built with: