Skip to content

Instantly share code, notes, and snippets.

View cve_template.yaml
<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
View libssh2_182_exports.txt
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
View cof.py
#! /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(
View gist:96a5183c13db17d67386ecb2b122ddbf
(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
View Dockerfile
FROM centos:6
RUN yum install -y \
bzip2 \
curl \
git \
yum clean all
RUN cd ~ && \
git clone https://github.com/conda/conda && \
View gemmlowp_hash.patch
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)
View conda_update_spec.md

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.

@jjhelmus
jjhelmus / update_token.py
Created Aug 14, 2017
Python script to update the Anaconda upload token in conda-forge feedstocks
View update_token.py
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()
View prefix_packages.json
["alembic", "anaconda-client", "anaconda-verify", "antispoofing.utils", "antlr", "arm_pyart", "artview", "atom", "auditwheel", "autoconf", "automake", "autopep8", "avro", "awscli", "babel", "bdw-gc", "binutils", "bison", "bob.ap", "bob.bio.base", "bob.bio.face", "bob.bio.gmm", "bob.blitz", "bob.core", "bob.db.avspoof", "bob.db.base", "bob.db.iris", "bob.db.mobio", "bob.db.msu_mfsd_mod", "bob.extension", "bob.io.audio", "bob.io.base", "bob.io.image", "bob.io.matlab", "bob.io.video", "bob.ip.base", "bob.ip.color", "bob.ip.draw", "bob.ip.facedetect", "bob.ip.flandmark", "bob.ip.gabor", "bob.ip.optflow.hornschunck", "bob.ip.optflow.liu", "bob.learn.activation", "bob.learn.boosting", "bob.learn.em", "bob.learn.libsvm", "bob.learn.linear", "bob.learn.mlp", "bob.math", "bob.measure", "bob.sp", "bottle", "bottleneck", "cairo", "cairomm", "capnproto", "cartopy", "cc-plugin-glider", "cdo", "celery", "cell_tree2d", "cf_units", "cfchecker", "cgal", "check", "cherrypy", "circleci-helpers", "cis", "ciso", "ckanapi", "cloog
View find_short_prefix.py
#! /usr/bin/env python3
""" Find conda packages which use a binary prefix. """
import argparse
import bz2
import json
import os
import tarfile
import urllib.request