Skip to content

Instantly share code, notes, and snippets.

Saverio Delpriori xavbeta

Block or report user

Report or block xavbeta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mine2018 api documentation
base url:
/topurls (cached, cache lasts 1 day, updated 04:01)
/topdomains (cached, cache lasts 1 day, updated 04:11)
/hotness (cached, cache lasts 1 hour)
/counts (cached, cache lasts 1 hour)
/cc (no cached) deletes all caches
xavbeta /
Last active Apr 27, 2017
Never-expiring Facebook access token steps (v2.8+, 2016+) from

Steps taken from (Dude you're a life saver!)

  • Create Facebook App

    1. Go to My Apps.
    2. Click "+ Add a New App".
    3. Setup a website app.

    You don't need to change its permissions or anything. You just need an app that wont go away before you're done with your access token.

  • Get User Short-Lived Access Token

View Descrizioni (base) comandi Git
git init - inizializzare una repository locale
git status - stato della repository Git
git add - aggiungere modifiche
git commit [-m <commit txt>]- registra un nuovo commit
git diff - mostrare le differenze rispetto all'ultimo commit
View lib_db.php
DEFINE("DB_ADDRESS", "localhost");
DEFINE("DB_NAME", "#####");
DEFINE("DB_USER", "#####");
function openConnection(){
// Create connection
$conn = new mysqli(DB_ADDRESS, DB_USER, DB_PASSWORD, DB_NAME);
xavbeta / pdgt_adventure.aiml
Last active Apr 18, 2016
AIML Crash Course - PDGT Lab
View pdgt_adventure.aiml
<?xml version="1.0" encoding="UTF-8"?>
<pattern>FIGHT DEFAULT</pattern>
<li>Non essere arrabbiato</li>
<li>Con chi ce l'hai?</li>
<li>La violenza non è la soluzione</li>
You can’t perform that action at this time.