Skip to content

Instantly share code, notes, and snippets.

View alexciesielski's full-sized avatar

Alexander Ciesielski alexciesielski

View GitHub Profile
@alexciesielski
alexciesielski / moment-date-adapter.de.ts
Last active January 14, 2021 10:25
Angular Material 2 Date Adapter for Moment JS (German only)
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']
@alexciesielski
alexciesielski / introrx.md
Created July 6, 2016 14:44 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
<!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">
@alexciesielski
alexciesielski / parse-ionic2.md
Last active September 6, 2019 16:19
Ionic 2 Beta + Parse Server Javascript SDK

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