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
.catch((error) => { | |
// since signup can return an array of errors, send to the | |
// caller. do not send the entire error object though. | |
const { message, errors } = error | |
const errorOutput = { message, errors } |
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
$queryIds = //THE WHOLE PAGE OF ids | |
if( false === $mpb->LoadBios( $queryIds ) ) | |
return $this->ErrorCode( "MultiPerformerBios::LoadBios() failed", $mpb->ErrorMessage() ); | |
$bios = $mpb->Bios( ); | |
foreach( $bios as $userid => $bio ) | |
{ |
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
// ? ? ? THIS USERID IS NOT IN USERID->$this->contacts, SO WTF ARE WE DOING HERE? ? ? ? | |
// Search for the appropriate index in $this->contacts. NOTE that | |
// $i=0 each time since a user can change a contact's name so it | |
// may not necessarily be the same as the model's profile nickname. | |
for($i = 0; $i < count( $this->contacts ); $i++ ) | |
{ | |
// WHAT DOES THIS DO? | |
if( $this->contacts[$i]['contacttype'] == 0 ) |
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
{"cap":60,"date":{"$date":1395811612962},"description":"do eu velit quis reprehenderit eiusmod Lorem sit","location":"voluptate proident","matches":[],"name":"minim consequat occaecat","registered":[],"registration":{"close":{"$date":1394866800000},"open":{"$date":1394694000000}},"hours":15,"minutes":56,"am":false} | |
{"cap":52,"date":{"$date":1398403612963},"description":"non et officia velit duis exercitation anim eiusmod","location":"do incididunt","matches":[],"name":"cillum dolor nisi","registered":[],"registration":{"close":{"$date":1394866800000},"open":{"$date":1394694000000}},"hours":17,"minutes":12,"am":false} | |
{"cap":46,"date":{"$date":1395811612963},"description":"irure adipisicing nulla voluptate mollit veniam veniam labore","location":"eu anim","matches":[],"name":"fugiat nostrud pariatur","registered":[],"registration":{"close":{"$date":1394953200000},"open":{"$date":1394607600000}},"hours":16,"minutes":13,"am":false} | |
{"cap":58,"date":{"$date":1395811612964},"description":"pariatur minim ipsum labo |
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
angular.module('naiad.performerSearch') | |
.factory('performanceTimingWrapper',['$injector', | |
function($injector){ | |
'use strict'; | |
var requestCounter = 0, | |
responseCounter = 0, | |
performance = performance || false; | |
function getStartName(name) { |
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
HP 1. {main}() /usr/local/bin/phpunit:0 | |
PHP 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:615 | |
PHP 3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:129 | |
PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:138 | |
PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:657 | |
PHP 6. PHPUnit_Util_Configuration->getTestSuite() phar:///usr/local/bin/phpunit/phpunit/Util/Configuration.php:797 | |
PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() phar:///usr/local/bin/phpunit/phpunit/Util/Configuration.php:873 | |
PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /Users/adamp/git/naiad.service.perfsearch.skin/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:416 | |
PHP 9. PHPUnit_Util_Fileloader::checkAndLoad() /Users/adamp/git/naiad.service.perfsearch.skin/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:355 | |
PHP 10. PHPUnit_Util_Fileloa |
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
$.post('http://localhost:3000/profile/update', {pk:'strict@strict.com',name:'age',value: 'asdf' }); |
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
#!/bin/bash | |
DEVELSERVER='pds-sw.fciis.net' | |
REMOTE='/usr/local/naiad/service' | |
NAIADUSER='adamp' | |
REPO=`git config --get remote.origin.url | sed "s,.*[:/],," | sed "s/\.git//"` | |
DIR=`echo $2 | sed "s/.*$REPO/$REPO/"` | |
BASEDIR="/Users/$USER/git" | |
REPOTEST='FAIL' |
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
HAI DENNY strict@strict.com | |
{ _id: 52e89cac356c18d63287bbe6, | |
age: 24, | |
ageSoughtMax: 32, | |
ageSoughtMin: 22, | |
anus: 'ANUS!', | |
gender: 'Y', | |
genderSecond: 'M', | |
genderSought: 'F' } |
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
UPDATE | |
IT WORKED? | |
POST /profile/update 302 168ms - 42b |
NewerOlder