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

Tutorials - Other

By editor , 24 July, 2017

Git - Errors and problems

Tags

  • Git
  • Error

Cannot push Git to remote repository with http/https

return code 22 fatal: git-http-push failed

By editor , 7 July, 2017

Étiquettes Git - Git l'utilisation des balises

Tags

  • Code
  • Git

Tag une branche / Version git

git tag THE_TAG_NAME

 

Pousser les balises ou d'une balise à l'origine ripository

git push --tags

 

Afficher les balises de liste

git tag

By editor , 7 July, 2017

Git Tags - Git tag usage

Tags

  • Code
  • Git

Tag a branche / Version on git

git tag THE_TAG_NAME

 

Push tags or a tag to origin ripository

git push --tags

 

Show tags list

git tag

By editor , 26 June, 2017

Date on Linux Shell / Bash command line

Tags

  • Linux
  • Shell

Print / Check Date from command line

date

Set date from the command line

date +%Y%m%d -s "20170430"

Set time from the command line

date +%T -s "12:00:00"

By editor , 19 June, 2017

Test a webpage for Retina display

Tags

  • Testing
  • CSS
  • Theming

To test retina display, just adjust the screen pixel ratio.

By editor , 16 June, 2017

Linux shell output - Handle StdOut

Tags

  • Linux
  • Shell

The linux shell/bash terminal default behaviour is print output to the terminal (StdOut : Standard output). But sometimes we need to change this behaviour like save toi a file, display noting ... Here some exaple of user case.

By editor , 10 June, 2017

PHP : Get Class Name

Tags

  • Module
  • Code
  • PHP

The structure of the examples are like:
namespace Drupal\mymodule\Tools;
class MyTools extends MyToolsBase {
...
}
...
class MyToolsBase {
  public function showClass() {
    $class_name = ....

By editor , 28 March, 2017

Php OOP - Examples and Tips

Tags

  • PHP

Different between self:: and static (Late Static Bindings)

Static references to the current class like self:: or __CLASS__ are resolved using the class in which the function belongs, as in where it was defined.

By editor , 22 March, 2017

SSH Login Without Password

Tags

  • Server
  • Linux

Method 1:

By editor , 20 March, 2017

Static cache Control by .htacces

Tags

  • Linux
  • Server

Static cache Control by .htacces

If not already done, you must enable apache headers (mod_headers.c) module

Check module is enabled or not:
ls /etc/apache2/mods-enabled/

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page

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