Skip to content

Instantly share code, notes, and snippets.

View nmattam's full-sized avatar

Nibin Abraham Mattam nmattam

View GitHub Profile
13:38:23 $ ls -l /var/log/opscode/nginx/
total 1005728
-rw-r--r-- 1 opscode opscode 43407863 Feb 18 13:36 access.log
-rw-r--r-- 1 opscode opscode 105030831 Feb 8 00:33 access.log.1
-rw-r--r-- 1 opscode opscode 6355971 Jan 12 14:53 access.log.2.gz
-rw-r--r-- 1 opscode opscode 6491956 Nov 9 10:58 access.log.3.gz
-rw-r--r-- 1 opscode opscode 6339453 Sep 9 11:52 access.log.4.gz
-rw-r--r-- 1 opscode opscode 1 Feb 18 13:38 access-port-80.log
-rw-r--r-- 1 opscode opscode 421891110 Feb 18 13:38 access-port-80.log.1
-rw-r--r-- 1 opscode opscode 65467774 Feb 8 01:01 access-port-80.log.2.gz
/*
@params
$center_x: returned by Coyote (is the percentage of photo width)
$center_y: returned by Coyote (is the percentage of photo height)
$thresh: threshold value for matching (currently set to 0.030)
$pwidth: width of the photo
$pheight: height of the photo
*/
Fatal error: Uncaught exception 'Services_Twilio_RestException' with message 'The 'To' number 5551234567 is not a valid phone number.' in /var/www/psn/twilio-php/Services/Twilio.php:213 Stack trace: #0 /var/www/psn/twilio-php/Services/Twilio.php(185): Services_Twilio->_processResponse(Array) #1 /var/www/psn/twilio-php/Services/Twilio/ListResource.php(83): Services_Twilio->createData('/2010-04-01/Acc...', Array) #2 /var/www/psn/twilio-php/Services/Twilio/Rest/SmsMessages.php(17): Services_Twilio_ListResource->_create(Array) #3 /var/www/psn/pg/scripts/classes/sky.php(178): Services_Twilio_Rest_SmsMessages->create('7342742961', '5551234567', 'You have been S...') #4 /var/www/psn/fr_app.php(20): sky::parse_recognition_response(Object(stdClass), '237') #5 {main} thrown in /var/www/psn/twilio-php/Services/Twilio.php on line 213
@nmattam
nmattam / access.log
Created November 29, 2014 01:31
Apache server issue
93.174.93.117 - - [28/Nov/2014:09:40:33 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
93.174.93.117 - - [28/Nov/2014:09:42:59 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
93.174.93.117 - - [28/Nov/2014:09:45:26 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
192.187.118.162 - - [28/Nov/2014:09:45:36 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
192.187.118.162 - - [28/Nov/2014:09:45:36 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
192.187.118.162 - - [28/Nov/2014:09:45:37 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
192.187.118.162 - - [28/Nov/2014:09:45:38 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
192.187.118.162 - - [28/Nov/2014:09:
192.187.118.162 - - [28/Nov/2014:22:02:46 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" **12/12522737**
::1 - - [28/Nov/2014:22:02:59 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" **0/95**
192.187.118.162 - - [28/Nov/2014:22:02:46 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" **13/13069665**
192.237.163.6 - - [28/Nov/2014:22:02:59 +0000] "POST /wp-cron.php?doing_wp_cron=1417212179.1865758895874023437500 HTTP/1.0" 200 211 "-" "WordPress/3.9.1; http://spotmyphotos.com" **1/1172813**
192.237.163.6 - - [28/Nov/2014:22:02:59 +0000] "POST /wp-cron.php?doing_wp_cron=1417212179.3103239536285400390625 HTTP/1.0" 200 211 "-" "WordPress/3.9.1; http://spotmyphotos.com" **1/1081213**
192.187.118.162 - - [28/Nov/2014:22:02:47 +0000] "POST /xmlrpc.php HTTP/1.0" 200 597 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)" **12/12934145**
192.237.163.6 - - [28/Nov/2014:2