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
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,js,txt,info . |
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
{ | |
_id: '00e8da9b’, | |
name: 'Kidney Beans', | |
barcode: '99823883833', | |
stores: [ # Instances of this product. | |
{ | |
_id: '98823d', | |
name: 'Publix', | |
qty: 30, # Quantity available within store. | |
price: 1200, |
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 | |
/** | |
* @file | |
* Contains AllPlayers\RestServer\Tests\Controller\Group\MemberControllerTest. | |
*/ | |
namespace AllPlayers\RestServer\Tests\Controller\Group; | |
use AllPlayers\Tests\Selenium\Group\Registration\AdHocRegistrationTest; | |
use AllPlayers\Tests\Selenium\TestCase\TestCase; |
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
require 'resque' | |
namespace :resque do | |
desc "Clear pending tasks" | |
task :clear do | |
queues = Resque.queues | |
queues.each do |queue_name| | |
puts "Clearing #{queue_name}..." | |
Resque.redis.del "queue:#{queue_name}" | |
end | |
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
<body class=" hasGoogleVoiceExt"><object type="application/x-shockwave-flash" data="http://files.ghanalive.tv/secure-player/player.swf" width="650" height="500" bgcolor="#000000" id="mediaplayer" name="mediaplayer" tabindex="0"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="opaque"><param name="flashvars" value="netstreambasepath=http%3A%2F%2Fwww.ghanalive.tv%2Ffifa-world-cup-2014%2F&id=mediaplayer&stretching=exactfit&file=skylite%2Fams%2Fgtv-sports&duration=0&autostart=true&streamer=rtmp%3A%2F%2Fskylite.pointcdn.net&controlbar.position=bottom"></object> | |
</body> |
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 | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function imagestyles_drush_command() { | |
$items = array(); | |
$items['imagestyles'] = array( | |
'callback' => 'imagestyles_drush_callback', |
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 | |
public function getAllUuids($exclude_users) | |
{ | |
$this->uuidOnly = true; | |
$this->result = array(); | |
if (!$this->filters(self::DATABASE_MONGO)) { | |
// Searches SQL without mongo. | |
$this->loadSQLData(true, true); | |
} else { |
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
Array | |
( | |
[name] => Moto 360 | |
[title] => | |
[aka] => | |
[logo] => | |
[image] => File:Android Wear preview.jpg | |
[developer] => [[Motorola Mobility]] | |
[manufacturer] => | |
[family] => |
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
| Detail | |
------------ | ------------- | |
Browser | [ Chrome / Firefox / Internet Explorer / Netscape Navigator ] | |
OS | [ OSX / Windows / Linux ] | |
User | | |
URL | | |
Screenshot | ![Screenshot]( [screenshot] ) | |
Notes | |
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
/** | |
* Apply payment against order. | |
* | |
* @param string $order_uuid | |
* The order UUID. | |
* @param string $payment_method | |
* The pipe-delimited string representing the payment method. | |
* @param integer $amount | |
* The amount to apply to the order, without the decimal. | |
*/ |
OlderNewer