Skip to content

Instantly share code, notes, and snippets.

abhishek abhishekdagarit

Block or report user

Report or block abhishekdagarit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Moving files using command prompt
How to move files in the Windows command line (MS-DOS)
move stats.doc c:\statistics
If you'd like to move multiple files, you can separate the file names with a comma, as in the following command.
move stats.doc, morestats.doc c:\statistics
In the next example, we are moving the file "example.doc" to the D:\ drive.
@abhishekdagarit
abhishekdagarit / Deleting files through command prompt
Created Nov 26, 2018
Deleting files through command prompt
View Deleting files through command prompt
Examples:
Delete "Hello World.txt"
DEL "Hello World.txt"
Delete 3 named files:
DEL file1.txt file2.txt "C:\demo\file3.txt"
@abhishekdagarit
abhishekdagarit / Replace an occurrence of a text in XML
Created Nov 26, 2018
Replace an occurrence of a text in XML
View Replace an occurrence of a text in XML
powershell -Command "(gc combined.xml) -replace '<root>', '' | Out-File updatedXML.xml"
@abhishekdagarit
abhishekdagarit / Combining XMLs into 1 using command prompt
Created Nov 26, 2018
Combining XMLs into 1 using command prompt
View Combining XMLs into 1 using command prompt
for %f in (*.xml) do type "%f" >> combined.xml
@abhishekdagarit
abhishekdagarit / Finding a string through command prompt
Created Nov 26, 2018
Finding a string through command prompt
View Finding a string through command prompt
find "martin hendrikx" C:\Users\Martin\Desktop\exercise.txt
@abhishekdagarit
abhishekdagarit / Disable mouse scroll wheel zoom on embedded Google Maps
Created Oct 25, 2016
Disable mouse scroll wheel zoom on embedded Google Maps
View Disable mouse scroll wheel zoom on embedded Google Maps
Question:
I work on a WordPress site where the authors usually embed Google Maps using iFrames in most posts.
Is there a way to disable the zoom via mouse scroll wheel on all of them using Javascript?
Solution:
I was having the same problem: when scrolling the page then the pointer becomes over the map,
it starts to zoom in/out the map instead of continuing scrolling the page. :(
View SAS lecture 1.md

#Printing datasets in SAS

proc print data=work.intro;
run;

Where clause

View Vectors in R.md

Vectors in R

Creating a vector

Use c() function

vector_1 <- c(23,4,2)
vector_2 <- c("p", "q", "r")
vector_3 <- c(TRUE, FALSE, FALSE)
View R Basics.md

Assignment operator

Assign the value 42 to x

x <- 31
Other_shit <- 4
You can’t perform that action at this time.