7 years ago by noddy

How to check if a file exists in Node.js? How to check this asynchronously? . . .

nodejsfile-existsasynchronous
  • 0
  • 0
  • 3069
7 years ago by noddy

How do I exit a Node.js script gracefully when a condition is met? . . .

nodejsexitterminate
  • 2
  • 0
  • 1728
7 years ago by Prem

I changed some of the options on Visual Studio 2015 IDE from Tools -> Options menu. How do i reset it all back to default without having to re-install? . . .

visual-studio-2015vbnetsettings
  • 5
  • 1
  • 9561
7 years ago by gareth

How can i get a complete list of all built-in modules available with my Node.js installation? . . .

nodejscore-moduleslistnpm
  • 0
  • 0
  • 995
7 years ago by gareth

I am running Windows 10, what is the location where cookies are stored for IE11 and Edge? . . .

ie11edgecookieswindows10
  • 1
  • 1
  • 4898
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
  • 1057
7 years ago by mamdouh

I am trying to add two floating point numbers var sum = parseFloat(a) + parseFloat(b); How do i set the decimal precision of the result to one? Eg: 0.1+0.2 should give 0.3 . . .

javascriptfloatdecimalprecision
  • 0
  • 0
  • 879
7 years ago by mamdouh

I have to map an array of lowercase characters a to z to numbers 1 to 26. Example: [a,c,f] to [1,3,6] I tried  arr.map( function(x){ return (x-96); } )   However this returns an array o . . .

javascriptcharacter-asciiascii-conversionarraymap
  • 0
  • 0
  • 1697
7 years ago by mamdouh

I have an associated array $myarray = array(                      "foo1" => "bar1",                 . . .

phpassociative-arraystring
  • 0
  • 0
  • 1500
7 years ago by mamdouh

What is the best way to check if string is Palindrome in PHP? . . .

phppalindromestringfunction
  • 0
  • 0
  • 1573
7 years ago by mamdouh

Should i use isset() or array_key_exists()? . . .

phpassociative-array
  • 2
  • 0
  • 2239
7 years ago by mamdouh

Hi, echo "/n";   is not working for me somehow?   . . .

phpnewline
  • 1
  • 0
  • 847
7 years ago by Fischer

how can i check if samba is already installed or not in my raspberry pi? I have a folder named samba in /etc with 2 files smb.conf and gdbcommands  I can see 2 samba related packages in the list . . .

raspberry-pisamba
  • 1
  • 1
  • 3230
7 years ago by Fischer

I'm trying to edit the file /etc/samba/smb.conf in my Raspberry Pi using vi editor. When i try to save the file i get  this error "/etc/samba/smb.conf" E212: Can't open file for writing I am l . . .

raspberry-pivisambasmbconf
  • 1
  • 0
  • 1406
7 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
  • 1078