Posts

Showing posts from 2024

Git - moving commits from one project to another using patches

Do this in the source project (you want to move): git format-patch <hash_fist_commit> HEAD -o <folder_where_all_pathces_will_be_saved> Do this in the destination project (which you want new changes should appear): <folder_where_new_changes_should_appear>  -->      - ->  it can be the folder with another project in the monorepo project structure git am --directory= <folder_where_new_changes_should_appear>  --commit  <folder_with_patches>/<patch_file .patch > Attention : If you had errors like file still in index or file still in working tree your steps are: git rm --cached <file_name> rm <file_name> P.S.: before doing any manipulations like I described, you should make a back_up_copy of your repository. Author doesn't take any responsibility for your repo damage. Happy coding🤗

Web based instances of VSCode

Web-based instances of VSCode github.dev vscode.dev Github codespaces

ДЛЯ ПОДКЛЮЧЕНИЯ К ИНТЕНЕТУ ПО Bluetooth ЧЕРЕЗ МОБИЛУ в ASUS A696 WM6

ДЛЯ ПОДКЛЮЧЕНИЯ К ИНТЕНЕТУ ПО Bluetooth ЧЕРЕЗ МОБИЛУ в ASUS A696 WM6 Поборол отсутствие поля строки инициализации!!!  Думаю кому-то это пригодится, наверняка не только у меня такой прикол)) Берем любой редактор реестра и заходим в раздел HKLM\Drivers\Unimodem\Init там уже присутствуют: 1 - AT 2 - ATE0V1&C1&D2 создаём строковый параметр c именем в данном случае 3 и значением AT+CGDCONT=1,"ip","ваша точка доступа GPRS" после этого в подключениях обычным способом создать подключение через Bluetooth Dialup Modem и номером *99#, потом звоним как обычно.