https://www.drupal.org/node/2464525
- drush dl -y devel commerce_devel
- drush dl --dev -y commerce commerce_discount commerce_coupon inline_conditions
- drush en -y commerce_coupon
- Patch from: https://www.drupal.org/node/1268472
https://www.drupal.org/node/2464525
[mysqld] | |
max_connections = 200 | |
# https://docs.google.com/presentation/d/1AgnurTWsWdMAFjfFmSU7mk2zfJu8jG_KmVdZ7-o6Pok/edit#slide=id.g38a438822_1330 | |
# query_cache_size = 42M | |
query_cache_size = 0 | |
query_cache_type = 0 | |
tmp_table_size = 100M |
<?php | |
// Helper for https://www.drupal.org/node/2488180 | |
// Run: drush src charset-converter.php | |
class CharsetConverter { | |
/** | |
* Character set. | |
* @var string |
[mysqld] | |
init_connect='SET collation_connection = utf8mb4_unicode_ci' | |
init_connect='SET NAMES utf8mb4' | |
character-set-server = utf8mb4 | |
character-set-client = utf8mb4 | |
collation-server = utf8mb4_unicode_ci | |
skip-character-set-client-handshake | |
innodb_file_format = Barracuda |
#page-container { | |
background: transparent linear-gradient(to bottom,rgba(0,0,0,.5), rgba(0,0,0,0)) repeat-x fixed left top; | |
} | |
#everything { | |
box-shadow: 0 0 50px rgba(0,0,0,.15); | |
} | |
#sidebar-right, .right-sidebar { | |
padding: 20px; |
function triggerEvents(events, e) { | |
$.each(events, function() { | |
this.handler.apply(e.currentTarget, [e]); | |
}); | |
} | |
function confirmDialog(e) { | |
e.preventDefault(); | |
e.stopPropagation(); | |
var events = $(this).data('originalEvents'); |
# drush pml --status=enabled | |
Package Name Type Version | |
Access control Nodeaccess (nodeaccess) Module 7.x-1.4+6-dev | |
Administration Administration menu (admin_menu) Module 7.x-3.0-rc5 | |
Administration Administration menu Adminimal Theme (adminimal_admin_menu) Module 7.x-1.6 | |
Administration Administration views (admin_views) Module 7.x-1.5 | |
Administration Coffee (coffee) Module 7.x-2.2+7-dev | |
Administration Filter permissions (filter_perms) Module 7.x-1.0+0-dev | |
Administration Module filter (module_filter) |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.component { | |
.svg { | |
// Default Nested. | |
color: pink; | |
} | |
} |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.component { | |
.svg { | |
// Default Nested. | |
color: pink; | |
} | |
} |
<?php | |
require "vendor/autoload.php"; | |
// composer require masterminds/html5 | |
use Masterminds\HTML5; | |
$html = <<< HTML | |
<!DOCTYPE html> | |
<html> |