0 - Memory Allocation
1 - Arrays
2 - Pointer Basics
2 - Same code to ASM via godbolt/GCC
3 - C-Bits Bitwise Operators and binary operations.
Learn about Bit Order | Endianess (MSB/LSB) https://github.com/Acry/Byte_Drawer
| # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware | |
| # File Created: 13.02.2012 10:27:00 | |
| mtllib 13450_Bag_of_Gold_v1_L3.mtl | |
| # | |
| # object 13450_Bag_of_Gold | |
| # | |
| v 8.4021 1.5151 8.8908 |
| " ~/.idea-lazy.vim | |
| " LazyVim mappings for Jetbrains IDEs | |
| " Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle | |
| " IDEAVim | |
| " Which-Key | |
| " IdeaVim-Sneak | |
| " To install, add this to the top of your ~/.ideavimrc: |
| git clone https://github.com/libsdl-org/SDL | |
| cd SDL | |
| mkdir build | |
| cd build | |
| cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. | |
| cmake --build . --config Release --parallel | |
| sudo cmake --install . --config Release |
| cd SDL3 | |
| mkdir build | |
| cd build | |
| cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64" .. | |
| cmake --build . --config Release --parallel | |
| sudo cmake --install . --config Release |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define MAX_VALUE 5 | |
| //x16 -> 1,2,3,4,5,4,2,1,2,3,4,5,4,3... | |
| int main() { | |
| for (int n = 0; n < 16; ++n) { // измените количество шагов, если нужно | |
| int x = MAX_VALUE - abs(MAX_VALUE - (n % (2 * (MAX_VALUE - 1)))); | |
| printf("%d\n", x); |
0 - Memory Allocation
1 - Arrays
2 - Pointer Basics
2 - Same code to ASM via godbolt/GCC
3 - C-Bits Bitwise Operators and binary operations.
Learn about Bit Order | Endianess (MSB/LSB) https://github.com/Acry/Byte_Drawer
| #include<stdlib.h> | |
| int nod(int x, int y) { | |
| int a = abs(x); | |
| int b = abs(y); | |
| if (b > a) { | |
| int temp = b; | |
| a = b; | |
| b = temp; | |
| } |
| -- Pavel Pavlov @ 2023 | |
| -- Project "Floating image as Status with forward/backward loop icon switch" | |
| --=========== UI config ================ | |
| -- XML : write ID you want, write name in image from asset as your default image, | |
| -- width and heithg are size of your image | |
| -- offsetXY or position - x,y coordinate where your icon appear after loading | |
| -- [[ in the begining and ]] in the end are muliline Lua syntax |
| local iconSet = {} | |
| local index = {} | |
| --=============== Тут нужно поменять значения =============== | |
| -- index["ВАШЕ_НАЗВАНИЕ_ID_В_BUTTON"] - их будет столько сколько у вас кнопок-статусов | |
| -- iconSet["ВАШЕ_НАЗВАНИЕ_ID_В_BUTTON"] = {В кавычках, через запятую имена - | |
| -- нзвания файлов тайлов-иконок, сколько их чередуется в одной кнопке-статусе | |
| -- в меню Modding-Scripting-Закладка Global-Custom UI Assets | |
| -- (Это молоток и гаечный ключ справа вверху панельки) | |
| -- Нажмите красный плюс там чтобы добавить} | |
| -- !!! Важно - в XML файле id в <Button> должны точно свопадать с названиями в index и iconSet |
| let mapleader = ' ' | |
| "====================================================================== | |
| " Плагины | |
| "====================================================================== | |
| call plug#begin() | |
| Plug 'morhetz/gruvbox' | |
| Plug 'nlknguyen/papercolor-theme' | |
| " Поддержка русского языка при переключении режимов | |
| Plug 'lyokha/vim-xkbswitch' |