Skip to content

Instantly share code, notes, and snippets.

View tiger154's full-sized avatar

JeonHwan, Won tiger154

View GitHub Profile
@tiger154
tiger154 / facebookEventCrawl.php
Created June 30, 2017 03:30
Facebook (public)event crawl
/**
* Here is short description each property and information
* - To parse url it use 'Embed\Http' from https://github.com/oscarotero/Embed/
*
* public $targetUrl: You can change to test
* private $endPoint: 'https://graph.facebook.com/' => It's shouldn't be changed
* private $facebooKey: XXXXXXXXXX => You must set proper facebookKey
* public $fields: You can change it to choose return data you want
* - cover field has image data: cover->source
* - Required field should be: name, description, cover
@tiger154
tiger154 / setup_xdebug.sh
Created May 20, 2017 17:48 — forked from developerdino/setup_xdebug.sh
Setup XDebug on Laravel Homestead 4.0 with PHP 7.0
#!/usr/bin/env bash
wget http://xdebug.org/files/xdebug-2.4.0rc3.tgz
tar -xvzf xdebug-2.4.0rc3.tgz
cd xdebug-2.4.0RC3
phpize
/**
*
* $('#Files').change(function (event) {
* var file = this.files[0];
* var img = $('#preview-img');
* var loader = $('#preview-loader');
* e.g : $.thumb(file, img, loader)
* });
*
*