- Nodejs -> https://nodejs.org/en/
- Typescript -> https://www.typescriptlang.org/
- Express -> http://expressjs.com/pt-br/
- Angular -> https://angularjs.org/
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
| // Option 1 | |
| @defining( | |
| (for { | |
| custo <- cotacaoItem.custo | |
| aliquotaSts <- custo.custoIcms.percentualAliquota | |
| aliquotaFornecedor <- cotacaoItem.produto.percentualAliquotaIcms | |
| cssClass <- if (aliquotaFornecedor.equals(aliquotaSts)) {Some("")} else {None} | |
| } yield { cssClass }) getOrElse { "red" } | |
| ) { cssClass => |
- Getting Real -> http://www.amazon.com/Getting-Real-Jason-Fried-ebook/dp/B0053KHGWM/ref=sr_1_2?ie=UTF8&qid=1417434564&sr=8-2&keywords=getting+real
- Rework -> https://37signals.com/rework
- The Pragmatic Programmer: From Journeyman to Master -> http://www.amazon.com/The-Pragmatic-Programmer-Journeyman-Master/dp/020161622X/ref=pd_sim_b_40?ie=UTF8&refRID=1C5QKVRR1RC45BRTRBFA
- Refactoring: Improving the Design of Existing Code -> http://www.amazon.com/gp/product/0201485672/ref=s9_psimh_gw_p14_d12_i4?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-2&pf_rd_r=13XTHB4RKQ3H35TH2BZX&pf_rd_t=36701&pf_rd_p=1970567562&pf_rd_i=desktop
- Working Effectively with Legacy Code -> http://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052/ref=pd_sim_b_3?ie=UTF8&refRID=0NFDX09AB5N8Y6EM4BB5
- Extreme Programming Explained: Embrace Change, 2nd Edition (The XP Series) -> http://www.amazon.com/Extreme-Programming-Explained-Embrace-Edition/dp/0321278658/ref=pd_sim_b_16?i
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
| // This Gist doesn't work with Graphql because of the deep nature of "selections" object | |
| import { get } from 'lodash' | |
| const memoizedResults = {} | |
| export default (serializer: string, fn: Function): Function => async ( | |
| ...args: Array<any> | |
| ): Promise<Object> => { | |
| const [serializable, selections] = args | |
| const identifier = get(serializable, 'id', get(serializable, 'uid')) |
OlderNewer
