- Adapted from https://www.closingtags.com/remote-debugging-web-apps-on-ios-from-linux/
- Tested on Pop!_OS 22.04 LTS (jammy)
sudo apt-get install autoconf automake libusb-dev libusb-1.0-0-dev libtool libssl-dev
sudo apt-get install autoconf automake libusb-dev libusb-1.0-0-dev libtool libssl-dev
function scrubEmailsAndNamesOfGamesStartedOver90DaysAgo() { | |
const sheetName = 'responses'; | |
const ss = SpreadsheetApp.getActiveSpreadsheet(); | |
const sheet = ss.getSheetByName(sheetName); | |
if(!sheet) { | |
throw new Error('failed to get sheet `' + sheetName + '`'); | |
} | |
const data = sheet.getDataRange().getValues(); |
#!/bin/sh -eu | |
while true | |
do | |
sudo whoami > /dev/null | |
BATT_PERCENT=$(cat /sys/class/power_supply/BAT0/capacity) |
package logger | |
import ( | |
"errors" | |
"fmt" | |
"os" | |
"path/filepath" | |
"runtime" | |
"strings" | |
"sync" |
this guy got it working by adding a cups "Raw Device":
http://screaming.computer/blog/2020-02/connect-a-thermal-receipt-printer-to-a-linux-vm-in-unraid
https://askubuntu.com/a/110940
Also blacklist the usblp
kernel module.
export NEW_USER=exampleuser | |
export NEW_HOME=/home/$NEW_USER | |
sudo useradd $NEW_USER \ | |
--home $NEW_HOME \ | |
--create-home \ | |
--shell /bin/bash \ | |
--groups ssh | |
sudo passwd $NEW_USER |
[log] | |
date = relative | |
[format] | |
# https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-log.html#_pretty_formats | |
pretty = "%C(yellow)%h %C(blue)%<(50,trunc)%s %C(green)%<(8,trunc)%ad %C(reset)%ae%n%>(69,trunc)%C(magenta)%G? %GS%n%-b" | |
cfdisk /dev/sda
to create a new partition in free space with type "Linux RAID"/dev/sdb
cat /proc/mdstat
to see what /dev/mdX
device is next$ mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/sda6 /dev/sdb6