- Mounting MTP storage devices (Android devices, etc)
go-mtpfs /path/to/mount/dir
Note: Ensure user is in the plugdev group for permissions. Command runs in the foreground and needs to be made a daemon explicitly.
| "" Minimal setting and configuration | |
| "" These settings makes editing less of a drag :) | |
| "--------------------------------------------------------------------------------- | |
| " | |
| "" Use vim settings | |
| set nocompatible | |
| " changes backspace indentation behavior | |
| set backspace=indent,eol,start | |
| " |
If running on nixos setup, use Network Manager to set this up.
- Configure raspberry pi boot and config parameters to enable network over USB.
- On network detection (with
nmcli), edit the connection and change the configuration for IPv4 and IPv6 toLink-Local. This should properly setup and connect the Pi. If it doesn't try plug-out and in again or google it. - If not already, edit configuration.nix and add the avahi service (check the client section here for instructions: https://nixos.wiki/wiki/Printing)
pdftk input.pdf cat 10-12 output output.pdf creates a new pdf output.pdf with pages 10, 11 & 12 from input.pdf.
| #!/bin/bash | |
| # Uncomment for debugging | |
| set -xe | |
| # Be sure to use absolute paths here | |
| outputDir=PATH/TO/OUTPUT/DIR | |
| sourcesDir=PATH/TO/RECIPES/DIR | |
| today=$(date +%y-%m-%d) |
| # Title: StevenBlack/hosts with the social extension | |
| # | |
| # This hosts file is a merged collection of hosts from reputable sources, | |
| # with a dash of crowd sourcing via GitHub | |
| # | |
| # Date: 07 April 2023 16:56:33 (UTC) | |
| # Extensions added to this file: social | |
| # Number of unique domains: 201,791 | |
| # | |
| # Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts |
If you have a Windows laptop with thunderbolt 4 and an Nvidia Dedicated Graphics card (I tested with a RTX 3050 ti),
you might get a black screen when you plug in the Apple Studio Display into the thunderbolt 4 port of your laptop.
Assuming that your laptop's thunderbolt port graphics is handled by the Nvidia card, it might be that your Nvidia card
is sending a DP1.4 signal over the thunderbolt 4 port, but still sending a native 5K resolution signal to the Studio Display.
The studio display doesn't support native 5K over DP1.4, only 4K. You might have seen this online somewhere and tried to change
the display resolution with windows settings, to no avail. The thing is, you need to do it from the Nvidia control panel.
- Plug in the studio display using the thunderbolt 3 cable it came with into the thunderbolt 4 port on your laptop