-
Poner el código sin la carpeta node_modules y platforms.
-
Actualizar ionic y cordova:
$ sudo npm uninstall ionic cordova $ sudo npm install ionic cordova
-
Ejecutar dentro del proyecto:
Poner el código sin la carpeta node_modules y platforms.
Actualizar ionic y cordova:
$ sudo npm uninstall ionic cordova
$ sudo npm install ionic cordova
Ejecutar dentro del proyecto:
border-left: thick solid #ff0000; | |
.your-item { | |
position: relative; | |
} | |
.your-item:after { | |
content: ''; | |
height: 100%; //You can change this if you want smaller/bigger borders | |
width: 1px; |
{# | |
https://www.drupal.org/node/1906780 | |
Beware of dump() | |
If you want to see all variables, but dump() results in exhausted memory because of recursion or the like, you can loop through _context to see the all the keys in it: | |
#} | |
<ol> | |
{% for key, value in _context %} | |
<li>{{ key }}</li> | |
{% endfor %} | |
</ol> |
Por weight:
global-styling:
...
css/styles.css { weight: -1 }
...
js/scripts.js { scope: footer, weight: -6 }
...
Al header:
http://www.stevepolitodesign.com/blog/drupal-configure-smtp-module-work-gmail-updated
Install and Configure SMTP Module
Install the SMTP Authentication Support module in the usual way.
Navigate to the configuration page admin/config/system/smtp
Under Turn this module on or off select On. You can leave Send mail by queue and Retry sending mail on error deselected by default, but selecting them won't affect Gmail.
// dependencies: | |
// - core/jquery | |
// - core/drupal | |
// - core/once | |
// https://www.drupal.org/docs/drupal-apis/javascript-api/javascript-api-overview | |
(function ($, Drupal, once) { | |
'use strict'; | |
Drupal.behaviors.myCustomBehavior = { |
Redirect everything to SSL (personal config on UNIX with IPv4, IPv6, SPDY, ...): http://stackoverflow.com/a/11733363/2172151
#
# Redirect all www to non-www
#
server {
git merge --squash branch
global $user; | |
$file = new stdClass(); | |
$file->fid = NULL; | |
$file->uri = 'private://' . $filename; | |
$file->filename = $filename; | |
$file->filemime = file_get_mimetype($file->uri); | |
$file->uid = $user->uid; | |
$file->status = 0; | |
file_save($file); |
<?php | |
$s = preg_replace('/\}|\{/', '', $query->__toString()); | |
$a = $query->arguments(); | |
foreach ($a as $key => $val) { | |
$a[$key] = '\'' . $val . '\''; | |
} | |
$select = strtr($s, $a); |