x - allocation number
y - diff allocated at iteration between old and new memory
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 mp4 to wav format `ffmpeg -i <infile> -ac 2 -f wav <outfile>` | |
| join wav files `ffmpeg -i 1.wav -i 1.wav -i 1.wav -i 1.wav \ | |
| -filter_complex '[0:0][1:0][2:0][3:0]concat=n=4:v=0:a=1[out]' \ | |
| -map '[out]' output.wav` |
Example by docs
- Install gcc, avr-gcc, avr-objcopy, avrdude
- Use updaload.sh
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
| package hw03frequencyanalysis | |
| import ( | |
| "regexp" | |
| "sort" | |
| ) | |
| var r = regexp.MustCompile(`\s+`) | |
| func Top10(text string) []string { |
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
| package hw05parallelexecution | |
| import ( | |
| "errors" | |
| "sync" | |
| "sync/atomic" | |
| ) | |
| var ErrErrorsLimitExceeded = errors.New("errors limit exceeded") |
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
| package hw06pipelineexecution | |
| type ( | |
| In = <-chan interface{} | |
| Out = In | |
| Bi = chan interface{} | |
| ) | |
| type Stage func(in In) (out Out) |
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
| package hw02unpackstring | |
| import ( | |
| "errors" | |
| "strconv" | |
| "strings" | |
| "unicode" | |
| ) | |
| const escapeSymbol string = "\\" |
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
| #!/bin/bash | |
| set -e | |
| TEX_FILE="cv.tex" | |
| OUTPUT="cv.pdf" | |
| BASE_NAME="Sam_Shaplygin_CV" | |
| echo "→ Building PDF..." | |
| pdflatex -interaction=nonstopmode $TEX_FILE > /dev/null |
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 requests | |
| query = 'Только не по лицу' | |
| genre = 10 | |
| def get_genres(): | |
| """ | |
| Функция отправляет запрос к Балабобе, | |
| и получает в ответ список жанров. |

