Skip to content

Instantly share code, notes, and snippets.

View pidupuis's full-sized avatar

Pierre Dupuis 井磊 pidupuis

View GitHub Profile
pidupuis / snippets.cson
Last active April 26, 2016 14:41
Atom snippets for Angular2
'prefix': 'ngclass',
'description': 'Angular 2 ngClass snippet'
'body': """
[ngClass]=\"{${cssClass}: ${expression}}\"
'prefix': 'ngfor',
'description': 'Angular 2 *ngFor snippet'
pidupuis /
Last active October 18, 2016 07:51
How to clean a messy npm installation

## NPM installation

To install or upgrade nodejs and npm properly, run:

# Nodejs
## On Ubuntu
curl -sL | sudo -E bash -
sudo apt-get -y install nodejs

## On CentOS

Keybase proof

I hereby claim:

  • I am pidupuis on github.
  • I am pidupuis ( on keybase.
  • I have a public key whose fingerprint is 3589 98FB 5BFA 43FF EF16 1467 4F34 6C96 C914 19A9

To claim this, I am signing this object: