4 years ago by 1

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
  • 1367
4 years ago by 1

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

javascriptstringspalindrome
  • 1
  • 0
  • 900
4 years ago by 1

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

javascriptnan
  • 0
  • 0
  • 737
4 years ago by 1

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

javascriptarraysecond-largest
  • 3
  • 1
  • 15035
4 years ago by 1

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

javascriptarrayobjectsfor-of
  • 1
  • 0
  • 819
4 years ago by 1

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
  • 1940
4 years ago by 1

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
  • 5904
4 years ago by 1

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
  • 797
4 years ago by 1

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

javascript
  • 1
  • 0
  • 649
4 years ago by 1

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
  • 652
4 years ago by 1

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

javascriptuse-strict
  • 2
  • 0
  • 1057
4 years ago by 1

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
  • 1041
4 years ago by 1

I have a html table like below No Item Name Quantity Price 1 Abcd 12 10 2 decf 5 15 3 xyz 20 10 . . .

cssauto-numbercss3
  • 2
  • 0
  • 2323
4 years ago by 1

I have a xml sitemap file which contains all site urls like this   urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc . . .

xmlhtmlsitemap
  • 0
  • 0
  • 1369
4 years ago by 1

Given an integer value x, how to search a linked list and delete all nodes with data value greater than x? How to optimally do this in Javascript?Update on 2016-11-17I am implementing the list in jav . . .

javascriptlinked-listsearchremove
  • 7
  • 0
  • 1403