Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Utility

By editor , 11 June, 2018

rsync : Backup data on linux

Tags

  • Linux
  • Utility
  • Server

rsync is a powerfull tool to synchronize the files and directories. Can be use for local or remote using ssh.

Source Tutorial : https://www.thegeekstuff.com/2010/09/rsync-command-examples/

Syntax
rsync options source destination

By editor , 15 December, 2017

Test website load using AB (ApacheBench)

Tags

  • WebService
  • Server
  • Linux
  • Utility

The apache benchmark tool is very basic, and while it will give you a solid idea of some performance.

Some parameters:

By editor , 28 November, 2017

Create Bootable USB key from ISO on Linux

Tags

  • Linux
  • Utility
  • Shell

To create a bootable USB memory on linux you have several solutions. The famous dd is the most powerful solution, but use carefully. Because a very small error may destroy all your data.

By editor , 4 October, 2016

Drupal Utility Components and functions

Tags

  • Drupal 8
  • Code
  • Utility

Drupal Utility list

ArgumentsResolver, ArgumentsResolverInterface, Bytes, Color, Crypt, DiffArray, Environment, Html, Image, NestedArray, Number, OpCodeCache, Random, Rectangle, SafeMarkup, SortArray, Tags, Timer, ToStringTrait, Unicode, UrlHelper, UserAgent, Variable, Xss

By editor , 13 June, 2016

Correct a broken HTML file or a HTML String

Tags

  • PHP
  • Code
  • Drupal 8
  • Utility

Example 1 : With DOMDocument: (Fast (0.0002 sec) but can have php warning)

Utility

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer