Skip to content

Instantly share code, notes, and snippets.

View Maccodonaldo's full-sized avatar

Daniel Hoppe Alvarez Maccodonaldo

  • PricewaterhouseCoopers GmbH
  • Düsseldorf
  • 20:37 (UTC +01:00)
View GitHub Profile
@JohannesRudolph
JohannesRudolph / time-ago.pipe.spec.ts
Created December 1, 2016 09:58
Angular2 TimeAgo Pipe
import { fakeAsync, tick } from '@angular/core/testing';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/interval';
import 'rxjs/add/operator/takeWhile';
import { TimeAgoPipe } from './time-ago.pipe';
import { WrappedValue } from '@angular/core';
// Learning
# Android SDK setup
## Install Java
```bash
sudo apt-get update
sudo dpkg --add-architecture i386
sudo apt-get install libbz2-1.0:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
sudo apt-get install openjdk-8-jdk openjdk-8-jre