This file contains 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 utmLocalstorageTag() { | |
const queryString = window.location.search; // url query string | |
const urlParams = new URLSearchParams(queryString); // get parameters in url | |
// get required parameters for the LocalStorage management | |
const utm_medium_value = urlParams.get('utm_medium'); | |
if (utm_medium_value) { | |
const previousMediumValue = getItem("_utmMedium"); // check for previous UTM medium value in LocalStorage |
This file contains 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
import java.util.ArrayList; | |
import java.util.List; | |
public class InterviewQuestion { | |
public static void main(String[] args) { | |
int arr[] = { 2, 2, 3, 4 }; | |
int num = 4; | |
System.out.println("Number is: " + num + "and its count :" + countNum(arr, num)); |
This file contains 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
import json | |
# a Python object (dict): | |
x = [{ | |
"name": "John", | |
"age": 30, | |
"city": "New York" | |
}, | |
{ | |
"name": "sandeep", |
create a react application
npx create-react-app react-merm-app
This file contains 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
%macro test(start, finish, inc, limit); | |
%let y=0; | |
%end; | |
%do i= %sysevalf(&start) %to %sysevalf(&finish);/* %by &inc;*/ | |
%if (&y < &limit) %then %do; | |
%let y = %SYSEVALF(&i**2); | |
%put the value of i is &i , &y; | |
%let start =%SYSEVALF(&i+ &inc); |
This file contains 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
%macro test(start, finish, inc, limit); | |
%let y=0; | |
%end; | |
%do i= %sysevalf(&start) %to %sysevalf(&finish);/* %by &inc;*/ | |
%if (&y < &limit) %then %do; | |
%let y = %SYSEVALF(&i**2); | |
%put the value of i is &i , &y; | |
%let start =%SYSEVALF(&i+ &inc); |
Create .mintty folder with subfolder themes in c:\Users\< >
Example:
C:\Users\sandeep\.mintty\themes
Download '.minttyrc' files from https://github.com/iamthad/base16-mintty and add them to themes folder.
NewerOlder