This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ViewChild, ViewChildren, Component, AfterViewChecked, OnDestroy, OnInit, ElementRef, Inject, Output, EventEmitter, HostListener, HostBinding} from "@angular/core"; | |
import { DOCUMENT } from '@angular/platform-browser'; | |
import { RafManager} from '../lib/animations/raf-manager'; | |
declare var cordova: any; | |
/** | |
* A very simple sticky component. Supports stacking multiple. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BehaviorSubject } from 'rxjs/BehaviorSubject'; | |
class ExampleForMike { | |
private userStream$: BehaviorSubject<any>; | |
public getStream():BehaviorSubject<> { | |
return this.userStream$; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CONFIG = {} | |
// Application colors. | |
CONFIG.colors = { | |
// Base | |
transparent: 'transparent', | |
}; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { BehaviorSubject } from 'rxjs/BehaviorSubject'; | |
export interface AlertConfig { | |
description?: string; | |
okButtonLabel?: string; | |
cancelButtonLabel?: string; | |
okCallback?: Function; | |
displayLoading?: boolean; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## A script to make a series of pngs that uses alpha transparency into an animated gif. | |
## Gifs only support 100% transparent or a 100% opaque pixel colors so imagemagick will convert your 80% transparent color into 100%. | |
## Requires: Imagemagick | |
# Make all transparency into white pixels. | |
mogrify -background white -alpha remove *.png | |
# Convert the white pixels back to transparency. | |
for f in *.png | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
/** | |
* Main Application entry point. | |
*/ | |
class App extends Component { | |
render() { | |
var place = 'yo'; | |
return ( | |
<div> |
NewerOlder