2 years ago by noddy

Hi I am trying to create a nodejs server running on port 3000. I have already installed express (npm install express). I am getting the following error message TypeError: express.createServer is not . . .

nodejsexpressserver
  • 2
  • 0
  • 4121
2 years ago by Vikas

how can i start a elevated command prompt in windows 10? . . .

windows-10command-prompt
  • 2
  • 0
  • 394
2 years ago by Mark

Is it possible to find the number of lines of code in a Visual Basic.NET Project? I want to count the lines (excluding comments and line breaks) in all the source files of a visual basic solutio . . .

visual-basicvbnetvisual-studio-2010
  • 1
  • 0
  • 487
2 years ago by mamdouh

Without any additional plugins what is the easiest way to generate a sitemap for your Laravel application? Most solutions around suggest using a plugin like laravel-sitemap package by Roume . . .

laravelsitemaplaravel53
  • 3
  • 0
  • 628
2 years ago by rijo

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

javascriptstringspalindrome
  • 1
  • 0
  • 504
2 years ago by jsRant

What is the most reliable way to test if a variable is NaN? . . .

javascriptnan
  • 0
  • 0
  • 456
2 years ago by jsRant

Sample: myArray = [1, 2, 4, 10, 20,100] How to find second largest value without sorting the array or latering its contents? . . .

javascriptarraysecond-largest
  • 1
  • 0
  • 2845
2 years ago by jsRant

I have var arr = [     {        name: 'a',        value: 1    },    {  &nb . . .

javascriptarrayobjectsfor-of
  • 1
  • 0
  • 506
2 years ago by Fischer

I am using Socialite2.0 with Laravel5.3 Facebook and Google authentication are working well. With twitter, it fails because twitter is not sending back email id. The createOrGetUser() method is . . .

socialitetwitterlaravelauthenticationoauth1
  • 1
  • 0
  • 989
2 years ago by Mark

I'm using Visual Studio 2015 Community edition to create a Windows IoT background application on VB.NET. When I try to debug with watch on certain variables, i see the message "To inspect the native . . .

windows-iotvs-2015vbnet
  • 1
  • 0
  • 3367
2 years ago by jsRant

I know we can use Math.min to do this .apply() on Math function makes it accept unlimited arguments Array.min = function( array ){ return Math.min.apply( Math, array ); }; How to do this with . . .

javascriptarray
  • 2
  • 1
  • 468
2 years ago by jsRant

When should I use eval() in Javascript ? What are the pros and cons of using eval() ? . . .

javascript
  • 1
  • 0
  • 365
2 years ago by jsRant

Some of the codebase that I am working on has scripts starting with ; and ending with (); What is the purpose of this? . . .

javascript
  • 0
  • 0
  • 377
2 years ago by jsRant

Some of the javascript codebase that I am working on has  "use strict"; What is the use of this? . . .

javascriptuse-strict
  • 2
  • 0
  • 547
2 years ago by josh

Hi, I have multiple tinyMCE instances like  <script src="//cdn.tinymce.com/4/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ selector: '#my . . .

tinymcejavascriptmultiple-instancesplugins
  • 1
  • 0
  • 661