Getting started with MongoDB

Version Release Date3.4 2016-11-293.2 2015-12-083.0 2015-03-032.6 2014-04-082.4 2013-03-192.2 2012-08-292.0 2011-09-121.8 2011-03-161.6 2010-08-311.4 2010-03-251.2 2009-12-10 Execution of a JavaScript file in MongoDB ./mongo localhost:27017/mydb myjsfile.js Explanation: This operation executes the myjsfile.js …

Devamını Oku..

UIDatePicker

Create a Date Picker Swift let datePicker = UIDatePicker(frame: CGRect(x: 0, y: 0, width: 320, height: 200) Objective-C UIDatePicker *datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(x: 0, y: 0, width: 320, height: …

Devamını Oku..

Pitfalls

Whitespace When Assigning Variables Whitespace matters when assigning variables. foo = ‘bar’ # incorrect foo= ‘bar’ # incorrect foo=’bar’ # correct The first two will result in syntax errors (or …

Devamını Oku..

Design Patterns

The Publish/Subscribe (Pub/Sub) Pattern When a Bash project turns into a library, it can become difficult to add new functionality. Function names, variables and parameters usually need to be changed …

Devamını Oku..