7 years ago by mamdouh

How do I search for a string inside a field in MongoDB? In SQL if i want to search name column for a string pizza SELECT * FROM restaurants WHERE name LIKE '%pizza%'; What is the equivalent of . . .

mongodbsearchstringpatternlike
  • 1
  • 0
  • 1148
7 years ago by gareth

What is the command to check the version of powershell? . . .

powershellversion
  • 0
  • 0
  • 1139
5 years ago by Khouloud Saidi

hello, I am developing a quality app ó and performance of code which makes the analysis of other application develop in angular node and symfony it is an application which gathers bcp to sona . . .

performance-qualitycodequalit-code-sourceperformance-codesonarqube
  • 1
  • 0
  • 1114
8 years ago by rijo

What is the most efficient way to check if a string is a palindrome? . . .

javascriptstringspalindrome
  • 1
  • 0
  • 1113
8 years ago by josh

There is an array of objects with a string attribute called name and a number attribute called age.  arr = [ {name: "abba", age: 23}, {name: "lovely", age: 23}, {name: "vincent", age: 5}, {name: . . .

sortingjavascriptjson
  • 3
  • 0
  • 1104
7 years ago by guruprakash

Error when printing a report from VB.net "  at System.Drawing.SafeNativeMethods.StartDoc( HandleRef hDC, DOCINFO lpDocInfo)" & vbCrLf & "   at System.Drawing.Printing.StandardPrintC . . .

vbneterrorprint-controllerprint
  • 0
  • 0
  • 1100
8 years ago by Fischer

I want to refresh the content of a div periodically (eg: every 5s) . . .

ajaxjqueryhtml
  • 2
  • 0
  • 1086
8 years ago by noddy

How do i list all files or directories starting with 'a' or 'b' using ls? I tried ls a* and it doesn't work? . . .

linuxls
  • 0
  • 0
  • 1080
7 years ago by mamdouh

Hi, I have lost the root password to my Ubunbtu machine (Release 16.04.1). Is there anyway to recover it? I have access to a non admin account only right now. . . .

ubuntupasswordrootresetforgot-password
  • 0
  • 0
  • 1073
7 years ago by josh

How can i check the version of CentOS that is installed on a machine from command line? . . .

centosversioncommand-line
  • 1
  • 0
  • 1073
7 years ago by raj

I have python3.5 installed. When I try to do  apt install python3 It says python3 is already the newest version(3.5.1-3) But when I run python --version It says python is not installed, r . . .

pythonpathversionaptinstall
  • 0
  • 0
  • 1070
7 years ago by Binoy

I have a table with 3 columns, say col1, col2, col3 I want to copy all the data from col2 to col3, how can i do that? . . .

mysqlsql
  • 0
  • 0
  • 1059
8 years ago by George

My outlook doesnt show any alert when a new mail comes. In the previous versions i  used to see a mail icon near to date time area in task bar and also hear a sound.  . . .

outlookoffice
  • 1
  • 0
  • 1050
8 years ago by noddy

How to set environment variables like PATH? How to do this from shell and how to make it available permanently? Is the command same for various distributions? . . .

linuxenvironment-variablepath
  • 1
  • 0
  • 1039
4 years ago by Riley

On a Windows Forms application that i am developing with C# on Visual 2017, trying to write a string variable to the output window as below. using System.Diagnostics; Debug.WriteLine(MyStringVar); . . .

vs2017debugwritelinedebugwritec
  • 0
  • 0
  • 1028