Работа: различия между версиями

Материал из Home Wiki
Перейти к навигации Перейти к поиску
 
(не показано 15 промежуточных версий этого же участника)
Строка 3: Строка 3:
= Java =
= Java =
{| border="0"
{| border="0"
| [[Kotlin]]
| [[llama3]]
|
|-
| [[JMC]]
|
|
|-
| [[JHipster]]
| [[JHipster]]
| [[JDK]]
| [[JDK]]
Строка 9: Строка 17:
| [[Spring]]
| [[Spring]]
| [[Spring boot]]
| [[Spring boot]]
|
| [[JEMALLOC]]
|-
|-
| [[Hibernate]]
| [[Hibernate]]
Строка 72: Строка 80:


[[Ubuntu]]
[[Ubuntu]]
[[CentOS]]


[[mdadm]]
[[mdadm]]
Строка 87: Строка 97:


sudo modprobe uvcvideo quirks=2 trace=65535
sudo modprobe uvcvideo quirks=2 trace=65535
Смена UUID ext4: tune2fs -U <UUID> /dev/sdb1


= FreeBSD =
= FreeBSD =
Строка 96: Строка 108:


[[Партиционирование]]
[[Партиционирование]]
= 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 =
Строка 116: Строка 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 =
Строка 136: Строка 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 ==
Строка 142: Строка 182:


https://habrahabr.ru/post/280786/
https://habrahabr.ru/post/280786/
== CUDA ==
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
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
</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

Kotlin llama3
JMC
JHipster JDK Java9
Spring Spring boot JEMALLOC
Hibernate Mockito
Gradle Maven
Tomcat
HttpClient JsonToPojo
Patterns
LiquiBase
Eclipse CXF JAXB
Kafka Zookeeper
Jenkins
PlantUML
Java-собеседование Java-вопросы Lombok

Javascript, Typescript

Angular JavaScript TypeScript
React NPM

Linux

Docker

Ubuntu

CentOS

mdadm

Letsencrypt

Команды 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

Gmirror Owncloud_FB

Postgresql

Postgresql PgBouncer

Партиционирование

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

MacOS

MacOS

Git

Git

Git-key

AI

TensorFlow

Machine Learning with TensorFlow Book

Машинное обучение

Собеседование по Data Science: чего от вас ждут/EPAM

Видеолекции курса «Машинное обучение» часть 1 часть 2

Open-WebUI

Шифрование / 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

http://callistaenterprise.se/blogg/teknik/2015/04/10/building-microservices-with-spring-cloud-and-netflix-oss-part-1/

https://habrahabr.ru/post/280786/

CUDA

https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local

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

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/

До очистки:

  1. journalctl --disk-usage

Archived and active journals take up 952.2M on disk.

Делаем чистку:

  1. journalctl --vacuum-size=50M
  2. journalctl --verify

После очистки получаем результат:

  1. journalctl --disk-usage

Archived and active journals take up 56.0M on disk.


Меняем конфиг:

  1. vi /etc/systemd/journald.conf

SystemMaxUse=50M SystemMaxFileSize=12M

  1. systemctl restart systemd-journald