Code

How to install Homebrew, Composer, Git and WGET on Mac OSX High Sierra, Mojave, Catalina, Big Sur, Monterey

NOTE: This post is a few years old and may be outdated, but I did just install the following on a new iMac M1 in 2022 and here’s what worked: First, Git comes installed by default on most Mac and Linux machines. To check if you have Git installed, open your Terminal and type git

A simple example of Flexbox in action

Let’s make a grid like this: 1 2 3 4 5 6 7 8 Here’s the HTML: Here’s the CSS: That’s it. That’s the whole tutorial!

Tutorial: How to Migrate from Drupal 6 or 7 to Drupal 8

Overview As Drupal 8 does not allow you to upgrade an existing drupal 6 or 7 database to the Drupal 8 structure, content and configuration must be migrated over. To facilitate this, there are a few modules created to assist with this effort. See: https://www.drupal.org/docs/8/upgrade/upgrading-from-drupal-6-or-7-to-drupal-8 Considerations There are two ways currently offered to run migration efforts:

Tutorial: How to Migrate from WordPress to Drupal

For WordPress to Drupal Migrations you can use the wordpress_migrate Module. The only caveat I’ve noticed is the lack of support for multiple post types. If that’s a concern and content is your only focus, the Universal route may be the way to go. For the migration of menus I’ve found the menu_import module very useful. You can setup

React Native and Drupal — App integration

Installation Main commands (You can also check https://facebook.github.io/react-native/docs/running-on-device.html) After cloning the project. On the project folder. Run: npm install#To download the node packages into the node_modules folder. If you don’t have un-met dependencies. This should be the main command to run the app with the ios simulator:react-native start iOS This other command is the generic one

.gitignore Icon files from Google Drive

If you checkout a Git repo into Google Drive each directory gets a hidden “Icon” file: You can modify the .gitignore file with a simple “?” at the end of the “Icon” and that will ignore it. # OS generated files # ###################### .DS_Store* ehthumbs.db Icon?