Last updated 29 July 2021
Disclaimer: I have personally tested every step of this. However, I'm not responsible for anything you do.
There's a Reddit thread for this laptop.
- Setup Windows.
Last updated 29 July 2021
Disclaimer: I have personally tested every step of this. However, I'm not responsible for anything you do.
There's a Reddit thread for this laptop.
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html class="desktop mbr-site-loaded" style> | |
<!-- | |
Page saved with SingleFile | |
url: https://raymond.li/ | |
saved date: Mon Feb 01 2021 16:18:15 GMT-0500 (Eastern Standard Time) | |
____ ____ _ ___ _____ | |
/ ___| _ \| | / _ \ |___ / | |
| | _| |_) | | _____| | | | |_ \ |
#!/bin/bash | |
#. | |
#. | |
#. | |
# (append this) | |
# Send a desktop notif | |
sudo -u raymo DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "Warning: Utility power has failed. Now running on battery." -i battery-caution -u critical -t 10000 -h 'string:desktop-entry:ups' -a UPS |
sudo depmod -a
sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam"
You can do this persistently by creating a config file like video.conf
in /etc/modprobe.d/
with the following in it:
To map shortcuts like Ctrl+Bksp/Del
to delete words backwards and forwards in Konsole:
Key Combination | Output | (Explanation) |
---|---|---|
Backspace-Ctrl | \x7f | Backspace without Ctrl should just delete the character before the cursor |
Backspace+Ctrl | \E\b | Backspace with Ctrl should delete the word before the cursor. ^H should be encoded as \x08 (ascii control character code in hex) but Konsole converts that to \b , it's code for backspace. |
import json | |
before = """\\begin{center} | |
\\begin{tikzpicture}[every node/.style={draw,circle,minimum size=25pt}] | |
\\begin{scope}[yscale=-1] | |
\\draw[thick]""" | |
after = """; | |
\\end{scope} | |
\\end{tikzpicture} | |
\\end{center}""" |
let eee = "#eeeeee" | |
let sr = document.querySelector("#viewer").shadowRoot.querySelector("#toolbar").shadowRoot | |
sr.querySelector("#toolbar").style.backgroundColor = "lightgray" | |
sr.querySelector("#toolbar").style.color = "black" | |
let ce = sr.querySelector("#center").firstElementChild.shadowRoot | |
ce.querySelector("#pageselector").style.backgroundColor = eee | |
ce.querySelector("#pageselector").style.color = "black" | |
ce.querySelector("#divider").style.color = "black" | |
ce.querySelector("#pagelength").style.color = "black" | |
sr.querySelector("[aria-label='Zoom level']").style.backgroundColor = eee |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE language SYSTEM "language.dtd"> | |
<language name="CS 241 MIPS" version="1" kateversion="5.0" section="Assembler" extensions="*.asm;*.hex;" mimetype="text/x-mips" author="Raymond Li" priority="1"> | |
<highlighting> | |
<list name="type"> | |
<item>.word</item> | |
</list> | |
<list name="rinstr"> | |
<item>add</item> | |
<item>sub</item> |
cmake_minimum_required(VERSION 3.16) | |
project(CS_136 C) | |
################################################## | |
set(ASSIGNMENT Final) | |
################################################## | |
find_package(LLVM REQUIRED CONFIG) | |
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}") | |
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") |