2 years ago by noddy

How to detect when pipe completed and define a callback? Reader.pipe(Writer); Which is better place to define callback,  Reader.on('end', function(){ }); or Writer.on('finish', function() { . . .

nodejspipestreamfinishend
  • 1
  • 0
  • 515
2 years ago by noddy

How to check if a path is file or directory? . . .

nodejspathfiledirectory
  • 0
  • 0
  • 2907
2 years ago by noddy

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

nodejsfile-existsasynchronous
  • 0
  • 0
  • 1956
2 years ago by noddy

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

nodejsexitterminate
  • 2
  • 0
  • 809
2 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
  • 7384
2 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
  • 535
2 years ago by gareth

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

ie11edgecookieswindows10
  • 0
  • 1
  • 2612
2 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
  • 494
2 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
  • 475
2 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
  • 793
2 years ago by mamdouh

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

phpassociative-arraystring
  • 0
  • 0
  • 585
2 years ago by mamdouh

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

phppalindromestringfunction
  • 0
  • 0
  • 1009
2 years ago by mamdouh

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

phpassociative-array
  • 2
  • 0
  • 1382
2 years ago by mamdouh

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

phpnewline
  • 1
  • 0
  • 432
2 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
  • 0
  • 1405