Работа: различия между версиями
FireWolf (обсуждение | вклад) |
FireWolf (обсуждение | вклад) (→Java) |
||
(не показано 11 промежуточных версий этого же участника) | |||
Строка 4: | Строка 4: | ||
{| border="0" | {| border="0" | ||
| [[Kotlin]] | | [[Kotlin]] | ||
| | | [[llama3]] | ||
| | | | ||
|- | |- | ||
Строка 17: | Строка 17: | ||
| [[Spring]] | | [[Spring]] | ||
| [[Spring boot]] | | [[Spring boot]] | ||
| | | [[JEMALLOC]] | ||
|- | |- | ||
| [[Hibernate]] | | [[Hibernate]] | ||
Строка 80: | Строка 80: | ||
[[Ubuntu]] | [[Ubuntu]] | ||
[[CentOS]] | |||
[[mdadm]] | [[mdadm]] | ||
Строка 95: | Строка 97: | ||
sudo modprobe uvcvideo quirks=2 trace=65535 | sudo modprobe uvcvideo quirks=2 trace=65535 | ||
Смена UUID ext4: tune2fs -U <UUID> /dev/sdb1 | |||
= FreeBSD = | = FreeBSD = | ||
Строка 108: | Строка 112: | ||
[[Spring Data MongoDB]] | [[Spring Data MongoDB]] | ||
= MariaDB = | |||
== + MaxScale == | |||
https://github.com/mariadb-faisalsaeed/documentation | |||
https://github.com/toughIQ/docker-maxscale | |||
https://mariadb.com/resources/blog/mariadb-maxscale-2-2-introducing-failover-switchover-and-automatic-rejoin/ | |||
https://mariadb.com/kb/en/changing-a-replica-to-become-the-primary/ | |||
https://severalnines.com/blog/mariadb-maxscale-load-balancing-docker-deployment-part-one/ | |||
https://jdbwiki.com/doku.php?id=maria_ha_maxscale | |||
== + HAProxy == | |||
https://netpoint-dc.com/blog/mysql-cluster-load-balancing-haproxy/ | |||
= VirtualBox = | = VirtualBox = | ||
[[VirtualBox]] | [[VirtualBox]] | ||
== MacOS == | |||
[[MacOS]] | |||
= Git = | = Git = | ||
Строка 128: | Строка 151: | ||
Видеолекции курса «Машинное обучение» | Видеолекции курса «Машинное обучение» | ||
[https://yandexdataschool.ru/edu-process/courses/machine-learning часть 1] [https://yandexdataschool.ru/edu-process/program/computer-science/machine-learning2 часть 2] | [https://yandexdataschool.ru/edu-process/courses/machine-learning часть 1] [https://yandexdataschool.ru/edu-process/program/computer-science/machine-learning2 часть 2] | ||
[[Open-WebUI]] | |||
= Шифрование / OpenSSL = | = Шифрование / OpenSSL = | ||
Строка 148: | Строка 173: | ||
http://www.intuit.ru/studies/courses/2298/598/lecture/12868 | http://www.intuit.ru/studies/courses/2298/598/lecture/12868 | ||
https://slurm.io/kubernetes-for-developers-school | |||
== Spring Microservices == | == Spring Microservices == | ||
Строка 158: | Строка 186: | ||
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local | https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local | ||
<pre> | |||
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin | wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin | ||
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 | sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 | ||
Строка 166: | Строка 194: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get -y install cuda | sudo apt-get -y install cuda | ||
</pre> | |||
== SSD == | |||
Обновление прошивки Samsung SSD | |||
https://blog.quindorian.org/2021/05/firmware-update-samsung-ssd-in-linux.html/ | |||
<pre> | |||
mkdir /mnt/iso | |||
sudo mount -o loop ./Samsung_SSD_980_PRO_3B2QGXA7.iso /mnt/iso/ | |||
mkdir /tmp/fwupdate | |||
cd /tmp/fwupdate | |||
gzip -dc /mnt/iso/initrd | cpio -idv --no-absolute-filenames | |||
cd root/fumagician/ | |||
sudo ./fumagician | |||
</pre> | |||
== Xorg / gnome == | |||
https://wiki.archlinux.org/title/Cursor_themes | |||
Увеличение курсора | |||
<pre> | |||
gsettings set org.gnome.desktop.interface cursor-size 64 | |||
</pre> | |||
== /var/log/jouirnald == | |||
https://wiki.iphoster.net/wiki/Linux_-_%D0%BA%D0%B0%D0%BA_%D0%BF%D0%BE%D1%87%D0%B8%D1%81%D1%82%D0%B8%D1%82%D1%8C_%D0%BB%D0%BE%D0%B3%D0%B8_/var/log/journal/ | |||
До очистки: | |||
# journalctl --disk-usage | |||
Archived and active journals take up 952.2M on disk. | |||
Делаем чистку: | |||
# journalctl --vacuum-size=50M | |||
# journalctl --verify | |||
После очистки получаем результат: | |||
# journalctl --disk-usage | |||
Archived and active journals take up 56.0M on disk. | |||
Меняем конфиг: | |||
# vi /etc/systemd/journald.conf | |||
SystemMaxUse=50M | |||
SystemMaxFileSize=12M | |||
# systemctl restart systemd-journald |
Текущая версия на 10:07, 16 сентября 2024
Все страницы относящиеся к категории Работа
Java
Javascript, Typescript
Angular | JavaScript | TypeScript |
React | NPM |
Linux
Команды Linux:
sudo dmidecode --type memory | less
Проблема работы камеры (микроскоп): uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera (05e3:0510)
Решение: sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=2 trace=65535
Смена UUID ext4: tune2fs -U <UUID> /dev/sdb1
FreeBSD
Postgresql
MongoDB
MariaDB
+ MaxScale
https://github.com/mariadb-faisalsaeed/documentation
https://github.com/toughIQ/docker-maxscale
https://mariadb.com/kb/en/changing-a-replica-to-become-the-primary/
https://severalnines.com/blog/mariadb-maxscale-load-balancing-docker-deployment-part-one/
https://jdbwiki.com/doku.php?id=maria_ha_maxscale
+ HAProxy
https://netpoint-dc.com/blog/mysql-cluster-load-balancing-haproxy/
VirtualBox
MacOS
Git
AI
Machine Learning with TensorFlow Book
Собеседование по Data Science: чего от вас ждут/EPAM
Видеолекции курса «Машинное обучение» часть 1 часть 2
Шифрование / OpenSSL
Android
TWRP Backup and single application backup/restore
https://opengapps.org/ (выбрать либо mini либо full: Package Comparison)
English
Деловая переписка на английском языке: фразы и советы
Интересные ссылки
http://highload.guide/blog/query_performance_postgreSQL.html
http://highload.guide/blog/highload-for-beginners.html
http://www.intuit.ru/studies/courses/2298/598/lecture/12868
https://slurm.io/kubernetes-for-developers-school
Spring Microservices
https://habrahabr.ru/post/280786/
CUDA
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda-repo-ubuntu2204-11-7-local_11.7.1-515.65.01-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu2204-11-7-local_11.7.1-515.65.01-1_amd64.deb sudo cp /var/cuda-repo-ubuntu2204-11-7-local/cuda-*-keyring.gpg /usr/share/keyrings/ sudo apt-get update sudo apt-get -y install cuda
SSD
Обновление прошивки Samsung SSD
https://blog.quindorian.org/2021/05/firmware-update-samsung-ssd-in-linux.html/
mkdir /mnt/iso sudo mount -o loop ./Samsung_SSD_980_PRO_3B2QGXA7.iso /mnt/iso/ mkdir /tmp/fwupdate cd /tmp/fwupdate gzip -dc /mnt/iso/initrd | cpio -idv --no-absolute-filenames cd root/fumagician/ sudo ./fumagician
Xorg / gnome
https://wiki.archlinux.org/title/Cursor_themes Увеличение курсора
gsettings set org.gnome.desktop.interface cursor-size 64
/var/log/jouirnald
До очистки:
- journalctl --disk-usage
Archived and active journals take up 952.2M on disk.
Делаем чистку:
- journalctl --vacuum-size=50M
- journalctl --verify
После очистки получаем результат:
- journalctl --disk-usage
Archived and active journals take up 56.0M on disk.
Меняем конфиг:
- vi /etc/systemd/journald.conf
SystemMaxUse=50M SystemMaxFileSize=12M
- systemctl restart systemd-journald