- Each character is expressed by a 3-letter codon.
- Each codon is expressed by a 3-digit number in base 4.
A
is 0,C
is 1,G
is 2,T
is 3.- Example:
ACG = 0*4^2 + 1*4^1 + 2*4^0 = 6
, which represents the 7th letter of the alphabet, G. (since we start from 0)
- Example:
- Lower case letters are expressed by the numbers 0-25, upper case letters are expressed by the numbers 37-62. So lower case start with
AAA
and upper case start withGCC
. - The numbers 26-30 represent the characters
' '
,'.'
,','
,'!'
, and'?'
respectively. - The numbers 31-36 are not used, so are numbers greater than 62.
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
@echo off | |
echo Checking for update... | |
if exist youtube-dl.exe ( goto :computeSum ) else ( | |
echo It seems like you don't have youtube-dl on your computer. | |
goto :download | |
) | |
:computeSum | |
setlocal enableextensions enabledelayedexpansion | |
set /a counter = 0 | |
for /f "delims=" %%i in ('CertUtil -hashfile .\youtube-dl.exe SHA256') DO ( |