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 , 13 June, 2016

.bashrc File - Configure bash aliases functions commands... on Linux Unix and MacOSX

Tags

  • Linux
  • Shell

The .bashrc file is a script that is executed whenever a new terminal session is started in interactive mode. It is just the shortcut to the commands allows the user to launch any command or group of commands.

By editor , 11 June, 2016

Images processing using ImageMagick (convert)

Tags

  • Shell
  • Linux
  • Images

Crop images using convert (ImageMagick)

Example (Single file):
convert input.jpg -crop 1300x950+312+72 crop.jpg
convert input.jpg -crop 1300x950-100-50 crop.jpg

By editor , 10 June, 2016

Git - Ignore Files, Directories, Permissions

Tags

  • Shell
  • Server
  • Git

1 Ignore files And Folders using .gitignore Files (Include and/or Exclude)

Create the gitignore file at the top of your repository,i f it's not already exist

By editor , 1 June, 2016

CSS Filters - Edit Image/Div using filter Property

Tags

  • Theming
  • CSS

Filters list (Syntaw)

filter: none | blur() | brightness() | contrast() | drop-shadow() | grayscale() | hue-rotate() | invert() | opacity() | saturate() | sepia() | url();

Examples:

Convert  block/image ... to black and white (Gray out):

By editor , 20 April, 2016

Show & Set Date and Time by Command Prompt on Linux

Tags

  • Shell
  • Linux

To show the Date / Time on Linux

date

To show the hardware Clock (RTC) on Linux

hwclock -r
OR
hwclock --show
OR show time in UTC (Coordinated Universal Time)
hwclock --show --utc

By editor , 13 April, 2016

SASS LESS Configuration file. config.rb

Tags

  • Theming
  • CSS

Example 1. SASS (SCSS)

http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"

Example 2. SASS (SCSS)

By editor , 4 April, 2016

Open URL with name and password (Apache Htaccess, FTP ...)

Tags

  • Linux
  • Server
  • PHP

Examples with username and password:

https://name:pass@yourdomain.com

ftp://name:pass@yourdomain.com
​ftp://name:pass@ftp.yourdomain.com

ssh name:pass@yourdomain.com

Examples with username:

By editor , 4 April, 2016

SSL self signed / Override certificate check

Tags

  • Linux
  • Shell
  • PHP
  • SSL/TLS

On linux (wget)

wget --no-check-certificate https://yourdomain.com
wget --no-check-certificate https://name:pass@yourdomain.com

On Apache PHP

By editor , 4 March, 2016

Theming guide pour le framework Bootstrap

Tags

  • Theming
  • JavaScript
  • CSS

Modal dialogue box ( bootstrap / jquery)

1. Remobe the gray background of modal dialog  box (modal-backdrop)
.modal-backdrop {
  background-color: transparent;
}

2. Modal dialog  box Theming

By editor , 4 March, 2016

Theming tips for Bootstrap framework

Tags

  • Theming
  • JavaScript
  • CSS

Modal dialogue box ( bootstrap / jquery)

1. Remobe the gray background of modal dialog  box (modal-backdrop)


.modal-backdrop {
  background-color: transparent;
}

2. Modal dialog  box Theming

Pagination

  • First page
  • Previous page
  • …
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • 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