Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français
Non classé
July 22, 2016 JP

PHP – NGINX: How to pass the PHP_AUTH_USER and PHP_AUTH_PW variables

In the Nginx configuration, just add the configuration fastcgi_param $http-authorization if_not_empty HTTP_AUTHORIZATION; authentication variables to be filled out. From 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 15, 2016 JP

Git know which files will be changed before git pull

To know which file is going to be modified, you have to start by fetching the branches fetch git then

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
June 1, 2016 JP

Git: recover deleted files

To recover the delete files, automatically without specifying the path git ls-files -d xargs git checkout —

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é
April 20, 2016 JP

Search for a file per name in the terminal

To find a file per name in the terminal, just use Find. -type f-name "nameFile"

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Ubuntu
February 3, 2016 JP

How to update node on Ubuntu

sudo npm cache clean -f sudo npm install -g n sudo n stable sudo ln -sf /usr/local/n/versions/node/5.4.1/bin/node /usr/bin/node

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
December 1, 2015 JP

Git how to check only a folder – Sparse checkout

Since git 1.7.0 it is possible to use a technique called the sparse checkout The steps for clones are: Mkdir<repo></repo>

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é
November 25, 2015 JP

Install WordPress and plugins with Composer

Installing WordPress via Composer has often been difficult, fortunately there is now a solution! WordPress On Github there is a

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
November 9, 2015 JP

Nginx – Configuration Error – Connection Refused

By setting up nginx it can happen that then it is not possible to connect to the server and that

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Symfony2
October 26, 2015 JP

Symfony2 – How to see all the roads configured

To see all the routes configured in the symfony2 application, just use the command: php app/console router:debug

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
September 15, 2015 JP

Git doesn’t fetch all branches in remote

Sometimes when you work with git, you don’t find all the remote branches. Even after using git fetch that do

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.