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
| { | |
| "header": { | |
| "Variant": "standard", | |
| "Generator": "NONE", | |
| "Base": "Base", | |
| "Date": "2017-10-13", | |
| "KLL": "0.5c", | |
| "Author": "jbondeson (Jeremy Bondeson) 2017", | |
| "Version": "0.2", | |
| "Name": "KType", |
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
If you have a package where a lot of people are still using a legacy version of it you might want to keep pushing (security-)fixes to that "branch".
Let's say the "latest" version of your package is "5.4.0", but there is as significant amount of people still using "4.7.4" – the last version you released before doing "5.0.0".
You found a critical bug in "5.4.0" and push it as out as "5.4.1", but it applies to "4.7.4" as well and so you want to do "4.7.5".
Assuming you have semantic-release already set up, you can follow these steps to get that "4.7.5" legacy support release out.
git checkout v4.7.4git checkout -b 4.x (You can choose any branch name, just make sure to use the same in step 3)| var Aws = require('aws-sdk'); | |
| var sinon = require('sinon'); | |
| // Only works for 'createBucket', 'update' and a few others since most API methods are generated dynamically | |
| // upon instantiation. Very counterintuitive, thanks Amazon! | |
| var createBucket = sinon.stub(Aws.S3.prototype, 'createBucket'); | |
| createBucket.yields(null, 'Me create bucket'); | |
| // For other methods, we can 'assign' the stubs to the proto, already defined function won't be overridden | |
| var listBuckets = Aws.S3.prototype.listBuckets = sinon.stub(); |
| var ko = require('knockout'); | |
| ko.components.register('simple-name', require('./components/simple-name/simple-name.js')); | |
| ko.applyBindings({ userName: ko.observable() }); |
| git diff --name-only v0.3 v0.4 | xargs -I{} rsync -Rv "{}" ~/Desktop/destination-dir/ |
| //Grunt Spritesmith plugin | |
| sprite: { | |
| build: { | |
| src: ['src/img/sprite/*.png'], | |
| destImg: 'build/img/s-' + timestamp + '.png', | |
| destCSS: 'src/scss/common/sprite.scss', | |
| imgPath: '../img/s-' + timestamp + '.png', | |
| algorithm: 'binary-tree', | |
| engine: 'gm', | |
| 'engineOpts': { |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| // placeholder styling (use: @include placeholder(#e5e5e5);) | |
| @mixin placeholder($color){ | |
| &::-webkit-input-placeholder { | |
| color: $color; | |
| } | |
| &:-moz-placeholder { /* Firefox < 18 */ | |
| color: $color; | |
| opacity: 1; | |
| } | |
| &::-moz-placeholder { /* Firefox >= 19 */ |