This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery.extend({ | |
| userCount: function() { | |
| var result = null; | |
| $.ajax({ | |
| url:"yourURL.asp?param1="+val1+"¶m2="+val1=2, | |
| type: 'get', | |
| async: false, | |
| success: function(data) { | |
| result = data; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function selectionSort(items) | |
| { | |
| var itemLen = items.length; | |
| var min; | |
| for( i = 0; i < itemLen; i++){ | |
| min = i; | |
| for( j = i+1; j < itemLen; j++ ){ | |
| if(items[j] < items[min]){ | |
| min = j |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace SelectionSort | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[] inputAry = new int[] { 39, 12, 33, 68, 44 }; | |
| int aryLen = inputAry.Length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function binarySearch(sortedArry, itemToFind) | |
| { | |
| var minIndex = 0; | |
| var maxIndex = sortedArry.length - 1; | |
| while (minIndex <= maxIndex) | |
| { | |
| var midIndex = Math.floor((minIndex + maxIndex) / 2); | |
| if(sortedArry[midIndex] == itemToFind) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace BinarySearch | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[] inputArray = new int[4] { 10, 11, 12, 13 }; | |
| int key = 12; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo on | |
| for /f "tokens=1,2,3 delims=:. " %%x in ("%time%") do set t=%%x%%y%%z | |
| set time=%t% | |
| set sevenZip="C:\Program Files\7-Zip\7zG.exe" | |
| set outputFld="C:\Users\Shible.Noman\Desktop\ZipperBat\" | |
| set fileToZip="C:\Users\Shible.Noman\Desktop\ZipperBat" | |
| Echo zipping... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Google reCAPTCHA v3</title> | |
| <script src="https://www.google.com/recaptcha/api.js" async defer></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @if (count($errors) > 0) | |
| <div class="alert alert-danger"> | |
| <ul> | |
| @foreach($errors->all() as $error) | |
| <li> {{ $error }}</li> | |
| @endforeach | |
| </ul> | |
| </div> | |
| @endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object(Zofe\Rapyd\Demo\Menu)[204] | |
| protected 'guarded' => | |
| array (size=0) | |
| empty | |
| protected 'table' => string 'demo_menus' (length=10) | |
| protected 'parentColumn' => string 'parent_id' (length=9) | |
| protected 'leftColumn' => string 'lft' (length=3) | |
| protected 'rightColumn' => string 'rgt' (length=3) | |
| protected 'depthColumn' => string 'depth' (length=5) | |
| protected 'orderColumn' => null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $merge_vars=array( | |
| 'FNAME'=>'Aabir', | |
| ); | |
| $email = '[email protected]'; | |
| $send_data=array( | |
| 'email'=>array('email'=>$email), | |
| 'apikey'=>"", //API KEY | |
| 'id'=>"", //List ID | |
| 'merge_vars'=>$merge_vars, | |
| 'double_optin'=>false, |
NewerOlder