Skip to content

Instantly share code, notes, and snippets.

View aissa-bouguern's full-sized avatar

Aissa BOUGUERN aissa-bouguern

View GitHub Profile
@szemate
szemate / package-lock-conflicts.md
Last active March 28, 2024 13:37
How to resolve package-lock.json conflicts

How to resolve package-lock.json conflicts

It is not possible to resolve conflicts of package-lock.json in GitHub's merge tool and you need to do a manual merge.

  1. Update the master branch with the latest changes:
    git checkout master
    git pull
    
  2. Merge your feature branch into master:
@khalidahmada
khalidahmada / wp-mailhog-config-smtp.php
Created August 10, 2018 11:14
Config Wordpress SMTP for MailHog - test your emails local
/*
* Add the MailHog to your wordpress projects
* By Khalid Ahmada
* MailHog @see https://github.com/mailhog/MailHog
*/
class WP_MAILHOG
{
function __construct()