Skip to content

Instantly share code, notes, and snippets.

<?php
use Facebook\FacebookSession;
use Facebook\FacebookRequest;
use Facebook\GraphUser;
use Facebook\FacebookRequestException;
FacebookSession::setDefaultApplication('YOUR_APP_ID','YOUR_APP_SECRET');
// Use one of the helper classes to get a FacebookSession object.
// FacebookRedirectLoginHelper
<?php
interface Produto
{
public function especificacoes();
}
class Livro implements Produto
{
public function especificacoes() {
}
<?php
interface Atendimento
{
const SUPORTE = 1;
const FINANCEIRO = 2;
const ADMINISTRATIVO = 3;
public function encerrar();
}
@stephandesouza
stephandesouza / 0_reuse_code.js
Created November 20, 2013 01:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console