What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:43:02
list all collections in the MongoDB shell
db.getCollectionNames() Add solution -
-
VBA 2021-08-26 10:42:02
excel vba get a range of full rows or columns
'To get a contiguous range of entire rows, use this VBA function: Function WSRows(ws As Worksheet, Row1&, Rows&) Set WSRows = ws.Rows(Row1).Resize(Rows) End Function '----------------------------------------------------------------- Msg... Add solution -
Javascript 2021-08-26 10:42:02
get current url angular
import { ActivatedRoute, Params } from '@angular/router'; @Component(...) export class MyComponent implements OnInit { constructor (private activatedRoute: ActivatedRoute){} ngOnInit() { this.activatedRoute.params.subscribe((params: Params)... Add solution -
Shell/Bash 2021-08-26 10:42:01
What causes a defunct process on the Linux system and how can you avoid it?
When you create a process, it sticks around until its parent reaps it. (If its parent exits first, it will get auto-reaped.) A process can reap its children using wait or waitpid. It can also cause it's children to be automatically reaped by using local... Add solution -
Shell/Bash 2021-08-26 10:42:01
Call to undefined function factory() in Psy Shell code on line 1
In Laravel 8, the factory helper is no longer available. Your Thread model class should use `HasFactory` trait, then you can use your factory like this: Thread::factory()->count(50)->create(); For more : https://laravel.com/docs/8.x/database-test... Add solution
Best helpers
Ranking is empty