sudo dnf install dkms kernel-devel-6.17.1-300.fc43.x86_64Then follow instructions at https://github.com/medusalix/xone
sudo dnf install dkms kernel-devel-6.17.1-300.fc43.x86_64Then follow instructions at https://github.com/medusalix/xone
This is particularly useful when you want to know the going rate of an item you're planning to sell, i.e. in conjunction with the "Sold items" filter.
$x("//ul[contains(@class,'srp-results')]//div//span[contains(@class,'s-card__price')]").slice(0,22).map(x => Number(x.innerText.slice(1))).reduce((x,y) => x + y)/22NB: 22 is the number of items I want to take and average. Adjust as needed to match the number of items that match your search (or limit the number of items you want to take the average of).
adduser foousermod -aG sudo fooThis script allows you to analyse the ViewingActivity.csv file included in your Netflix data and outputs a list of shows watched by a particular profile ordered by frequency (i.e. number of times viewed and number of episodes viewed).
You will first need to request your Netflix data, download it and extract the zip file. You can do this by going to Account -> Security -> Personal information access
You will also need to install xsv or a similar tool.
Adjust the grep and awk expressions as appropriate. The grep expression will exclude lines where those strings are found (e.g. exclude teasers/trailers). The awk expression is necessary for specifying a cutoff for the show title to allow grouping of shows, e.g. Stranger Things: Stranger Things 2: Chapter One: MADMAX (Episode 1) will be transformed to Stranger Things to allow accurate counting of each shows views.
Hardware tab, change BIOS from Default (SeaBIOS) to OVMF (UEFI) in the Proxmox web UIAdd at the top and select EFI Disk. Select a location and click OK.NB: This works on a disk partitioned using MBR.
sudo mount -t cifs -o "uid=$local_user,username=$smb_user,addr=$host" //$host/$share $mount_pathFor errors:
mount: $mount_path: cannot mount //$host/$share read-onlymount: $mount_path: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.| $wslAddress = wsl ip -4 a show eth0 | wsl grep -Po 'inet \K[0-9.]*' | |
| # This assumes you only have one interface containing 'WSL' in its name | |
| $ifId = (Get-NetIPInterface -InterfaceAlias "*WSL*" -AddressFamily IPv4).ifIndex | |
| route add -p $wslAddress mask 255.255.255.255 $wslAddress metric 256 if $ifId |
| $repo = $args[0]; | |
| $outdir = $args[1] | |
| $release = (curl -s https://api.github.com/repos/scito/extract_otp_secrets/releases/latest | ConvertFrom-Json).assets | where { $_.name -like "*.msi" -or $_.name -like "*.exe" } | |
| # TODO: check there's only one item | |
| $outFile = "$outdir\$($release.name)"; | |
| curl -L $release.browser_download_url --output $outFile; | |
| & $outFile |