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 | |
function getSourceData() { | |
$iterator = [ | |
["one"=> 1, "two" => 2, "thre" => 3], | |
["one"=> 11, "two" => 12, "thre" => 13] | |
]; | |
$itemSelector = "content/image/filePath"; | |
foreach ($iterator as $row) { | |
$source_data[] = $row; | |
} |
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
const mongoose = require('mongoose'); | |
const moment = require('moment'); | |
const Schema = mongoose.Schema; | |
const user = process.env.SO_USER; | |
const pass = process.env.SO_PASS; | |
const uri = process.env.SO_URI; | |
const throng = require('throng') |
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
{ e: 'request', | |
args: | |
[ Request { | |
_client: [Object], | |
_requestId: '1BDB79D0EC5FD3B81109C4691D771361', | |
_isNavigationRequest: true, | |
_interceptionId: null, | |
_allowInterception: false, | |
_interceptionHandled: false, |
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
var page = require('webpage').create(); | |
page.open('http://github.com/', function() { | |
page.render('/tmp/github.png'); | |
phantom.exit(); | |
}); |
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 | |
namespace Foo\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* Fluid | |
* | |
* @ORM\Table(name="fluids") |