Skip to content

Instantly share code, notes, and snippets.

View tjgordon's full-sized avatar

Tyler Gordon tjgordon

View GitHub Profile
This file has been truncated, but you can view the full file.
PS D:\Users\tgord\crunchyroll> Wasari.Cli.exe https://beta.crunchyroll.com/series/GRJ0J828Y/kaguya-sama-love-is-war -e 1 -u email -p password -v
__ __ _
\ \ / /_ _ ___ __ _ _ __(_)
\ \ /\ / / _` / __|/ _` | '__| |
\ V V / (_| \__ \ (_| | | | |
\_/\_/ \__,_|___/\__,_|_| |_|
Available environment features: "YtDlp", "Ffmpeg", "FfmpegLibPlacebo", "NvidiaGpu"
Latest version: 2022.09.01, Current version: 2022.09.01
[Default Settings]
; !!!! do not edit, change settings in user section !!!!
; touch panel make (run xinput command in terminal)
touch_panel =
; minimum long press time in seconds, e.g - 0.5, 1.2
minimum_long_press_time = 1.5
; right click methods, possible values - xdotool, pymouse
right_click_method = xdotool
; long press behavior, possible values - pc (menu appears after finger lift), smartphone (no finger lift required, menu flickers once)
long_press_behavior = pc
#!/usr/bin/python
# From https://github.com/nitg16/tapioca, for debugging purposes
import evdev
import subprocess
from decimal import Decimal
import time
import os
import ConfigParser
[tgordon@VP11]~% python
Python 2.7.13 (default, May 10 2017, 20:04:28)
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> os.path.join(os.path.expanduser("~"), '.config', 'tapioca')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> os.path.join(os.path.expanduser("~"), '.config', 'tapioca')
[tgordon@VP11 scripts]$ xinput --list --long | grep -E "id=|XITouchClass"
⎡ Virtual core pointer id=2 [master pointer (3)]
Class originated from: 14. Type: XITouchClass
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint id=9 [slave pointer (2)]
⎜ ↳ SYNA7500:00 06CB:780D id=14 [slave pointer (2)]
Class originated from: 14. Type: XITouchClass
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SYNA7500:00 06CB:780D id=14 [slave pointer (2)]
⎜ ↳ SYNA7500:00 06CB:780D Pen Pen (0) id=18 [slave pointer (2)]
⎜ ↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint id=9 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Integrated_Webcam_FHD id=10 [slave keyboard (3)]
[tgordon@localhost ~]$ su
Password:
[root@localhost tgordon]# cd /
bin/ .cache/ dev/ home/ lib64/ lost+found/ mnt/ proc/ run/ srv/ tmp/ var/
boot/ .config/ etc/ lib/ .local/ media/ opt/ root/ sbin/ sys/ usr/
[root@localhost tgordon]# cd /boot/
[root@localhost boot]# ls -R
.:
config-4.10.5-200.fc25.x86_64 initramfs-0-rescue-98f06f9ca2084bbaae4a9e8b9f7c9f62.img System.map-4.10.6-200.fc25.x86_64
config-4.10.6-200.fc25.x86_64 initramfs-4.10.5-200.fc25.x86_64.img System.map-4.9.14-200.fc25.x86_64
live@solus ~ $ sudo su
root@solus /home/live # cd
root@solus ~ # mkdir /target
root@solus ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop1 7:1 0 4G 1 loop
├─live-base 253:1 0 4G 1 dm
└─live-rw 253:0 0 4G 0 dm /
sdb 8:16 1 3.8G 0 disk
├─sdb2 8:18 1 30M 0 part
@tjgordon
tjgordon / solus-rescue.txt
Created March 31, 2017 03:17
Attempt to rescue Solus from live system after update
live@solus ~ $ sudo su
root@solus /home/live #
root@solus /home/live # ls
Desktop Documents Downloads Music Pictures Public Templates Videos
root@solus /home/live # mkdir target
root@solus /home/live # ls
Desktop Documents Downloads Music Pictures Public target Templates Videos
root@solus /home/live # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop1 7:1 0 4G 1 loop