Skip to content

Instantly share code, notes, and snippets.

./run_hudson.sh
Fetching gem metadata from http://rubygems.org/.......
Enter your password to install the bundled RubyGems to your system:
Fatal error: Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response [status code] 401 [reason phrase] Unauthorized [url] https://www.pdup.allplayers.com/api/v1/rest/events [request] POST /api/v1/rest/events HTTP/1.1 Host: www.pdup.allplayers.com Accept: application/json User-Agent: Guzzle/2.8.6 curl/7.19.7 PHP/5.3.8 Content-Type: application/x-www-form-urlencoded Authorization: OAuth oauth_consumer_key="NqnpUVruodymKRrnUVsiehxcW7cMzVSF", oauth_nonce="9acb7e98eed620b4ddc4cc257824f30ec42554a5", oauth_signature="BrSsEMRNvhtPWkPU%2FS8DG%2B8BlAE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1348079693", oauth_token="CYCbvZxq3m2NJa6eSCSAM8izJSek88Ms", oauth_version="1.0" groups%5B0%5D=df0be030-d131-11e1-9e39-12313d2a2278&title=Liebres%20SemiPro%20%40%20Troyanos%20SemiPro&description=Liebres%20SemiPro%20%40%20Troyanos%20SemiPro&date_time%5Bstart%5D=2012-03-30T19%3A54%3A00&date_time%5Bend%5D=2012-03-30T20%3A54%3A00&external_id=STATS_APP&headers= [respon
sudo gem install passenger
LoadModule passenger_module /usr/lib/apache2/modules/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr
PassengerRuby /usr/bin/ruby
</IfModule>
<VirtualHost *:80>
ServerName 127.0.0.1
<Directory PATH>
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>
DocumentRoot PATH
</VirtualHost>
FallbackResource /index.php
@arturo-c
arturo-c / gist:3813442
Created October 1, 2012 18:15
apache configs for behat tests on travis.ci
<Directory PATH>
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot PATH
ServerName 127.0.0.1
</VirtualHost>
@arturo-c
arturo-c / config.php
Created October 1, 2012 20:59
config file for usa rugby behat tests on travis.ci
<?php
$config = array(
'username' => 'root',
'password' => '',
'database' => 'usarugby',
'server' => '127.0.0.1',
'consumer_key' => '3Q88vpe2kjyyFJedJ9TNigKGZUtF5vCW',
'consumer_secret' => 'QcZLNL4yik83h6PPycbpMwcU5UapChat',
'auth_domain' => 'https://www.pdup.allplayers.com', // Optional
WD php: User warning: Unknown column 'spaces_og' in 'where clause' [error]
query: SELECT id, value FROM purl WHERE provider = spaces_og in _db_query() (line 169 of /mnt/apci/main/www/includes/database.mysqli.inc).
WD php: User warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 [error]
query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in _db_query() (line 169 of /mnt/apci/main/www/includes/database.mysqli.inc).
WD php: User warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 [error]
query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in _db_query() (line 169 of
stdClass Object
(
[_id] => MongoId Object
(
[$id] => 5112c8865a8ac768090b979f
)
[sid] => 7826738
[nid] => 4194858
[submitted] => 1358982161
@arturo-c
arturo-c / AllPlayers_group_payload
Last active December 19, 2015 00:29
The AllPlayers Group Post Payload
{
"event_data" : {
"group" : {
"group_above" : The group above uuid (string),
"name" : The name/title of the group (string),
"organization_id" : An array containing the list of organization uuids or upper level groups (array),
"type" : An array containing the type identifiers of the group, i.e. Sports, Baseball (array),
"uuid" : The uuid of the group (string)
},
"uuid" : The uuid of the user that created the group,