Posts

Избранное сообщение

ДЛЯ ПОДКЛЮЧЕНИЯ К ИНТЕНЕТУ ПО 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#, потом звоним как обычно.

Git tips, tricks and some explanations

Image
Git tips, tricks and some explanations Полезные встроенные графические инструменты (для винды): gitk - Графический просмотрщик для коммитов git gui - Чё-то наподобие среды для GIT (ну GUI есть гуй :-) Создаём Псевдонимы: $ git config --global alias. ch checkout $ git config --global alias. br branch $ git config --global alias. co commit $ git config --global alias. st status $ git config --global alias. visual '!gitk'  Пример использования: $ git st Чтобы создать ветку и сразу же перейти на неё, вы можете выполнить команду: $ git checkout -b имя_ветки Допустим, вы разобрались с проблемой  hotfix   и готовы объединить эту ветку и свой master . Чтобы сделать это, мы сольём ветку имя_ветки в ветку master . Всё, что вам нужно сделать, — перейти на ту ветку, в которую вы хотите слить свои изменения, и выполнить команду git merge : $ git checkout master (переход в master) $ git merge имя_ветки (сливание[объединение]) Вы можете удалить ветку с по

Cleaning the Docker (Чистим докер или тотальная нехватка места на жестком диске)

Image
  Чистим докер или тотальная нехватка места на жестком диске Удаление образов, контейнеров и томов Docker Prune unused Docker objects How To Remove Docker Containers, Images, Volumes, and Networks для тех кто не любит много читать - рецептик: (Docker - How to cleanup (unused) resources Все операции по чистке докера должны быть обдуманными, автор не несет ответственности за Ваши потерянные данные в докер контейнерах )).

Linux tips and tricks for web-dev

Image
Linux tips and tricks for web-dev's show file/folders rights in drxr & 777 formats :     stat -c '%A %a %n' /<your_folder>/ monitor changing file :   tail -f -n 10 var/log/dev.log download big file with cURL :   curl --location 'https://<your_url>' \ --header 'Authorization: Token <token>' -o file.name curl response with the following redirects : curl -iL --max-redirs 1 http://example.com monitor folder recursively for changes : inotifywait -m -e create,delete -r /<your_folder>       6. removing all files in the folder except some needed                        in zsh :         setopt extended_glob         rm -rv -- ^(.git|.idea)(D) -r:   Recursively delete directories and their contents. -v : Display what is being deleted. -- :  Denotes the end of options to prevent issues with filenames starting with hyphens. ^(pattern) : Exclude files and directories that match the given pattern. (.git|.idea) : List of patterns to exclude (in th

Docker tips & tricks

Image
Docker tips & tricks 1. one-line command for build & run container at once      docker-compose up -d --build -d means in background (daemon)  2.  speedup docker builds 3.  Rebuild containers using docker compose when dockerfile changes           docker-compose up --force-recreate 4.   If I have a bad deploy this may help      docker-compose build --no-cache 5. R emove all images      docker-compose down --rmi ("local"|"all") 6. Automatically update services with file watch  in Docker Compose ( experimental,  Docker Desktop 4.24.0 said that this feature is now open for all )             docker-compos up --watch 7. Removing containers with the data ( be careful, you will lose all your data for the containers that are in docker-compose )     docker-compose down -v 8. Doker 3.5+: network section changes instead  networks : default : external : name : ddev_default should be  networks : default : name : ddev_default external :

How to run Warhammer 40k Dawn of War on modern devices

Image
 How to run Warhammer 40k Dawn of War on modern devices SpaceMarine If you are having problems with launching your game. And you get an error saying that it cannot find a graphics card. You are most likely having problems with resolution. To solve this problem I've had to change one file in the Drivers folder in your game folder. Then head to spdx9_config.txt. Then head to this link  https://shootfirstthenjump.blogspot.com/2012/12/dawn-of-war-configuration-woes-and.html . And change the text in the file to the one on the post. After that, you will most likely be able to run the game and change the resolution to the desired in the game settings. P.S: If there is a GraphicsConfig.exe file in the game folder, do not run it after changing the contents of the spdx9_config.txt.

Ion

Image
  Ion Did you know that an ion is an atom or molecule that has a net electrical charge? This is because the charge of an electron is negative and is equal and opposite to the charge of a proton, which is positive. As a result, the net charge of an ion is not zero since its total number of electrons is different from its total number of protons. Cations are positively charged ions that have fewer electrons than protons, whereas anions are negatively charged ions that have more electrons than protons. Opposite electric charges attract each other by electrostatic force, so cations and anions readily form ionic compounds. Ions can be atomic or monatomic if they consist of only one atom, or molecular or polyatomic if they are made up of two or more atoms. In a fluid, such as gas or liquid, ion pairs are formed by spontaneous molecule collisions, where each generated pair consists of a free electron and a positive ion. Ions can also be created by chemical interactions, such as the dissolutio

Amazing retro car exhibition in Mississauga, ON, Canada was held near the FoodBasic grocery shop

Image
Amazing retro car exhibition in Mississauga, ON, Canada was held near the FoodBasic grocery shop If you know the car make & model let me know please in the comments. Thank you in advance!