Skip to content

Instantly share code, notes, and snippets.

View janhartigan's full-sized avatar

Jan Hartigan janhartigan

View GitHub Profile
82881325 [qtp20828645-10] INFO org.apache.solr.handler.admin.CoreAdminHandler – core create command schema=schema.xml&shard=&instanceDir=products&indexInfo=false&name=products&action=CREATE&config=solrconfig.xml&_=1409851811581&collection=&dataDir=data&wt=json
82881402 [qtp20828645-10] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: 'C:\Solr/apache-solr/solr\products\'
82881562 [qtp20828645-10] ERROR org.apache.solr.core.CoreContainer – Unable to create core: products
org.apache.solr.common.SolrException: Could not load core configuration for core products
at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
PHP request:
{
"amount_1": 0,
"amount_2": 0,
"bank_account_verifications": [
{
"verification_status": "pending",
"links": {
"bank_account": "BA3UvD6HWv2Ems4BTc4g0nLs"
object(Balanced\BankAccountVerification)#291 (5) {
["_collection_uris":protected]=>
array(0) {
}
["_member_uris":protected]=>
array(0) {
}
["_unmatched_uris":protected]=>
array(0) {
try {
$verification = \Balanced\BankAccountVerification::get("/verifications/BZ421bqIXFNIYFiNqRw8uKGs");
$verification->amount_1 = 1;
$verification->amount_2 = 1;
$verification->save();
}
catch (\Exception $e)
{
dd($e);
}
Request body
{
"amount_1": 0,
"amount_2": 0,
"bank_account_verifications": [
{
"verification_status": "pending",
"links": {
"bank_account": "BA3UvD6HWv2Ems4BTc4g0nLs"
},
This file has been truncated, but you can view the full file.
object(Balanced\Errors\Error)#295 (14) {
["response"]=>
object(Httpful\Response)#285 (12) {
["body"]=>
object(stdClass)#288 (1) {
["errors"]=>
array(1) {
[0]=>
object(stdClass)#294 (6) {
/**
* Gets a Balanced bank account verification object
*
* @param string $verification_id
*
* @return mixed false | \Balanced\BankAccountVerification
*/
protected function getBankAccountVerification($verification_id)
{
try
/**
* Begins the bank account verification process
*
* @param string $account_token
* @param string $verification_id
* @param int $amount1
* @param int $amount2
*
* @return mixed int (# attempts left) | true //be sure to use strict === check against true
*/
/**
* Ellipsis Title Directive
*/
angular.module('common').directive('ellipsisTitle', function()
{
return {
link: function(scope, element, attrs)
{
//watch for changes to the provided value
@janhartigan
janhartigan / gist:8324133
Created January 8, 2014 20:34
Angular directory structure
-account
--settings
---directives
---templates
---services
---AccountSettingsModule.js //this require()s all the necessary files
--profile
---directives
---templates
---services