Skip to content

Instantly share code, notes, and snippets.

View danielcharrua's full-sized avatar

Daniel danielcharrua

View GitHub Profile
@codebender828
codebender828 / notify-plugin.js
Last active August 13, 2021 10:36
How to custom Vue notifications API with Breadstick.
import Vue from 'vue'
import Breadstick from 'breadstick'
// 1. Create a new breadstick instance
export const breadstick = new Breadstick()
// 2. Import your custom Notification component.
// You can use it to render your notifications message.
const MyNotification = () => import('@/components/MyNotification.vue')
@ibrunotome
ibrunotome / supervisord.service
Last active March 17, 2020 11:59 — forked from mozillazg/supervisord.service
Install and configure supervisord on centos 7.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/bin/supervisord -c /etc/supervisor/supervisord.conf
ExecReload=/bin/supervisorctl reload
ExecStop=/bin/supervisorctl shutdown