Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

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

Author: JP

Non classé 

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

July 22, 2016 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Non classé 

Git know which files will be changed before git pull

July 15, 2016 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Git 

Git: recover deleted files

June 1, 2016November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

Search for a file per name in the terminal

April 20, 2016 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Ubuntu 

How to update node on Ubuntu

February 3, 2016November 19, 2019 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Git 

Git how to check only a folder – Sparse checkout

December 1, 2015November 19, 2019 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Non classé 

Install WordPress and plugins with Composer

November 25, 2015 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Nginx 

Nginx – Configuration Error – Connection Refused

November 9, 2015November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Symfony2 

Symfony2 – How to see all the roads configured

October 26, 2015November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Git 

Git doesn’t fetch all branches in remote

September 15, 2015November 19, 2019 JP 0 Comments

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

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.