Remove imagemagick
sudo apt-get --purge remove imagemagick
sudo apt autoremove
Install Required package:
sudo apt-get install build-essential
sudo apt-get install checkinstall
| import React from "react"; | |
| import { NextPageContext } from "next"; | |
| const blogPostsRssXml = (blogPosts: IBlogPost[]) => { | |
| let latestPostDate: string = ""; | |
| let rssItemsXml = ""; | |
| blogPosts.forEach(post => { | |
| const postDate = Date.parse(post.createdAt); | |
| if (!latestPostDate || postDate > Date.parse(latestPostDate)) { | |
| latestPostDate = post.createdAt; |
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var styleEl = document.getElementById('css-layout-hack'); | |
| if (styleEl) { | |
| styleEl.remove(); | |
| return; | |
| } | |
| styleEl = document.createElement('style'); | |
| styleEl.id = 'css-layout-hack'; |
| <?php | |
| /** | |
| * Command line tasks. | |
| * | |
| * @codingStandardsIgnoreStart | |
| * @codeCoverageIgnore | |
| * @SuppressWarnings(PHPMD) | |
| */ | |
| class RoboFile extends \Robo\Tasks { |
Remove imagemagick
sudo apt-get --purge remove imagemagick
sudo apt autoremove
Install Required package:
sudo apt-get install build-essential
sudo apt-get install checkinstall
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
2026: Not working anymore
| name: client | |
| recipe: drupal7 | |
| config: | |
| webroot: docroot | |
| xdebug: true | |
| php: '7.1' | |
| via: nginx | |
| services: | |
| appserver: | |
| composer: |
[Update 2024] - Take a look at Drupal at your fingertips. Lot's of great stuff there.
// Load file object
$file = File::load($fid);| <?php | |
| /** | |
| * Implements hook_field_widget_WIDGET_TYPE_form_alter(). | |
| * | |
| * Place this code into YOUR_MODULE.module file replacing YOUR_MODULE placeholder | |
| * with your modules' name. | |
| */ | |
| function YOUR_MODULE_field_widget_commerce_product_variation_attributes_form_alter(&$element, FormStateInterface $form_state, $context) { | |
| // Make ajax responsive changes on attribute fields' properties. |