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 | |
require('vendor/autoload.php'); | |
use Mpociot\BotMan\BotManFactory; | |
use Mpociot\BotMan\BotMan; | |
use Mpociot\BotMan\Facebook\Element as Element; | |
use Mpociot\BotMan\Facebook\ElementButton as ElementButton; | |
use Mpociot\BotMan\Facebook\ButtonTemplate as ButtonTemplate; | |
use Mpociot\BotMan\Facebook\GenericTemplate as GenericTemplate; |
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
render() { | |
return ( | |
<KeyboardAwareScrollView> | |
<View style={styles.container}> | |
<Text style={styles.welcome}> | |
Welcome to React Native! | |
</Text> | |
<Text style={styles.instructions}> | |
To get started, edit index.ios.js | |
</Text> |
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
{ | |
"extends": [ | |
"eslint:recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings" | |
], | |
"plugins": [ | |
"react" | |
], | |
"parserOptions": { |
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
'use strict'; | |
const BootBot = require('bootbot'); | |
const bot = new BootBot({ | |
accessToken: 'FACEBOOK_ACCESS_TOKEN', | |
verifyToken: 'FACEBOOK_VERIFY_TOKEN', | |
appSecret: 'FACEBOOK_APP_SECRET' | |
}); |
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
mkdir temp && cd temp | |
# for linux 'amd64' architecture install those packages: | |
sudo apt-get install libx11-6:i386 libpam0g:i386 libstdc++5:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 | |
wget https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh | |
sudo ./snx_install.sh | |
cd .. && rm -rf temp/ |
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 | |
// obligatoire | |
session_start(); | |
require('config/config.inc.php'); | |
require('vendor/autoload.php'); // load des fichiers Facebook | |
use Facebook\FacebookSession; | |
use Facebook\FacebookRedirectLoginHelper; |
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
/* | |
[exception] 500 | Internal Server Error | ErrorException | |
[message] Warning: file_put_contents(): Filename cannot be empty in /Users/rkueny/Website/perso/symfogames/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessFilter.php line 113 | |
[1] ErrorException: Warning: file_put_contents(): Filename cannot be empty in /Users/rkueny/Website/perso/symfogames/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessFilter.php line 113 | |
at n/a | |
in /Users/rkueny/Website/perso/symfogames/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessFilter.php line 113 | |
at Symfony\Component\HttpKernel\Debug\ErrorHandler->handle('2', 'file_put_contents(): Filename cannot be empty', '/Users/rkueny/Website/perso/symfogames/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessFilter.php', '113', array('asset' => object(FileAsset), 'format' => 'var less = require(&#039;less&#039;); | |
var sys = require(process.b |
NewerOlder