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
var CONSUMER_KEY = "<< YOUR KEY HERE >>"; | |
var CONSUMER_SECRET = "<< YOUR SECRET HERE >>"; | |
function getConsumerKey() { | |
return CONSUMER_KEY; | |
} | |
function getConsumerSecret() { | |
return CONSUMER_SECRET; | |
} |
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 declare(strict_types = 1); | |
namespace Swat\Api\V2\Tests\Traits; | |
use DB; | |
use Illuminate\Database\Events\QueryExecuted; | |
use Swat\Api\V2\Tests\TestCase; | |
/** | |
* Including this trait will **automatically** start counting SQL queries | |
* for every test. |
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 | |
// … | |
CakePlugin::load('PostgresApp'); | |
// … |
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 | |
App::uses('Group', 'Model'); | |
class GroupTest extends CakeTestCase { | |
public $fixtures = array('app.group', 'app.groupsUser', 'app.channelsClient', 'app.client'); | |
public $autoFixtures = false; | |
public function setUp() { | |
parent::setUp(); |
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 | |
App::uses('Controller', 'Controller'); | |
App::uses('CakeRequest', 'Network'); | |
App::uses('CakeResponse', 'Network'); | |
App::uses('ComponentCollection', 'Controller'); | |
App::uses('StatisticComponent', 'Controller/Component'); | |
// A fake controller to test against | |
class TestStatisticController extends Controller { |
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 | |
App::uses('Controller', 'Controller'); | |
App::uses('View', 'View'); | |
App::uses('ArticleHelper', 'View/Helper'); | |
class ArticleHelperTest extends CakeTestCase { | |
public function setUp() { | |
parent::setUp(); | |
$Controller = new Controller(); |
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
// read more here: http://garage.socialisten.at/2013/06/new-open-graph-tags-for-article-publisher-author/ | |
// (c) @michaelkamleitner | |
if ( ! function_exists('additional_opengraph_tags') ) { | |
function additional_opengraph_tags() { | |
if ( is_single() and ! is_page()) { | |
?> | |
<meta property="article:publisher" content="https://www.facebook.com/YourPageName" /> | |
<meta property="article:author" content="https://www.facebook.com/YourAuthorName" /> |
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
Zeit;Raum 307;Raum 306;Raum304;Raum309;Raum310 | |
11-12;100.000% Wachstum a. Facebook;B2B=B2C;Hands on - was begeistert meine Fans;Erfahrungsaustausch zu Advertising;Facebook für KMU | |
12-13;Facebook KPIs;Social Media Rant;Möglichkeiten der Facebook-Apps;Global Pages;Gesundheit für Webworker | |
13-14;Mittagspause;Mittagspause;Mittagspause;Mittagspause;Mittagspause | |
14-15;Facebook Recht;Pages vs. Blogs;Open Graph Apps;Interaktion auf FB;Apps bauen mit fanpage generator | |
15-16;Graph Search;Personal-Recruiting;Enttäuschte Kunden oder Trolle;Insights/Datennutzung;Das Projekt 'issocial' |
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
$(document).on("click", ".magic-hat", function() { | |
var $this = $(this), $bunny = $($this.attr("data-bunny")); | |
$this.slideUp(500, function() { | |
$bunny.slideDown(500); | |
$this.remove(); | |
}); | |
return false; | |
}); |
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
ViennaPHP August Gathering: http://www.meetup.com/viennaphp/events/195495012/ | |
hi guys, | |
sorry for not being able to join you last week for the August gathering! Sebastian asked me to say some words about our CakePHP development point of view, but it was not possible for me to join in time (because we're running late on a quite big relaunch). | |
Sebastian sent my some questions, I now want to answer directly here. If there are questions left, please contact me directly and/or comment here! | |
* Ecosystem (Plugins, Community/Help available): How is the overall ecosystem? Are there many plugins for the framework to integrate the work of others? Is there a community which enables to build better software? Is there a good help and other resources? |
NewerOlder