-
html – Make body have 100% of the browser height – Stack Overflow
“html {
height: 100%;
}
body {
min-height: 100%;
}” -
Angular – Set the Document Title
” public constructor(private titleService: Title ) { }”
-
this.titleService.setTitle( newTitle );
-
-
node.js – error ReferenceError: ObjectID is not defined – Stack Overflow
“var ObjectId = require(‘mongodb’).ObjectID;”
-
“When using findOneAndUpdate and related methods, mongoose doesn’t automatically run validation. To trigger this, you need to pass a configuration object. For technical reasons, this plugin requires that you also set the context option to query.
{ runValidators: true, context: ‘query’ }”
-
mongodb – How do you query for “is not null” in Mongo? – Stack Overflow
“db.mycollection.find({“IMAGE URL”:{$ne:null}});”
-
Eclipse Photon, Skip Welcome, CheckBox missing – Stack Overflow
“$WORKSPACE/.metadata/.plugins/org.eclipse.ui.intro/introstate
is a tag state with attribute reopen set to “true”. Changing that to “false” worked”
Mês: maio 2019
Update (weekly)
-
javascript – Importing lodash into angular2 + typescript application – Stack Overflow
“import _ from “lodash”;”
-
“if you really intend to set partial values, use patchValue method”
-
javascript – mongoose “Find” with multiple conditions – Stack Overflow
“{$or:[{region: “NA”},{sector:”Some Sector”}]}”
-
Angular Material Paginator: How to trigger go to first page event on ts file – Stack Overflow
“this.paginator.firstPage();
lastly you should change your paginator length, i made this like that;
this.paginator.length=mock.length;”
Update (weekly)
-
JavaScript | Array.find() Method – GeeksforGeeks
“Here the Array.find() method in JavaScript returns the value of the first element in the array that satisfies the provided testing function”
-
sql – How to query MongoDB with “like”? – Stack Overflow
“db.users.find({“name”: /.*m.*/})”
Posted from Diigo. The rest of my favorite links are here.