This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Ask for the administrator password upfront | |
sudo -v | |
# Install Homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" || exit 1 | |
# Configure Homebrew | |
brew doctor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @name Server Logs Viewer | |
* @description Emulates the tail() function. View latest lines of log files in your browser. | |
* @author Alexandre Plennevaux (pixeline.be) | |
*/ | |
/* Absolute local path to your server 'log' directory */ | |
define('LOG_PATH', '/var/log'); |