This file contains hidden or 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
| bower ^1.6.5 → ^1.7.1 | |
| gulp-ng-config ^1.0.0 → ^1.2.1 | |
| gulp-replace ~0.5.3 → ~0.5.4 | |
| gulp-sass ^2.0.4 → ^2.1.1 | |
| gulp-stubby-server ^0.1.3 → ^0.1.5 | |
| gulp-uglify ^1.0.0 → ^1.5.1 | |
| main-bower-files ^2.0.0 → ^2.9.0 | |
| bower ^1.6.5 → ^1.7.1 |
This file contains hidden or 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
| - request: | |
| url: ^/admin/applications$ | |
| method: POST | |
| post: > | |
| {.*"name":"App Exist".*} | |
| response: | |
| headers: | |
| content-type: application/json | |
| status: 422 | |
| latency: 1000 |
This file contains hidden or 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 list = [ | |
| {id: 1, name:"A"} | |
| ] | |
| var oldItem = {id: 1, name:"AAA"} | |
| _.update(list, oldItem); | |
| // → [ | |
| {id: 1, name:"AAA"} | |
| ] |
This file contains hidden or 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
| lsof -i tcp:8888 |
This file contains hidden or 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
| function sortBy (column) { | |
| if( vm.sortColumn === column ) { | |
| vm.sortDsc = !vm.sortDsc; | |
| } else { | |
| vm.sortColumn = column; | |
| vm.sortDsc = false; | |
| } | |
| } | |
| function sortClass(column) { |
This file contains hidden or 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
| function serial(tasks) { | |
| var prevPromise; | |
| angular.forEach(tasks, function(task) { | |
| //First task | |
| if (!prevPromise) { | |
| prevPromise = task(); | |
| } else { | |
| prevPromise = prevPromise.then(task); | |
| } | |
| }); |
This file contains hidden or 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
| find . -name '*.orig' -delete |
This file contains hidden or 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
| (function() { | |
| 'use strict'; | |
| angular | |
| .module('app') | |
| .directive('hasError', function($timeout) { | |
| return { | |
| restrict: 'A', | |
| require: '^form', | |
| link: function(scope, iElement, iAttrs, formCtrl) { |
This file contains hidden or 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
| <form name="loginForm" no-validate ng-submit="loginForm.$valid && login()"> | |
| <form-group> | |
| <label for="username">Username</label> | |
| <input type="text" id="username" name="username" required> | |
| </form-group> | |
| <form-group> | |
| <label for="password">Password</label> | |
| <input type="password" id="password" name="password" required> | |
| </form-group> | |
| <button type="submit">Login</button> |
This file contains hidden or 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
| git checkout -b {branch temporaria} | |
| git cherry-pick {hash do commit} | |
| git push -u origin {branch temporaria} |