This file contains 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
#!/bin/bash | |
# Works with Ubuntu 14.04 - 16.10: | |
# See https://launchpad.net/~ondrej/+archive/ubuntu/php for more information | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install -y php7.1 |
This file contains 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
while true; do [command]; done; |
This file contains 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
<VirtualHost *:80> | |
ServerAdmin admin@example.org | |
DocumentRoot /var/www/example.org/public | |
ServerName example.org | |
ServerAlias www.example.org | |
<Directory /var/www/example.org/public> | |
Options All | |
AllowOverride All | |
Require all granted | |
</Directory> |
This file contains 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 | |
/** | |
* RESTful remap method for CodeIgniter controllers | |
* | |
* @author Clint Tyler <ctyler@cdtwebsolutions.com> | |
*/ | |
class MY_Controller extends CI_Controller | |
{ | |
public function _remap($method, $arguments = array()) | |
{ |
NewerOlder