Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Ciesielski ciesielskico

View GitHub Profile
@ciesielskico
ciesielskico / parse-ionic2.md
Last active Sep 6, 2019
Ionic 2 Beta + Parse Server Javascript SDK
View parse-ionic2.md

Integrate Parse Javascript SDK with Ionic 2 Beta

1 Install dependencies

  • npm install parse --save
  • tsd install parse --save // if you use Typescript

2 Modify the 'scripts' task in gulpfile.js to this:

gulpfile.js

View index.html - error
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular 2 App</title>
<base href="/"> {{content-for 'head'}}
<link rel="icon" type="image/x-icon" href="favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ciesielskico
ciesielskico / introrx.md
Created Jul 6, 2016 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
@ciesielskico
ciesielskico / moment-date-adapter.de.ts
Last active Jan 14, 2021
Angular Material 2 Date Adapter for Moment JS (German only)
View moment-date-adapter.de.ts
import { DateAdapter, MdDateFormats } from '@angular/material';
import * as moment from 'moment';
// MomentJS
// http://momentjs.com/docs/
const MONTHS = {
'long': ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
'short': ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
'narrow': ['Ja', 'Fe', 'Mä', 'Jn', 'Jl', 'Au', 'Se', 'Ok', 'No', 'De']