Skip to content

Instantly share code, notes, and snippets.

View atyrachma's full-sized avatar
🍊
I may be slow to respond.

Aty Rachmawati atyrachma

🍊
I may be slow to respond.
View GitHub Profile
@oanhnn
oanhnn / how_to.md
Created May 14, 2017 16:47
How to fix composer error "Content-Length Mismatch"

First, run:

$ composer config --list --global        //this will get the composer home path.
[home] /root/.composer                   //it's my composer home path.

And then, edit the config.json in [home] directory, make it like this:

{
  "config": {
 "github-protocols": [