Create ~/.pypirc configuration file
version: '3.2' | |
services: | |
python: | |
image: python:3.6.5-alpine3.7 | |
expose: | |
- 80 | |
networks: | |
- internal | |
- traefik | |
labels: |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
concat: { | |
options: { | |
separator: ';' | |
}, | |
dist: { | |
src: ['node_modules/renderjson/renderjson.js'], |
... | |
action_with_slack_notification = %(banaction)s[name=%(__name__)s, port="%(port)$ | |
slack[name=%(__name__)s] | |
action = %(action_with_slack_notification)s | |
... |
FROM python:3.6.2-jessie | |
LABEL maintainer "[email protected]" | |
# 3.6 | |
ENV PYTHON_VERSION 3 | |
# Install all dependencies for OpenCV 3.2 | |
RUN apt-get -y update && apt-get -y install python$PYTHON_VERSION-dev wget unzip \ | |
build-essential cmake git pkg-config libatlas-base-dev gfortran \ | |
libjasper-dev libgtk2.0-dev libavcodec-dev libavformat-dev \ |
# Run command with the same user ID as current user | |
# -v $(pwd):/tmp/mount - mount current directory to /tmp/mount/ | |
# --env HOME="/tmp/" - some commands may need to be able to write to your home, se it to temporary folder | |
docker run -ti --rm -v $(pwd):/tmp/mount —user=$(id -u) --env HOME="/tmp/" debian:jessie | |
# Mount current users and group and be able to use them | |
# mount /etc/group and /etc/passwd read only | |
# set user from $USER | |
docker run -ti --rm -v $(pwd):/tmp/mount -w /tmp/hx -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro —user=$USER debian:jessie |
DELIMITER ;; | |
CREATE TRIGGER `patient_bu` BEFORE UPDATE ON `patient` FOR EACH ROW | |
BEGIN | |
SET @json = "{"; | |
SET @jsonold = "{"; | |
SET @first = true; | |
IF (OLD.register_doctor_id!=NEW.register_doctor_id) THEN | |
SET @first = false; | |
SET @json = CONCAT(@json, "\"register_doctor_id\"", ":", "\"", REPLACE(NEW.register_doctor_id, '"', '\"'), "\""); |
{ | |
"title": "OSSEC MONITORING DASHBOARD", | |
"services": { | |
"query": { | |
"idQueue": [ | |
0, | |
1 | |
], | |
"list": { | |
"10": { |
To install sentry from git, we can still use pip. Before installing, we will need some libraries
apt-get install libxml2-dev libxslt-dev
After that, we can install sentry from git
pip install --allow-unverified sentry sentry==dev