This file contains 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
Postgres commands: | |
pg_wrapper pgql -U JohnDoe -d postgres ---> login | |
OR | |
psql --cluster 10/karma -U JohnDoe -d postgres | |
\l ---> list databases | |
\du ---> list roles | |
\dn ---> list schemas | |
\dt ---> list tables | |
\q ---> quit |
This file contains 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
<% if tracker = Spree::Tracker.current(current_store) %> | |
<script id="solidus_trackers"> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', '<%= tracker.analytics_id %>', 'auto' {'name': '<%= current_store.name %>'}); | |
ga('<%= current_store.name %>.require', 'displayfeatures'); | |
ga('<%= current_store.name %>.send', 'pageview'); | |
<% if @order && order_just_completed?(@order) %> |