Skip to content

Instantly share code, notes, and snippets.

View danlamanna's full-sized avatar
🏠
Working from home

Dan LaManna danlamanna

🏠
Working from home
View GitHub Profile
@danlamanna
danlamanna / create-gh-pr.sh
Last active February 16, 2021 16:55
Create and merge a GH PR automatically
#!/usr/bin/env bash
set -euo pipefail
MERGE_WHEN_CHECKS_PASS=0
VIEW_IN_WEB=0
if ! [ -x "$(command -v gh)" ]; then
echo 'Error: gh is not installed.' >&2
exit 1
fi
@danlamanna
danlamanna / doc.md
Last active August 2, 2019 13:36
ingesting activities into stumpf

The way to ingest activities is to take the relevant json files from the m1-annotations repo and run a python script over them that uploads them to Stumpf.

To set this up on your machine you need a few things:

  • Python and pip (if running the command 'pip' or 'python -m pip' prints the help page, you're good)

  • The m1-annotations repo
    Typically you'll want to be on the latest version of master without uncommitted changes, since the files are going from your computer to Stumpf.

Transactions: 15130 hits
Availability: 100.00 %
Elapsed time: 29.31 secs
Data transferred: 11.62 MB
Response time: 0.13 secs
Transaction rate: 516.21 trans/sec
Throughput: 0.40 MB/sec
Concurrency: 68.93
Successful transactions: 15130
Failed transactions: 0
@danlamanna
danlamanna / Dockerfile
Created February 27, 2018 17:52
building caffe and packaging with fpm
FROM ubuntu:14.04
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev \
libhdf5-serial-dev protobuf-compiler libatlas-base-dev python-dev cmake git \
autotools-dev automake && apt-get install -y --no-install-recommends libboost-all-dev libboost-python1.55.0
RUN apt-get install -y python-pip
RUN pip install -U pip
RUN pip install numpy scikit-image protobuf
RUN apt-get install -y ruby ruby-dev gcc make
#!/bin/bash
set -e
. /usr/bin/virtualenvwrapper.sh
BASE_PATH="$HOME/projects/girder/prs"
GIRDER_GITHUB_URL="https://github.com/girder/girder"
readonly VENV_PREFIX="girder"
readonly PR="$1"
<Taylors1Swiftie> Picture: Brightness - 45, Contrast - 50, LBL - 0,
Blur Reduc - off, Color Temp - user mode
<Taylors1Swiftie> Pic Advanced: Pic MOde - standard, Display Mode -
Full, Smart Focus Size - off
<Taylors1Swiftie> user mode colors - 96R, 96G,97B
<Taylors1Swiftie> Picture: Reset Color - no, AMA - high, Instant Mode
- on, Sharpness - 5, Gamma - gamma 3
> nvidia settings?
<Taylors1Swiftie> brightness 50 contrast 50 gamma .8 digital vibrance
50 hue 0
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp3AgPVhRunyOcLVWKJ4CdF67/IDRe8RDlSg6YuD19awxoAv8Z6qAdBdU8Nk32ouacP8L1Jzxp1bHyMxwTkJQ4gO3PpkKlRS2WDaJBvGrnEIcoOu3sdhfgS6VRDqg4or2F+UW+zkwsiMGnhtYCOtfPctDe9KZoB9D7FOxO1tGQ0F1k2hYSUdGyN0URsgeo+Lk6sH45bjcRS8aSSLDhzwW38tm4dU9GLZNQHd+z+OZPfVBgVJ4XzBZaXTKPDg5+ghoxuWjM2w7VWhxl/TNF9bIW9sLi+ydA/ZLSsoTCUzc9+A2qJQqvB+pJDBPEde3/KGXlI9Xd1+0JjysxVECMNYmT dan@sateda
<?xml version="1.0" encoding="UTF-8"?>
<Site BuildName="ansible-tests-master"
BuildStamp="20160923-0500-Nightly"
Name="genii.kitware"
Generator="ctest-3.5.20160329-gb076d"
CompilerName=""
CompilerVersion=""
OSName="Linux"
Hostname="genii"
OSRelease="4.6.7-300.fc24.x86_64"
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN peerDependencies The peer dependency [email protected] included from grunt-webpack will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency [email protected] included from grunt-webpack will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated m
file(STRINGS "${CTEST_BINARY_DIRECTORY}/Testing/TAG" tag_info)
list(GET tag_info 0 tag_info)
list(APPEND CTEST_NOTES_FILES
"${CTEST_BINARY_DIRECTORY}/Testing/Temporary/LastTest_${tag_info}.log")
ctest_submit(PARTS Notes)