Update Drupal core with Drush

Update Drupal core with Drush

Tips update Drupal core with Drush:

  1. Make sure you enabled "Update manager" module otherwise enable it with Drush by command: drush en update
  2. Always backup your site and database before update Drupal core.
  3. Run Drush command to update Drupal core: drush up drupal

Add icon to readmore link with bootstrap theme and display suite

Add mouse click `goto definition` in sublime text 3

Config SublimeText 3 enable mouse click 'goto definition':
Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User
Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User
Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User

[
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",
"command": "goto_definition"
}
]
Tags: 

Fix Drush fail download dev module on Windows

In drush/commands/pm/package_handler/wget,inc

// Add to URL so it is part of the cache key . Dev snapshots can then be cached forever. 
if (strpos($release['download_link'], '-dev') !== FALSE) { 
   $release['download_link'] .= '?date=' . $release['date']; 
} 
$filename = basename($release['download_link']);

should probably be replaced with this: