Skip to content

Instantly share code, notes, and snippets.

Avatar

Pierre Dupuis 井磊 pidupuis

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am pidupuis on github.
  • I am pidupuis (https://keybase.io/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:

@pidupuis
pidupuis / snippets.cson
Last active Apr 26, 2016
Atom snippets for Angular2
View snippets.cson
'.source.html':
'ngClass':
'prefix': 'ngclass',
'description': 'Angular 2 ngClass snippet'
'body': """
[ngClass]=\"{${cssClass}: ${expression}}\"
"""
'ngFor':
'prefix': 'ngfor',
'description': 'Angular 2 *ngFor snippet'
@pidupuis
pidupuis / npm.md
Last active Oct 18, 2016
How to clean a messy npm installation
View npm.md

## NPM installation

To install or upgrade nodejs and npm properly, run:

# Nodejs
## On Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get -y install nodejs

## On CentOS