Данный апгрейд позволит вам использовать touchpad для переключения рабочих столов, окон и для подобных действий
sudo gpasswd -a $USER input
function downloader (from = 1, to = 5, url) { | |
if (typeof(url) !== "string") throw; | |
const INTERVAL = 250; // Интервал между запросами | |
window.g_timer_timestamp = Date.now(); | |
window.g_counter = from; // Счетчик | |
window.g_aviable = true; // Если прошлый файл не скачался, новое скачивание не начинается | |
let f = function() { | |
window.g_aviable = false; // Блокируем |
function vk_read(token, id) { | |
if (!typeof(token) === "string") throw "TypeError: Expected string at 1 argument"; | |
if (!typeof(id) === "number") throw "TypeError: Expected number at 2 argument"; | |
// Упрощение AJAX запроса | |
let ajax = function(method, url, data) { | |
let xhr = new XMLHttpRequest(); | |
// формируем запрос | |
let send = ""; |
local KEY = "sampletext" | |
addEventHandler("onResourceStart", resourceRoot, function() | |
-- ENCODE | |
local file = File.open("test.txt") | |
local raw = file:read(file.size) | |
file:close() | |
local len = #raw | |
local lent = {} |
alias ll="ls -la" | |
alias pac="sudo pacman --noconfirm" | |
alias yao="yaourt --noconfirm" | |
alias give-me-upgrade="sudo pacman --noconfirm -Syyuu && yaourt --noconfirm -Syyuua" | |
alias give-me-ssh="ssh-add $(ls ~/.ssh | egrep "^([^\.]+)$" | grep -v known_hosts)" |
cmake_minimum_required(VERSION 3.4) # Минимальная версия CMake
set(CMAKE_CXX_STANDARD 17) # Стандарт C++
set(CMAKE_CXX_STANDARD_REQUIRED ON) # Обязательность установки указанного стандарта (если OFF (по умолчанию), то воспринимается как совет)
SERVER_SIDE = guiGetScreenSize == nil | |
CLIENT_SIDE = guiGetScreenSize ~= nil | |
--------------- | |
-- LIFECYCLE -- | |
--------------- | |
if SERVER_SIDE then | |
addEventHandler('onResourceStart', resourceRoot, function() |
import functools | |
import struct | |
import types | |
import dis | |
def _patch_code(code: types.CodeType): | |
# Call function with 0 arguments | |
function_call_bytearray = bytearray(dis.opmap['CALL_FUNCTION'].to_bytes(1, byteorder='little') + b'\x00') |
I have bought laptop Huawei Matebook D16 RLEF-X. Tried to use Arch Linux and encountered with the problem:
sudo systemctl suspend
)mount
to see that the disk is read-only.
Moreover, it determines like read-only, however, it is just broken.
No zsh history, no executables, no way to poweroff without power button long-press.