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 . . .
laravelsitemaplaravel53What is the most efficient way to check if a string is a palindrome? . . .
javascriptstringspalindromeSample: myArray = [1, 2, 4, 10, 20,100] How to find second largest value without sorting the array or latering its contents? . . .
javascriptarraysecond-largestI have var arr = [ { name: 'a', value: 1 }, { &nb . . .
javascriptarrayobjectsfor-ofI 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 . . .
socialitetwitterlaravelauthenticationoauth1I'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-2015vbnetI 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 . . .
javascriptarrayWhen should I use eval() in Javascript ? What are the pros and cons of using eval() ? . . .
javascriptSome of the codebase that I am working on has scripts starting with ; and ending with (); What is the purpose of this? . . .
javascriptSome of the javascript codebase that I am working on has "use strict"; What is the use of this? . . .
javascriptuse-strictHi, 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-instancespluginsI have a html table like below No Item Name Quantity Price 1 Abcd 12 10 2 decf 5 15 3 xyz 20 10 . . .
cssauto-numbercss3I 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 . . .
xmlhtmlsitemapGiven 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