[
{ "keys": ["super+k", "super+t"], "command": "title_case" },
{ "keys": ["ctrl+shift+j"], "command": "toggle_single_line_css" },
{ "keys": ["n", "n"], "command": "advanced_new_file",
"context":
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> | |
<link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'> |
http://j.mp/182cxui |
[...] Behold the power of Drush (once you are ssh'd in and navigated to your drupal root directory)
drush cc
drush sql-dump > ~/my-sql-dump-file-name.sql
Those two commands clear all the Drupal caches and then dump the sql database to a file in your home directory. Awesome sauce!
<?php header( "Location: http://www.mywebsite.com/otherpage.php" ); ?> |
Original Source: http://snipplr.com/view/26670/
Reformatted for improved readability and personal reference.
How does one make a recursive, identical copy of /source/ into /target/?
I suppose you want to do that for archiving or duplicating something and want to preserve "everything". That includes permissions, ownership, filetypes, timestamps etc.
Title: Terms of Service Comment: General terms of business
General terms of business
This website is operated by {{business.name}}. Throughout the site, the terms “we”, “us” and “our” refer to {{business.name}}. {{business.name}} offers this website, including all information, tools and services available from this site to you, the user, conditioned upon your acceptance of all terms, conditions, policies and notices stated here.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
<body class="{{ template | replace: '.', ' ' | truncatewords: 1, '' }}" id="{{ page_title | handle }}"> | |
.... | |
</body> |
{% if collection %} | |
{% if collection.previous_product %} | |
{{ '« Previous Product' | link_to: collection.previous_product }} | |
{% endif %} | |
{% if collection.next_product %} | |
{% if collection.previous_product %} | {% endif %} | |
{{ 'Next Product »' | link_to: collection.next_product }} | |
{% endif %} | |
{% endif %} |