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
AppBundle\Entity\Recipe: | |
type: entity | |
id: | |
id: | |
type: integer | |
generator: { strategy: AUTO } | |
fields: | |
name: | |
type: string | |
length: 100 |
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 ss = SpreadsheetApp.getActiveSpreadsheet(); | |
/** | |
* Runs at script installation. | |
*/ | |
function onInstall() { | |
onOpen(); | |
} | |
/** |
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
/** | |
* Load available payment methods for an order. | |
* | |
* @param string $order_uuid | |
* The order's UUID. | |
* | |
* @return array | |
* The available payment methods. | |
*/ | |
public function getUserPaymentMethods($order_uuid) |
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. | |
*/ |
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
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
<?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
<?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
<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
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 | |
NewerOlder