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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": ".NET Core Launch (web)", | |
"type": "coreclr", | |
"request": "launch", |
/* RESET */ | |
html, body, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, code, | |
del, dfn, em, img, q, dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td { | |
margin: 0; | |
padding: 0; |
# | |
# Run 'nvm use' automatically every time there's | |
# a .nvmrc file in the directory. Also, revert to default | |
# version when entering a directory without .nvmrc | |
# | |
enter_directory() { | |
if [[ $PWD == $PREV_PWD ]]; then | |
return | |
fi |
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
name: Create release | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
release: | |
name: Release pushed tag |
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
// A handy map of US state codes to full names | |
var usc = map[string]string{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", |
namespace Elusive | |
{ | |
using System; | |
using System.Collections.Concurrent; | |
/// <summary> | |
/// Provides easy management of singleton instances when IoC is not available. | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
public static class Singleton<T> |
#!/bin/bash | |
### Copy of https://gist.github.com/redthor/3776c1f726cafff41c9eda6f271466c3 | |
### Adding in comments explaining each line/command in order to help learning | |
### Set DRY_RUN=1 to only echo the commands instead of executing them | |
#DRY_RUN=1 | |
git rm -r --cached . | |
git add . | |
git commit -m "updated .gitignore is now working" |