A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
| worker_processes auto; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |
| require 'httparty' | |
| # TVDB | |
| TVDB_API_KEY = '[your api key]' | |
| TVDB_USERNAME = '[your username]' | |
| TVDB_USERKEY = '[your user key]' | |
| image_prefix = 'http://thetvdb.com/banners/' | |
| # get token | |
| response = HTTParty.post('https://api.thetvdb.com/login', { |
| require 'httparty' | |
| # TMDB | |
| TMDB_API_KEY = '[your api key]' | |
| # get configuration parameters | |
| response = HTTParty.get("https://api.themoviedb.org/3/configuration?api_key=#{TMDB_API_KEY}") | |
| config = JSON.parse(response.body) | |
| image_prefix = config['images']['secure_base_url'] |
| require 'httparty' | |
| # Fanart.tv | |
| FANART_API_KEY = '[your api key]' | |
| FANART_CLIENT_KEY = '[your client key]' | |
| # -------------------- | |
| # movie iamges | |
| tmdb_id = 20526 # Tron: Legacy |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| /** | |
| * extend the localStorageService (https://github.com/grevory/angular-local-storage) | |
| * | |
| * - now its possible that data stored in localStorage can expire and will be deleted automagically | |
| * - usage localStorageService.set(key, val, expire) | |
| * - expire is an integer defininig after how many hours the value expires | |
| * - when it expires, it is deleted from the localStorage | |
| */ | |
| app.config(($provide) => { | |
| $provide.decorator('localStorageService', ($delegate) => { |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?