Skip to content

Instantly share code, notes, and snippets.

Started GET "/" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Processing by DashboardsController#show as HTML
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 20 AND (users.deleted_at IS NULL) LIMIT 1
(0.2ms) BEGIN
(0.4ms) UPDATE `users` SET `last_request_at` = '2013-07-10 12:48:02', `perishable_token` = 'f7vPLApn7tP8UlUqYjOd', `updated_at` = '2013-07-10 12:48:02' WHERE `users`.`id` = 20
(1.6ms) COMMIT
IdeationProcess Load (0.4ms) SELECT `ideation_processes`.* FROM `ideation_processes` INNER JOIN `invitations` ON `ideation_processes`.`id` = `invitations`.`ideation_process_id` WHERE `invitations`.`user_id` = 20 AND (ideation_processes.deleted_at IS NULL) AND (invitations.deleted_at IS NULL) AND (invi
@krishnasrihari
krishnasrihari / gist:6917057
Created October 10, 2013 11:42
Piwik installation
########### PHP5 install ######################
https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
#apache
sudo apt-get update
sudo apt-get install apache2
#mysql
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql