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 off | |
| for /l %%i in (1,1,5) do ( | |
| echo %%i | |
| ) | |
| pause |
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 off | |
| SET S=ABCDEFGHIJ | |
| echo %S% | |
| SET S=ABCDEFGHIJ | |
| echo %S:~3% | |
| SET S=ABCDEFGHIJ | |
| echo %S:~0,5% |
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
| from selenium import webdriver | |
| from webdriver_manager.chrome import ChromeDriverManager | |
| driver = webdriver.Chrome(ChromeDriverManager().install()) | |
| driver.get('http://tecsingularity.com/') |
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
| from selenium import webdriver | |
| # Open web-driver | |
| webDriver = webdriver.Chrome('chromedriver102.exe') | |
| # Access to URL | |
| webDriver.get('http://tecsingularity.com/') | |
| # Set image(window) size | |
| webDriver.set_window_size(1920, 1080) |
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
| from selenium import webdriver | |
| webDriver = webdriver.Chrome('chromedriver103.exe') | |
| webDriver.get('http://tecsingularity.com/') |
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 %date% | |
| echo %time% | |
| set time2=%time:~0,8% | |
| echo %time2% | |
| pause |
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
| import numpy as np | |
| matrix1 = np.array([[3, 4], | |
| [1, 1]]) | |
| matrix1_inv = np.linalg.inv(matrix1) | |
| print(matrix1_inv) | |
| print(np.dot(matrix1,matrix1_inv)) | |
| matrix2 = np.array([[1, 1, 2], | |
| [3, -1, 2], |
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
| ffmpeg -i input.mp3 -vcodec copy -af volume=6dB output_plus_6db.mp3 | |
| ffmpeg -i input.mp3 -vcodec copy -af volume=-6dB output_minus_6db.mp3 |
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
| ffmpeg -i input.mp4 | |
| ffmpeg -i input.mp4 -r 10 output_fps10.mp4 | |
| ffmpeg -i input.mp4 -r 60 output_fps60.mp4 | |
| pause |
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
| ffmpeg -y -stream_loop 10 -fflags +genpts -i input.mp3 -c copy input_10times.mp3 | |
| pause |
NewerOlder