Login with drush
drush -l @hmsdashboardstg.prod.acquia-sites.com uli
drush -l @hmsdashboardstg.prod.acquia-sites.com uli
loop through the object with *ngFor and then use:
{{obj | json}}
Awesome list of free font icons!
:set cm=blowfish
:X to encrypt a file
:set key= to turn off encryption
drop this above Drupal's index.php redirection in the .htaccess file
# HTTPS Redirection
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www.insuramatch.com$
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
ng-options sorted by key, and displaying the value from an associative array
drush rsync @insuramatch:%files @insuramatch.dev:%files
sync local files to dev in the Acquia cloud.
ssh example.test@server-321.devcloud.hosting.acquia.com drush @example.test ah-db-import ~/dbdump.sql.gz
and to import files from your local site this is easiest. drush rsync @insuramatch:%files @insuramatch.prod:%files
$ezldata = <<<EZDATA
beginning of large string
stick variables in like this below
{$data['state']}
MONTGOMERY
20878
more of the long large string
EZDATA;
http://stackoverflow.com/questions/11274354/use-variable-within-heredoc…
THE CLOSING LINE CANNOT HAVE ANY EXTRA SPACES, OR EVEN A TAB.
db.getCollection('EZL_QUOTE_RESPONSE').find({}).sort({match_id:-1}); // gets the last records to show ordered.
db.getCollection('EZL_QUOTE_RESPONSE').find({}).count(); // gets a count of the documents in the EZL_QUOTE_RESPONSE collection.
db.getCollection('EZL_QUOTE_RESPONSE').find({}).sort({"quote_value.QuoteExecutionDetail.QuoteExecutionID":-1});
in robomongo on the mac hit command + return to run the query.