Skip to content

Instantly share code, notes, and snippets.

View ctalladen78's full-sized avatar

Cy Talladen ctalladen78

View GitHub Profile
// Golang client library for Firebase Cloud Messaging.
// It uses Firebase Cloud Messaging HTTP protocol: https://firebase.google.com/docs/cloud-messaging/http-server-ref.
package fcm
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"net/http"
import 'package:flutter/material.dart';
class GoogleMapsClonePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: <Widget>[
CustomGoogleMap(),
CustomHeader(),
@ctalladen78
ctalladen78 / emojis.json
Created February 24, 2021 07:04 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128103;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128102;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "&#128104;&zwj;&#128105;&z
@ctalladen78
ctalladen78 / main.dart
Created February 19, 2021 15:07 — forked from collinjackson/main.dart
ColorFilter example
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
/// Applies a color filter before painting its child.
class ColorFiltered extends SingleChildRenderObjectWidget {
/// Creates a widget that color filters its child.
///
/// The [colorFilter] argument must not be null.
const ColorFiltered({
@ctalladen78
ctalladen78 / gist:e6150f787b351924d7e5b17bf530e07d
Created January 21, 2021 07:47
RXDart PublishSubject example
```
import 'dart:async';
import 'package:rxdart/rxdart.dart';
void main() {
var streamCtrl = PublishSubject<String>();
streamCtrl.stream.listen(observer1);
streamCtrl.stream.listen(observer2);
action(streamCtrl.sink);
}
@ctalladen78
ctalladen78 / all_aws_managed_policies.json
Created December 23, 2020 16:21 — forked from bernadinm/all_aws_managed_policies.json
A list of all AWS managed policies and they're policy documents as well as a short script to generate the list
{
"AWSAccountActivityAccess": {
"Arn": "arn:aws:iam::aws:policy/AWSAccountActivityAccess",
"AttachmentCount": 0,
"CreateDate": "2015-02-06T18:41:18+00:00",
"DefaultVersionId": "v1",
"Document": {
"Statement": [
{
"Action": [
@ctalladen78
ctalladen78 / repository_pattern.md
Last active September 11, 2020 22:27
repository_pattern.md
@ctalladen78
ctalladen78 / introrx.md
Created September 11, 2020 19:30 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@ctalladen78
ctalladen78 / master-javascript-interview.md
Created September 10, 2020 18:12 — forked from Geoff-Ford/master-javascript-interview.md
Eric Elliott's Master the JavaScript Interview Series
@ctalladen78
ctalladen78 / mgoExample.go
Created September 8, 2020 23:13 — forked from border/mgoExample.go
mgo example
package main
import (
"fmt"
"labix.org/v2/mgo"
"labix.org/v2/mgo/bson"
"time"
)
type Person struct {