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
| alias awslogin='function _login(){ aws-vault --debug login $1 --stdout | xargs -t "c:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome" --args --incognito --new-window; }; _login' |
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
| public class ProviderA : Controller | |
| { | |
| public static Dictionary<string, object> Called = new Dictionary<string, object>(); | |
| [Route("api/list/{status}")] | |
| public IEnumerable<Product> Get(string status = "") | |
| { | |
| var results = new List<Product> {Mockery.Message}; | |
| Called["get"] = status; |
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
| mockproviderA: | |
| build: ./providerA | |
| environment: | |
| ENVIRONMENT: local | |
| REGION: local | |
| ports: | |
| - "2000:2000" | |
| mockproviderB: | |
| build: ./providerB | |
| environment: |
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
| # auto rebase | |
| git config --global pull.rebase true | |
| # autorebase | |
| git config --global pull.rebase true | |
| # set up mergetool | |
| git config --global mergetool.meld.path /C/utils/Meld/Meld | |
| # useful shortcuts |
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
| Backbone.Events.on("saveGroup", function (currentTab) { | |
| console.log('store called'); | |
| Store.saveGroups(ko.toJS(that), currentTab); | |
| }); | |
| this.dispose = function () { | |
| Backbone.Events.off("saveGroup"); | |
| }; |