- Go package
- Ruby: script for caching a user's submissions on disk
This file contains 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
var App = Ember.Application.create({}); | |
var Promise = Ember.RSVP.Promise; | |
// ADAPTER | |
App.ApplicationAdapter = DS.FirebaseAdapter.extend({ | |
firebase: new Firebase("https://<your-firebase-name>.firebaseio.com/") | |
}); |
This file contains 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
/* | |
This example shows how you can use your data structure as a basis for | |
your Firebase security rules to implement role-based security. We store | |
each user by their Twitter uid, and use the following simplistic approach | |
for user roles: | |
0 - GUEST | |
10 - USER | |
20 - MODERATOR |
NewerOlder