Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jjhelmus
jjhelmus / update_token.py
Created August 14, 2017 23:38
Python script to update the Anaconda upload token in conda-forge feedstocks
from __future__ import print_function
import os
import requests
import ruamel.yaml
with open(os.path.expanduser('~/.conda-smithy/circle.token'), 'r') as fh:
circle_token = fh.read().strip()
diff --git a/tensorflow/contrib/cmake/external/gemmlowp.cmake b/tensorflow/contrib/cmake/external/gemmlowp.cmake
index eee61ff..436b5d1 100644
--- a/tensorflow/contrib/cmake/external/gemmlowp.cmake
+++ b/tensorflow/contrib/cmake/external/gemmlowp.cmake
@@ -15,7 +15,7 @@
include (ExternalProject)
set(gemmlowp_URL http://github.com/google/gemmlowp/archive/a6f29d8ac48d63293f845f2253eccbf86bc28321.tar.gz)
-set(gemmlowp_HASH SHA256=75d40ea8e68b0d1644f052fffe8f14a410b2a73d40ccb859a95c0578d194ec26)
+set(gemmlowp_HASH SHA256=1e40863d9f15dd6b15f8f18f49c500944be6118d9fe17e9dc58a1c709cadbb8a)
FROM centos:6
RUN yum install -y \
bzip2 \
curl \
git \
yum clean all
RUN cd ~ && \
git clone https://github.com/conda/conda && \
@jjhelmus
jjhelmus / plot_polar_bokeh.py
Created April 14, 2014 02:10
Plotting Polar data with Bokeh
# Plot polar data using Bokeh
# Author: Jonathan J. Helmus
import numpy as np
from bokeh.plotting import *
# Data in polar coordinates
azimuths = np.linspace(0, 2 * np.pi, 20)
ranges = np.array([2, 4, 6, 8])
(orange) ~$ conda --version
conda 4.5.11
(orange) ~$ conda list
# packages in environment at /home/jhelmus/anaconda3/envs/orange:
#
# Name Version Build Channel
ca-certificates 2018.03.07 0 defaults
libedit 3.1.20170329 h6b74fdf_2 defaults
libffi 3.2.1 hd88cf55_4 defaults
libgcc-ng 8.2.0 hdf63c60_1 defaults

Conda packages contain a metadata file (index.json) which provides information about the package and the software contained within. The metadata for all packages within a channel are combined into a single json file (repodata.json) which is used by conda for package discovery and to resolve and verify dependencies when a package is installed or removed from an environment.

Unfortunately, the metadata contained within a package may be incorrect, either because of a mistake made when the package was created or because new information makes the original metadata incomplete.

#! /usr/bin/env python
import argparse
import os
import re
def parse_args():
parser = argparse.ArgumentParser(description="Submit c3i one-off job(s)")
parser.add_argument(
Microsoft (R) COFF/PE Dumper Version 14.16.27032.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file libssh2.dll
File Type: DLL
Section contains the following exports for libssh2.dll
<CVE ID>:
- reviewer: <your github name>
date: 2020-08-05
comment: >
Explanation of your determinations and why,
using R1, R2, etc. to point to the References section.
affected:
- fizzbuzz<0.11.1
unaffected:
- fizzbuzz>=0.11.1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.