Skip to content

Instantly share code, notes, and snippets.

@msarahan
msarahan / AdminDeployment.xml
Created April 2, 2016 16:26
admin deployment for a C++ install of VS 2015 community from Chocolatey
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="default" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" />
<SelectableItemCustomizations>
<SelectableItemCustomization Id="TypeScriptV6" Selected="no" FriendlyName="TypeScript 1.7.6.0 for Visual Studio 2015 Update 1" />
<SelectableItemCustomization Id="VSUV1" Hidden="no" Selected="yes" FriendlyName="Visual Studio 2015 Update 1" />
<SelectableItemCustomization Id="VSUV1PreReqV1" Selected="yes" FriendlyName="Visual Studio 2015 Update 1 Prerequisite" />
<SelectableItemCustomization Id="MicroUpdateV1.2" Selected="yes" FriendlyName="Update for Microsoft Visual Studio 2015 (KB3110221)" />
<SelectableItemCustomization Id="WebToo
@msarahan
msarahan / build order - linux
Created April 23, 2018 19:40
AnacondaRecipesSync build order - linux
bzip2-feedstock
ncurses-feedstock
perl-feedstock
libedit-feedstock
sqlite-feedstock
zlib-feedstock
readline-feedstock
openssl-feedstock
tk-feedstock
libffi-feedstock
"""Set all repositories of a given GitHub organization name for a given user
to watching.
"""
import argparse
import json
import requests
import os
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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 *
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%) |
@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.