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
" ~/.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' |
I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc
config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,