Skip to content

Instantly share code, notes, and snippets.

"""Set all repositories of a given GitHub organization name for a given user
to watching.
"""
import argparse
import json
import requests
import os
@msarahan
msarahan / DependencyGraphs.ipynb
Last active November 21, 2023 12:59
graphs from conda repodata.json
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.
Domino Python 3.6 image
+-------------------------+----------+-------------------------------+--------------------------------+
| Benchmark | pip3 | anaconda3 | intel3 |
+=========================+==========+===============================+================================+
| 2to3 | 1.11 sec | not significant | 1.63 sec: 1.46x slower (+46%) |
+-------------------------+----------+-------------------------------+--------------------------------+
| chameleon | 46.1 ms | 22.8 ms: 2.02x faster (-50%) | 54.7 ms: 1.19x slower (+19%) |
+-------------------------+----------+-------------------------------+--------------------------------+
| chaos | 484 ms | 251 ms: 1.93x faster (-48%) | 610 ms: 1.26x slower (+26%) |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
@msarahan
msarahan / compile_baggageclaim_log
Created September 1, 2017 20:52
Compile baggageclaim standalone binary
[root@d350a9013fe3 build_scripts]# wget https://storage.googleapis.com/golang/go1.9.linux-386.tar.gz
[root@d350a9013fe3 build_scripts]# tar -xf go1.9.linux-386.tar.gz
[root@d350a9013fe3 build_scripts]# export GOPATH=${PWD}/baggageclaim/
[root@d350a9013fe3 build_scripts]# export GOROOT=${PWD}/go
[root@d350a9013fe3 build_scripts]# git clone https://github.com/concourse/baggageclaim
Cloning into 'baggageclaim'...
remote: Counting objects: 1999, done.
remote: Total 1999 (delta 0), reused 1 (delta 0), pack-reused 1998
Receiving objects: 100% (1999/1999), 433.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1278/1278), done.
[
{
"basename": "osx-64/pygeogrids-0.2.3-py36_0.tar.bz2",
"data": [
{
"keyname": "570e9196878cc60a5b0434be/58eb457ffe2ee046e7fff201",
"id": "58eb457ffe2ee046e7fff201",
"md5": "561d5205f979365df3e6d809cdb4903d",
"time": "2017-04-10T08:42:40.025000+00:00"
},
ipdb>
> z:\msarahan\code\conda-build\conda_build\environ.py(688)get_install_actions()
687 try:
--> 688 actions = install_actions(prefix, index, specs, force=True)
689 except NoPackagesFoundError as exc:
ipdb> specs
(MatchSpec('vs2015_runtime 14.0.25420.*'), MatchSpec('wheel 0.29.0.*'), MatchSpec('pip 9.0.1.*'), MatchSpec('lib1intradependencies 1.0.*'), MatchSpec('setuptools 27.2.0.*'), MatchSpec('python 3.6.0.*'))
ipdb> n
> z:\msarahan\code\conda-build\conda_build\environ.py(728)get_install_actions()
@msarahan
msarahan / conda-build-3-demo.ipynb
Last active May 17, 2017 15:41
Conda-build 3 demo notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@msarahan
msarahan / config
Created April 5, 2017 20:41
config
#
# Automatically generated file; DO NOT EDIT.
# Crosstool-NG Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_xz=y
CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
CT_MODULES=y