Skip to content

Instantly share code, notes, and snippets.

import 'package:firebase_messaging/firebase_messaging.dart';
class PushNotificationsManager {
PushNotificationsManager._();
factory PushNotificationsManager() => _instance;
static final PushNotificationsManager _instance = PushNotificationsManager._();
@JFernandoGomez
JFernandoGomez / introrx.md
Created June 4, 2018 21:19 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@JFernandoGomez
JFernandoGomez / phpzmqinstall.sh
Created November 10, 2016 10:08 — forked from Kamisama666/phpzmqinstall.sh
Installation of ZeroMQ and php-zmq extension on Ubuntu 14.04. Must be run as root
#!/bin/bash
cd /tmp
apt-get update
apt install -y libtool pkg-config build-essential autoconf automake uuid-dev git wget
git clone git://github.com/jedisct1/libsodium.git
cd libsodium/
./autogen.sh
./configure && make check
make install
ldconfig

What this does:

Within an <ion-scroll>, this directive creates sticky item headers that get bumped out of the way by the next item.

Demo: http://cl.ly/2u2X390s0H1a

Requirements:

  • Needs UnderscoreJS for its _.throttle utility.
  • Must be used within an or