install (from the AUR) digimend-kernel-drivers-dkms-git
and the linux-headers
for the kernel you're running.
sudo modprobe -r hid-kye hid-uclogic hid-polostar hid-viewsonic
reboot.
[ | |
{ | |
"_id": "62d30558bcfa950f0a373eb4", | |
"title": "rice", | |
"cost": 21.5 | |
}, | |
{ | |
"_id": "62d30602bcfa950f0a373eb5", | |
"title": "daal", | |
"cost": 17.7 |
#!/usr/bin/bash | |
# -*- coding: utf-8 -*- | |
device_name="PixArt Dell MS116 USB Optical Mouse" | |
device_id=$(xinput list --id-only "$device_name") | |
xinput set-prop $device_id "libinput Natural Scrolling Enabled" 0 |
#include <fcntl.h> | |
int dup (int fd1) { | |
return (fcntl (fd1, F_DUPFD, 0)); | |
} |
## Process this file with automake to produce Makefile.in | |
ACLOCAL_AMFLAGS = -I m4 | |
SUBDIRS = include . doc example fuzz xstc $(PYTHON_SUBDIR) | |
DIST_SUBDIRS = include . doc example fuzz python xstc | |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include |
function sleep(ms) { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
(async () => { | |
const restart = document.querySelector("#button_correct"); | |
restart.click(); | |
while (1) { | |
await sleep(500); |
# %% | |
import json | |
# %% | |
PREAMBLE = '''--- | |
title: Organizational Behaviour | |
papersize: a4 | |
numbersections: false | |
documentclass: scrartcl | |
toc: false |
import math | |
def nCr(n, r): | |
if r == 0: | |
return 1 | |
return math.factorial(n)/(math.factorial(r)*math.factorial(n-r)) | |
// ==UserScript== | |
// @name snahp.eu Forum Sort Topics by Filesize | |
// @grant none | |
// @match *://fora.snahp.eu/* | |
// ==/UserScript== | |
function sortAllLists(){ | |
Array.from(document.getElementsByClassName('topics')).forEach(sortByFileSize); | |
return; | |
} |
import re | |
from aiohttp import ClientSession as c | |
import asyncio | |
from bs4 import BeautifulSoup as bs | |
import json | |
template = "https://www.vidyamandir.com/jeeadvanced20{}.html" | |
template_2 = "https://www.vidyamandir.com/jeeadv20{}.html" | |
unnecessary = re.compile(r"\sfor.+dvanced\s(?=\d)") |