- Online access
- User roles and permissions
- Code display and formatter
- Link to code/line of.
- Pull Requests
- Collaboration on code and issues
- CI/CD automation
- Git tags and versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Prevent errors in a pipeline from being masked | |
set -o pipefail | |
set -e | |
# A script that generates a simple txt report for all the rich texts (that allow HTML value) on a Drupal 7.x project. | |
# The report is searching inside each field for special HTML tags or shortcodes. | |
# The script is useful for Migration processes as also as for a general overview of the HTML tags found inside fields. | |
# Requires drush 8.x, php. Can also work with ddev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.abbott | |
*.abogado | |
*.abudhabi | |
*.ac | |
*.academy | |
*.accountant | |
*.accountants | |
*.aco | |
*.actor | |
*.ad |
There is always an enaqx/awesome-react for reference!
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
- https://kentcdodds.com/blog/javascript-to-know-for-react
- https://nextjs.org/learn/foundations/from-javascript-to-react/essential-javascript-react
- https://www.digitalocean.com/community/tutorials/understanding-javascript-promises
- https://reactjs.org/docs/glossary.html (may prefer to read from https://beta.reactjs.org)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get lists of software etc used on a Drupal 8.x site | |
// Get drupal projects | |
drush pml --status="enabled" | |
// Get non core Drupal projects installed | |
drush pml --status="enabled" --no-core --format="table" | |
// Get php party libraries | |
composer show -i |
A simple pricing estimation method to avoid cost and time pitfalls. See more at http://www.gizra.com/content/budget-goggles/.
- Everyone should understand the "pricing" table (simple naming etc)
- Split the project to undestandable taks
- Set max of 12hr for a task (more hr cannot be accurate)
- Setup a human language for the tasks
- Create group of tasks with a visible result (eg a webpage, a complete functionality etc)
- Write zero prices for almost zero time tasks (eg a Drupal login)
- With Drupal we can split tasks and estimate time is easier because of the architecture of the CMS (menu, entities, fields etc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# IMPORTANT. My phpstom installation exists on /opt/phpstorm. | |
# Early Access program: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program | |
# For stable releases try: https://data.services.jetbrains.com/products/download?code=PS&platform=linux | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "Sorry, you are not root." | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Works in Next.js 10.x | |
*/ | |
import React from 'react' | |
import parse, { | |
domToReact, | |
attributesToProps, | |
Element, | |
HTMLReactParserOptions, | |
} from 'html-react-parser' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inventory name is "hosts" | |
// Example of inventory | |
[group] | |
SERVER_NAME ansible_connection=ssh ansible_ssh_user=SSH_USER ansible_python_interpreter=PATH_TO_REMOTE | |
_PYTHON | |
// List hosts | |
ansible -i hosts all --list-hosts | |
// Show info for each host | |
ansible -i hosts all -m setup |