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
Source: https://gist.github.com/varyonic/dea40abcf3dd891d204ef235c6e8dd79 | |
Change log: | |
1. replaced "dl-ssl.google.com" with "dl.google.com" according https://www.google.com/linuxrepositories/ | |
2. replaced "apt-key" as "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))." | |
3. use https | |
Julien updates: | |
1. since this does not work for recent version of chrome, chrome version must be selected rather than the latest version taken. | |
I had to match a version of the chrome driver here: https://chromedriver.storage.googleapis.com/ |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
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
:helper_removeOutQuotes | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
set variableName=%1 | |
set variableValue=!%variableName%! | |
set "variableValue=!variableValue:~1,-1!" | |
endlocal & call Set "%~1=%variableValue%" | |
goto:eof | |
rem eg: call :helper_getEchoedValue !cmd! result | |
:helper_getEchoedValue |
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
<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?controls=0&autoplay=1&start=85&mute=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |