- AllScripts (Phone/Remote/SF)
- Jane Technologies Technical Screen (Santa Cruz)
- Paul from GAP (SF)
- Laurend from StormWind (Remote)
| // mongoose 4.3.x | |
| var mongoose = require('mongoose'); | |
| /* | |
| * Mongoose by default sets the auto_reconnect option to true. | |
| * We recommend setting socket options at both the server and replica set level. | |
| * We recommend a 30 second connection timeout because it allows for | |
| * plenty of time in most operating environments. | |
| */ | |
| var options = { server: { socketOptions: { keepAlive: 300000, connectTimeoutMS: 30000 } }, |
| import Foundation | |
| import XCPlayground | |
| XCPSetExecutionShouldContinueIndefinitely() | |
| /** | |
| * Paste all the code from the following file | |
| - https://github.com/lingoer/SwiftyJSON/blob/master/SwiftyJSON/SwiftyJSON.swift | |
| **/ |