Skip to content

Instantly share code, notes, and snippets.

@vicendominguez
vicendominguez / deletefrmbintray.sh
Last active May 17, 2016 05:30 — forked from hgomez/upload2bintray.sh
Helper script to upload/remove RPM packages to/from bintray
#!/bin/bash
#
# You should define BINTRAY_ACCOUNT and BINTRAY_APIKEY here or from the outside
# BINTRAY_ACCOUNT is you Bintray account and BINTRAY_APIKEY, API Key generated under your Bintray profile
# Redefine following variables to match your own usage
BINTRAY_ACCOUNT=vicendominguez
BINTRAY_APIKEY=xxxxxxxxxxxxxxxxx
@vicendominguez
vicendominguez / supervisord.service
Last active May 18, 2017 17:30 — forked from tonyseek/supervisord.service
systemd service with personal path to the supervisord config
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisor.d/supervisord.conf
ExecReload=/usr/bin/supervisorctl reload
ExecStop=/usr/bin/supervisorctl shutdown
@vicendominguez
vicendominguez / tail-color.sh
Last active August 29, 2015 14:13 — forked from kartikshah/tail-color.sh
tail color with "INFO" in green showing all lines
$tail -f /var/log/applications/application.log | awk '
// {print $0}
/INFO/ {print "\033[32m" $0 "\033[39m"}
'