This file contains 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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Facebook\Authentication\AccessToken; | |
use Facebook\FacebookApp; | |
use Facebook\FacebookRequest; | |
session_start(); | |
$app_id = '{APP ID}'; |
This file contains 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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Facebook\Authentication\AccessToken; | |
use Facebook\FacebookApp; | |
use Facebook\FacebookRequest; | |
session_start(); |
This file contains 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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
session_start(); | |
$fbData = array( | |
'app_id' => '{APP ID}', | |
'app_secret' => '{APP SECRET}', | |
'default_graph_version' => 'v2.2' | |
); |
This file contains 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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
session_start(); | |
$fbData = array( | |
'app_id' => '{APP ID}', | |
'app_secret' => '{APP SECRET}', | |
'profile_id' => '{PAGE ID}', |
This file contains 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
public static class MyAdapter extends FragmentStatePagerAdapter { | |
private SparseArray mPageReferenceMap | |
= new SparseArray(); | |
//other code | |
@Override | |
public Object instantiateItem(ViewGroup viewGroup, int position) { | |
Object obj = super.instantiateItem(viewGroup, position); | |
//Add the reference when fragment has been create or restore |
This file contains 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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Facebook\Authentication\AccessToken; | |
use Facebook\FacebookApp; | |
use Facebook\FacebookRequest; | |
session_start(); | |
$app_id = '{APP ID}'; |
This file contains 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
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.util.AttributeSet; | |
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.view.View; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.Canvas; |
This file contains 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 | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Input\InputArgument; | |
class ClearBeanstalkdQueueCommand extends Command { | |
/** |
This file contains 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
.modal { | |
width: 800px; | |
left: 40%; | |
} | |
.lightbox-content { | |
width: 100%; | |
} | |
.lightbox-image { |
This file contains 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
/** | |
* AngularUI - The companion suite for AngularJS | |
* @version v0.3.2 - 2012-12-04 | |
* @link http://angular-ui.github.com | |
* @license MIT License, http://www.opensource.org/licenses/MIT | |
*/ | |
angular.module('ui.config', []).value('ui.config', {}); | |
angular.module('ui.filters', ['ui.config']); |