This file contains hidden or 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 | |
$curl_url = "https://api.shorte.st/s/CHANGE_TO_YOUR_TOKEN/facebook.com"; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $curl_url); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
$result = curl_exec($ch); | |
curl_close($ch); | |
$array = json_decode($result); |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
from bulbs.neo4jserver import Graph, Config, Neo4jClient | |
from bulbs.config import DEBUG | |
from bulbs.model import Node, Relationship | |
from bulbs.property import String, Integer, DateTime | |
from bulbs.utils import current_datetime | |
class Person(Node): |