Lets start with a code for the command Prompt:
This is a very useful code in the command Prompt to detect current and maximum processor clock speed ....
wmic cpu get CurrentClockSpeed,MaxClockSpeed /every:2 ( a number)
___________
Now lets focus on some useful notes/codes that I learned today: ( JavaScript with w3schools )
(1) A code to search for a specified value within a string.
var str="Hello vaheh";
document.write(str.match("vaheh"));
(2) A code to replace for a specified value within a string.
var str="Hello vaheh";
document.write(str.replace("vaheh","vman"));
And lastly, an interesting code that i wrote today! click on the button to check the results.