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
com.crowdmap.java.sdk.CrowdmapException: com.crowdmap.java.sdk.CrowdmapException: {"title":"Slim Application Error","code":8,"message":"Undefined variable: avatar","file":"\/root\/cm3\/api\/resources\/users.php","line":238,"trace":[{"file":"\/root\/cm3\/api\/resources\/users.php","line":238,"function":"handleErrors","class":"Slim","type":"::","args":[8,"Undefined variable: avatar","\/root\/cm3\/api\/resources\/users.php",238,{"user_id":"23","return":true,"cached":false,"user":{"user_index":"33","user_id":"ffd94997f1ecf27189271ca82951161c77c44240704433beb51660e75414f974afd1c731d40cf8f352d8b4067b0b9b0d3287645d4fbb8c2c9d1720d5969822fa","registered":"2012-10-29 10:14:44","avatar":"http:\/\/www.gravatar.com\/avatar\/1ff60c455589ab5059123f05eb309240?r=PG&s=200&d=404","badges":[]}}]},{"file":"\/root\/cm3\/api\/resources\/maps.php","line":60,"function":"avatar","class":"users","type":"::","args":["23",true]},{"file":"\/root\/cm3\/api\/resources\/users.php","line":159,"function":"getMaps","class":"Maps","type":"::","a |
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
Route::set('media','api/v2/media/<media_id>/<controller>(/<id>)', | |
array( | |
'media_id' => '\d+', | |
'id' => '\d+' | |
)) | |
->defaults(array( | |
'action' => 'index', | |
'controller' => 'Media', | |
'directory' => 'Api' | |
)); |
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
* About to connect() to localhost port 80 (#0) | |
* Trying 127.0.0.1... | |
* Connected to localhost (127.0.0.1) port 80 (#0) | |
> POST /Lamu/httpdocs/api/v2/media HTTP/1.1 | |
> User-Agent: CMD User Agent | |
> Host: localhost | |
> Accept: */* | |
> Content-Length: 25364 | |
> Expect: 100-continue | |
> Content-Type: multipart/form-data; boundary=----------------------------17927af4cfcd |
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
{ | |
"count": 3, | |
"results": [ | |
{ | |
"id": "4", | |
"url": "http://localhost/Lamu/httpdocs/api/v2/media/4", | |
"caption": "ihub", | |
"mime": "image/jpeg", | |
"original_file_url": "http://localhost/Lamu/httpdocs/Lamu/httpdocs/media/kohana/home/eyedol/Devel/Workspace/Lamu/application/uploads/h7r_1382082949_o.jpg", | |
"original_width": "420", |
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
{ | |
"count": 3, | |
"results": [ | |
{ | |
"id": "4", | |
"url": "http://localhost/Lamu/httpdocs/api/v2/media/4", | |
"caption": "ihub", | |
"mime": "image/jpeg", | |
"original_file_url": "http://localhost/Lamu/httpdocs/Lamu/httpdocs/media/kohana/media/uploads/h7r_1382082949_o.jpg", | |
"original_width": "420", |
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
{ | |
"count": 1, | |
"results": [ | |
{ | |
"id": "1", | |
"url": "http://localhost/Lamu/httpdocs/api/v2/posts/1", | |
"parent": null, | |
"user": null, | |
"form": { | |
"id": "1", |
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
/** | |
* Retrieve a post | |
* | |
* GET /api/sets/:set_id/posts/:id | |
* | |
* @return void | |
*/ | |
public function action_get_index() | |
{ | |
// Respond with set |
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 | |
/* | |
Plugin Name: Find Agents | |
Plugin URI :http://www.olamshs.com | |
Description: Available agents | |
Author: Gideon Makui | |
Version: 1.0 | |
Author URI:http://gidmakus.wordpress.com | |
*/ | |
require_once('inc/wp-config.php'); |
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
sudo npm install -g grunt-cli | |
npm http GET https://registry.npmjs.org/grunt-cli | |
npm http 304 https://registry.npmjs.org/grunt-cli | |
npm http GET https://registry.npmjs.org/nopt | |
npm http GET https://registry.npmjs.org/findup-sync | |
npm http GET https://registry.npmjs.org/resolve | |
npm http 304 https://registry.npmjs.org/nopt | |
npm http 304 https://registry.npmjs.org/findup-sync | |
npm http 304 https://registry.npmjs.org/resolve | |
npm http GET https://registry.npmjs.org/abbrev |
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
<manifest> | |
... | |
<application> | |
<!-- BroadcastReceiver that listens for incoming SMS messages --> | |
<receiver android:name=".SmsReceiver" | |
android:permission="android.permission.BROADCAST_SMS"> | |
<intent-filter> | |
<action android:name="android.provider.Telephony.SMS_DELIVER" /> | |
</intent-filter> | |
</receiver> |