Multi versões do PHP
sudo NR_INSTALL_PATH=/path/to/.phpbrew/php/php-7.x.y/bin newrelic-install
MIT License | |
=========== | |
Copyright (c) 2009–2011 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
#!/bin/bash | |
# Usage: slackpost <token> <channel> <message> | |
# Enter the name of your slack host here - the thing that appears in your URL: | |
# https://slackhost.slack.com/ | |
slackhost=PUT_YOUR_HOST_HERE | |
token=$1 |
// Based on http://stackoverflow.com/questions/1571374/converting-values-to-unit-prefixes-in-jsp-page. | |
// The inner filter function can be used standalone. | |
angular.module('Utils') | |
.filter('thousandSuffix', function () { | |
return function (input, decimals) { | |
var exp, rounded, | |
suffixes = ['k', 'M', 'G', 'T', 'P', 'E']; | |
if(window.isNaN(input)) { |
Multi versões do PHP
sudo NR_INSTALL_PATH=/path/to/.phpbrew/php/php-7.x.y/bin newrelic-install
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm