chrome://flags/#ignore-gpu-blocklist
Игнорирование блоклиста GPU
Принудительно включает аппаратное ускорение на системах, которые Chrome считает неподдерживаемыми. Обходит встроенный список "несовместимого" железа.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = | |
email = | |
[alias] | |
current-branch = "!git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \\(.*\\)/\\1/'" | |
a = "!git add . && git s" | |
ch = "!echo 'Stop using git checkout' && false" | |
c = commit -S -m | |
s = status --short --branch | |
d = diff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig файл | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ Мы ожидаем, что Вы исправите синтаксические ошибки, сделаете перехват возможных исключений и улучшите читаемость кода. | |
// А так же, напишите кастомный хук useThrottle и используете его там где это нужно. | |
// Желательно использование React.memo и React.useCallback там где это имеет смысл. | |
// Будет большим плюсом, если Вы сможете закэшировать получение случайного пользователя. | |
// Укажите правильные типы. | |
// По возможности пришлите Ваш вариант в https://codesandbox.io | |
import React, { useState } from "react"; | |
const URL = "https://jsonplaceholder.typicode.com/users"; |
Конечно, вот перевод в формат Markdown:
map
(отображение):- Определение: Создает новый массив, применяя функцию к каждому элементу исходного массива.
- Пример:
const numbers = [1, 2, 3]; const squared = numbers.map(x => x * x); // squared: [1, 4, 9]
Install programm for frontend software ingiener
mkdir downloads templeats documents desktop pictures musics videos share &&
sudo apt install aptitude android-tools-adb git wget fastboot audacious preload -y &&
flatpak install flathub org.telegram.desktop -y &&
sudo snap install mattermost-desktop figma-linux gimp libreoffice &&
sudo snap install code --classic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04 | |
sudo fallocate -l 10G /swapfile && | |
sudo chmod 600 /swapfile && | |
sudo mkswap /swapfile && | |
sudo cp /etc/fstab /etc/fstab.bak && | |
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab /swapfile none swap sw 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# установка на ubuntu | |
# sudo apt install android-tools-adb | |
# из форума | |
# https://forum.xda-developers.com/t/guide-debloat-remove-stock-apps-without-root.3935438/ | |
# https://forum.xda-developers.com/t/guide-to-disable-oem-bloatware-aka-system-apps-using-adb-and-fastboot-method-no-root-thread-updated-on-16-08-2021.3779873/ | |
# adb shell pm uninstall -k --user 0 com.miui.home # лаунчер. Если удалить то надо заранее поставить другой и настроить | |
# adb shell pm uninstall -k --user 0 com.oppo.launcher # Стоковый лаунчер OPPO (важно перед этим нужно установить сторонний). | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Ramil | |
email = example@gmail.com | |
[core] | |
editor = nano | |
[init] | |
defaultBranch = main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
NewerOlder