Skip to content

Instantly share code, notes, and snippets.

View ThiagoLimah's full-sized avatar

Thiago A. de Lima ThiagoLimah

View GitHub Profile
<?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';
<?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
*/
<?php namespace Conesul\Firmware;
class SaperX
{
private $pdo;
private $host;
private $user;
private $pass;
private $dbname;