Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français

Author: JP

Wordpress 

WordPress – how to install wp-cli on Ubuntu

February 13, 2020February 24, 2020 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Nginx 

Nginx – phpmyadmin configuration as location next to a website

January 30, 2020January 30, 2020 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Bash 

Search and replace in the terminal

November 15, 2019November 19, 2019 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Symfony4 

Upload multiple files to an entity with Symfony4 and VichUploaderBundle

March 25, 2019November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Symfony4 

Symfony 4 – How to debug twig with dump()

March 12, 2019November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Javascript 

Background script

July 30, 2018November 26, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

Xdebug installation with php 5.6 and Ubuntu

July 25, 2017 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Non classé 

Docker: How to use XDebug with docker-compose

September 13, 2016 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Docker 

Docker: How to use nano

August 10, 2016November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Bash 

Bash – How to know where the script is

July 27, 2016November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • 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.