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 | |
require_once "/var/lib/asterisk/agi-bin/phpagi-asmanager.php"; | |
require_once "/var/lib/asterisk/agi-bin/phpagi.php"; | |
/** | |
* Classe para envio de SMS utilizando o modulo Chan_Dongle do Asterisk. | |
* | |
* @author Thiago A. de Lima <[email protected]> | |
* @version 1.0 | |
*/ |
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 | |
/** | |
* Recebe o token e publica na page. | |
* Facebook SDK version 2.5 | |
* | |
* @author Thiago A. de Lima <[email protected]> | |
*/ | |
require_once 'Facebook/autoload.php'; | |
var $appId = 'xxxxxx'; |
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
lxc-copy is the replacement for lxc-clone: | |
mkdir -p <new_lxc_path> | |
lxc-copy --name=<existing_lxc_name> --newname <new_lxc_name> --newpath /<new_lxc_path> | |
In the new container: | |
1. /etc/conf.d/hostname - set new hostname | |
2. /etc/conf.d/net - set new ip (if static ip) | |
3. /etc/hosts - add new ip/hostname |