Skip to content

Instantly share code, notes, and snippets.

@maxlapshin
maxlapshin / systemd.erl
Last active December 24, 2022 17:28
Systemd support
-module(systemd).
% This is what you need to adopt systemd in erlang
%
% Do whatever you want license. If you want, you can take this code under terms of MIT license.
-export([ready/0, reloading/0, stopping/0, watchdog/0]).
-export([start_link/0]).
-export([init/1, handle_info/2, terminate/2]).

#Phoenix 1.1.x to 1.2.0 Upgrade Instructions

Project Generator

To generate new projects as 1.2.0, install the new mix archive:

mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez

Deps

@pixelhandler
pixelhandler / intro-to-ember-data.md
Last active November 27, 2017 14:48
Introduction to Ember Data, notes from a talk at Ember-SC in Jan. '14

Introduction to Ember Data

What is Ember Data?

Ember Data is a library that integrates tightly with Ember.js to make it easy to retrieve records from a server, cache them for performance, save updates back to the server, and create new records on the client.

Ember Data can load and save records and their relationships served via a RESTful JSON API, provided it follows certain conventions.