This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = module.exports = restify.createServer({ | |
name: 'restify', | |
version: '1.0.0', | |
responseTimeHeader: 'X-Runtime', | |
responseTimeFormatter: function(durationInMilliseconds) { | |
return durationInMilliseconds / 1000; | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var restify = require('restify'); | |
var client = restify.createJsonClient({ | |
url: 'http://localhost:3001', | |
version: '*' | |
}); | |
msg = { | |
"_id": "4ff71172bc148900000010a3", | |
"userId": "4f711b377579dbf65e000001", | |
"courseId": "4f69021bff338faffa000001", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.3.deb -O elasticsearch.deb | |
sudo dpkg -i elasticsearch.deb | |
sudo service elasticsearch start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const Hemera = require('./../../packages/hemera') | |
const nats = require('nats').connect() | |
const hemera = new Hemera(nats, { | |
logLevel: 'info' | |
}) | |
hemera.ready(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start with the nvidia container for cuda 8 with cudnn 5 | |
# ensure `/etc/docker/daemon.json` file is | |
# modified to use nvidia runtime by default | |
FROM nvidia/cuda:8.0-cudnn5-devel | |
# install dependencies | |
RUN apt-get update && \ | |
apt-get install -y \ | |
build-essential \ | |
cmake \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nvidia/cuda:8.0-cudnn5-devel | |
# Supress warnings about missing front-end. As recommended at: | |
# http://stackoverflow.com/questions/22466255/is-it-possibe-to-answer-dialog-questions-when-installing-under-docker | |
ARG DEBIAN_FRONTEND=noninteractive | |
# Install some dependencies | |
RUN apt-get update && \ | |
apt-get install -y \ | |
apt-utils \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM phusion/baseimage | |
# Env variables | |
ENV DEBIAN_FRONTEND noninteractive | |
# Install dependencies & required requisites | |
RUN add-apt-repository -y ppa:ubuntugis/ppa && \ | |
add-apt-repository -y ppa:george-edison55/cmake-3.x && \ | |
apt-get update -y && \ | |
apt-get install software-properties-common -y && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nvidia/cuda:8.0-cudnn5-devel | |
# PYTHON 2, DO NOT USE PYTHON 3! | |
LABEL maintainer "Shaun Berryman <shaun@shaunberryman.com>" | |
# Supress warnings about missing front-end. As recommended at: | |
# http://stackoverflow.com/questions/22466255/is-it-possibe-to-answer-dialog-questions-when-installing-under-docker | |
ARG DEBIAN_FRONTEND=noninteractive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/cudacodec/src/video_decoder.cpp b/modules/cudacodec/src/video_decoder.cpp | |
index 35919c3f5..19ebef10d 100644 | |
--- a/modules/cudacodec/src/video_decoder.cpp | |
+++ b/modules/cudacodec/src/video_decoder.cpp | |
@@ -63,6 +63,11 @@ void cv::cudacodec::detail::VideoDecoder::create(const FormatInfo& videoFormat) | |
cudaVideoCodec_VC1 == _codec || | |
cudaVideoCodec_H264 == _codec || | |
cudaVideoCodec_JPEG == _codec || | |
+ cudaVideoCodec_H264_SVC == _codec || | |
+ cudaVideoCodec_H264_MVC == _codec || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FROM kaldiasr/kaldi:latest | |
FROM python:3.6-buster | |
WORKDIR "/workspace" | |
RUN apt-get clean \ | |
&& apt-get update \ | |
&& apt-get install -y wget \ | |
automake autoconf sox libtool subversion libatlas3-base gfortran \ | |
&& apt-get -y autoremove |
OlderNewer