Skip to content

Instantly share code, notes, and snippets.

@kwv
kwv / RepositoryWrapper.ts
Last active Mar 15, 2018
RXJS couchdb sync
View RepositoryWrapper.ts
// https://forum.ionicframework.com/t/ionic-2-best-way-to-use-observables-and-local-storage-couchdb-with-custom-server-db/51133/3
constructor() {
//observable that is notified of new records when connected and authenticated
this.pendingSync$ = new Observable(observer =>
this._pendingSyncObserver = observer).share();
//observable of all pending records for user
this.recordStoreObserver = new BehaviorSubject(undefined);
@kwv
kwv / GIF-Screencast-OSX.md
Created Dec 12, 2017 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: