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
| type ValueType = number | |
| const InvalidValue: ValueType = 1 << 0, | |
| StringValue: ValueType = 1 << 1, | |
| NumberValue: ValueType = 1 << 2, | |
| NilValue: ValueType = 1 << 3, | |
| BoolValue: ValueType = 1 << 4, | |
| ArrayValue: ValueType = 1 << 5, | |
| ObjectValue: ValueType = 1 << 6 |
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
| // | |
| // 1. Дано N ячеек с произвольным содержимым (content: number) | |
| // | |
| // 2. На вход поступает содержимое произвольной длины (number) | |
| // | |
| // 3. Нужно распределить входящее содержимое по ячейкам так, чтобы сначала заполнить наиболее полные ячейки | |
| // | |
| // 4. Если места не хватает, надо упасть с ошибкой | |
| // | |
| // Например: |
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
| <?php | |
| /** | |
| * DropLib - DropBox API Class | |
| * | |
| * @package DropLib | |
| * @version 2.0.1 | |
| * @copyright Copyright 2011 by Jonas Doebertin. All rights reserved. | |
| * @author Jonas Doebertin | |
| * @license Sold exclusively on CodeCanyon | |
| */ |
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
| Общее: | |
| - Криптовалюта (курсера): https://www.coursera.org/learn/cryptocurrency | |
| - ML: https://tproger.ru/digest/machine-learning-materials/amp | |
| - ML: https://habrahabr.ru/company/ods/blog/322626/ | |
| - ML (курс): https://www.udacity.com/course/machine-learning-engineer-nanodegree--nd009 | |
| - Микросервисы от Авито: https://habrahabr.ru/company/avito/blog/331418 | |
| - Kotlin (android app): https://android.jlelse.eu/learn-kotlin-while-developing-an-android-app-part-2-e53317ffcbe9 | |
| - КУРСЫ: https://habrahabr.ru/post/331530 | |
| - Регулярки: http://telegra.ph/Regulyarnye-vyrazheniya-dlya-samyh-malenkih-12-12 | |
| - Оценка сложности алгоритмов: https://tproger.ru/articles/computational-complexity-explained/ |
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
| <?php | |
| /** | |
| * L2 file decoder (4 october 2011). | |
| * @author Hint aka Ilya | |
| */ | |
| function decode($filename, $original = true) | |
| { | |
| $file = @file_get_contents($filename); |