This was tested on:
- Ubuntu 14.04 x64
- Ubuntu 16.04 x64
| dependencies[] = ctools | |
| ; Views Handlers | |
| files[] = views/mymodule_handler_handlername.inc |
| $values = array( | |
| array( | |
| 'title' => 'Example', | |
| 'uid' => 1, | |
| 'created' => REQUEST_TIME, | |
| ), | |
| array( | |
| 'title' => 'Example 2', | |
| 'uid' => 1, | |
| 'created' => REQUEST_TIME, |
| function remove-docker-containers | |
| echo "Stop running shit" | |
| docker stop (docker ps -q) | |
| echo "Remove the whale shit" | |
| docker rm (docker ps -a -q) | |
| end | |
| function remove-docker-images | |
| remove-docker-containers |
| <?php | |
| function render_menu_navigation($menu_name,$theme_alter = ''){ | |
| //Set system menu mobile | |
| $menu_tree = \Drupal::menuTree(); | |
| // Build the typical default set of menu tree parameters. | |
| $parameters = $menu_tree->getCurrentRouteMenuTreeParameters($menu_name); | |
| // Load the tree based on this set of parameters. | |
| $tree = $menu_tree->load($menu_name, $parameters); | |
| // Transform the tree using the manipulators you want. | |
| $manipulators = array( |
| [From: http://hanxue-it.blogspot.com/2018/08/macos-homebrew-installing-older-version-of-software.html - just created a copy to keep it for long term] | |
| Homebrew always wants to install the latest version of the Formula (software). This is by design, because every time there is an update to a formula, it wants to be tested against all the other formulas that it depends on. Mixing new and old versions of software is a recipe for incompatibility disaster. | |
| But sometimes there are situations where you need an older version of software. In my specific case, Yarn was compiled against an older version of icu4c, and I want that older version instead of recompiling Yarn. | |
| $ yarn install | |
| dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib | |
| Referenced from: /usr/local/bin/node |