Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français
Wordpress
February 13, 2020 JP

WordPress – how to install wp-cli on Ubuntu

Start by downloading wp-cli curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Then give him the right to be executed chmod +x wp-cli.phar Then move

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Nginx
January 30, 2020 JP

Nginx – phpmyadmin configuration as location next to a website

To start, install phpmyadmin at the desired location. compose create-project phpmyadmin/phpmyadmin I prefer to use composer, but there are other

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Bash
November 15, 2019 JP

Search and replace in the terminal

On Ubuntu it is possible to search and replace a word or phrase with a simple command line sed -i’s/original/new/g’

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Symfony4
March 25, 2019 JP

Upload multiple files to an entity with Symfony4 and VichUploaderBundle

Preparation   To begin with we need an entity Product as well as a ProductImage entity that will contain the

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Symfony4
March 12, 2019 JP

Symfony 4 – How to debug twig with dump()

To have a usable rendering of twig’s ‘dump’ command like this: just use this command: composer require debug –dev

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Javascript
July 30, 2018 JP

Background script

To launch a script in the background from the terminal, just use the command tmux Once inside, just run the

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Non classé
July 25, 2017 JP

Xdebug installation with php 5.6 and Ubuntu

First of all you have to install the xdebug package for php5.6 sudo apt-get install php-xdebug Then you have to

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Non classé
September 13, 2016 JP

Docker: How to use XDebug with docker-compose

Docker In the docker-composer.yml file create an image/php Import: build: images/php Ports: – 80:80 Volumes: – .. /..:/ var/www find

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Docker
August 10, 2016 JP

Docker: How to use nano

To use nano in docker, you have to update the apt-get, install nano. Trying to open a file you can

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Bash
July 27, 2016 JP

Bash – How to know where the script is

To find out which folder the script is being executed in, and it doesn’t matter where it’s called DIR””$( cd

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
  • ← Previous
  • Next →
  • Français
  • English

Recent Posts

  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
Copyright © 2025 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.
Jean-Pierre Lambelet
Proudly powered by WordPress Theme: ColorMag.