Skip to content

Instantly share code, notes, and snippets.

View dimitrystd's full-sized avatar

Dmitry Studynsky dimitrystd

View GitHub Profile
@dimitrystd
dimitrystd / frigate_telegram_notification.yaml
Last active January 5, 2025 15:20 — forked from NdR91/frigate_telegram_notification.yaml
Frigate - Telegram Notification
blueprint:
name: Frigate - Telegram Notification
description: Create automations to receive Snapshots and Clips from Frigate
domain: automation
input:
camera:
name: Frigate Camera
description:
The name of the camera as defined in your frigate configuration (/conf.yml).
target_chat:
@dimitrystd
dimitrystd / Dockerfile
Last active August 25, 2017 20:30
Minimal setup for reproducing the bug when MLP doesn't create tables if was activated by WP CLI
FROM kaihofstetter/wordpress-cli:latest
COPY run.sh /run.sh
RUN chmod +x /run.sh
ENV WP_TITLE WordPress Demo
ENV WP_ADMIN_USER admin
ENV WP_ADMIN_PASSWORD admin
EXPOSE 80
@dimitrystd
dimitrystd / smartling-external-logger.php
Created August 31, 2016 11:44
Example how to change WP Connector logger configuration
<?php
/**
* @link https://www.smartling.com
* @since 1.0.0
* @package smartling-logger-extender
* Plugin Name: Smartling Logger Extender
* Plugin URI: http://nourl.com
* Description: Demo plugin which demonstrates how to add external logger to Smartling Wordpress Connector
* Version: 1.0
* Author: Smartling
@dimitrystd
dimitrystd / jenkins-git-backup.sh
Last active October 29, 2017 15:26 — forked from abayer/jenkins-git-backup.sh
Example of a script for backing up Jenkins config in git.
#!/bin/bash
# Modified version of https://gist.github.com/choldrim/b0862264bda0f6a2e4ae and
# https://gist.github.com/abayer/527063a4519f205efc74
# Copies certain kinds of known files and directories from a given Jenkins master directory
# into a git repo, removing any old ones, adds 'em, commits 'em, pushes 'em.
set -ex
if [ $# -ne 3 ]; then