I hereby claim:
- I am pipelinedave on github.
- I am lowlifehightech (https://keybase.io/lowlifehightech) on keybase.
- I have a public key ASB6Sx0loxP8qieEr-EwIPrS4TW0vTEIhfYWahwmT4W-sQo
To claim this, I am signing this object:
$data = Import-Csv -path .\test.csv | |
$unique = $data | Select-Object -Unique | |
$data | Where-Object { $_ -notcontains $unique } | |
Compare-Object -ReferenceObject $data -DifferenceObject $unique -IncludeEqual | Where-Object { $_.SideIndicator -eq "==" } | Select-Object -ExpandProperty InputObject |
#!/bin/bash | |
PS3='Select Environment: ' | |
options=("Local VM" "Other") | |
select opt in "${options[@]}" | |
do | |
case "$opt" in | |
"VirtualBox") | |
DISK=sda | |
PORT=2222 |
#!/bin/bash | |
DISK="/dev/$1" | |
PARTITION="${DISK}1" | |
echo DISK="$DISK", PARTITION="$PARTITION" | |
parted -s "$DISK" mklabel msdos | |
parted -s -a optimal "$DISK" mkpart primary ext4 0% 100% | |
parted -s "$DISK" set 1 boot on |
#!/bin/bash | |
HOST=myhostname | |
USERNAME=myusername | |
HOME_DIR="/home/${USERNAME}" | |
SWAP_SIZE=4G | |
echo DISK="$1", HOST="$HOST", USERNAME="$USERNAME", HOME_DIR="$HOME_DIR" | |
# grub as a bootloader |
I hereby claim:
To claim this, I am signing this object:
version: '3.8' | |
services: | |
homeassistant: | |
build: | |
context: home-assistant | |
container_name: home-assistant | |
restart: unless-stopped | |
# Expose the Home Assistant web interface | |
ports: | |
- "8123:8123" |
# KDE Konsole SSH Profile Switcher | |
# A shell function for KDE Konsole terminal users to automatically switch the | |
# terminal profile based on the SSH hostname, and restore the default profile | |
# upon disconnection. Works with additional SSH options. | |
# Compatible with Bash and Zsh. | |
# Make sure to create corresponding Konsole profiles for each SSH hostname | |
# before using this function. | |
# For example, if you're connecting to "example.com", create a profile named | |
# "example.com" in Konsole with your desired settings. | |
# Add this function to your shell configuration file (e.g., ~/.bashrc for Bash |
Identify the hardware: You need to know exactly what hardware you're dealing with to get the right drivers. For graphic cards, you can use the following command in your terminal to get the necessary information:
lspci | grep -i --color 'vga\|3d\|2d'
This command will display the VGA compatible devices in your system. Look for the details of your graphic card in the output.
Check the driver in use: You can check which driver your system is currently using with the following command:
{ | |
"ignition": { | |
"version": "3.3.0" | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "core", | |
"sshAuthorizedKeys": [ | |
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDBbbxEbC2Kz72u+dIEZeOOYsgrwDlLQFsE9+iqvU2COTKBEEY+Kog3dO5UNdDUkyoYuzOddcVbbc8nYdYbjuKV+Ab0+FcX0qTIEsWjobET9myulReMCdx78LExcA9HlLqumvHs1VNiVbzJBrpsXzf9RKZIsgufZtpbHJCEtGfj/tHYWHNW03Xv+7JCfAQ2GARJ2XqYWRlfqjGPe/mRbuxLjDOgwRrPU1NN5BCp5SnCC+gVrIOIp31XlMzbJHSEDnnQG6yZ6qjWRndJTehHIlapinD4fC4qlTSRNx1sXGUfR1SnUBb8JfIuEl1kBnjOAV8Tfd24iAsxbC7eL7PhUgzxxxk0S6bsNNuuqp7C7J67mhFKK8dFq8V4hs4ckLdwkMqgqeWMkAEr1liVjTg42skTk0F4HB+iBGFgI/Xnoz7a2Q6gZzWVQm3J62JXqMBtp34nq4lMzsLy3d4J04Pk6m+1PUsLs5J+J+pKKHl1PUX4bY7siTm9epR3IKeUKe3LmVG3vO8CDLaXb8AJPtlDpNUlO26BFUCtcmH4iqVRuD6FBS42vXgXvsQAgGwevCQUtcAgAprgUxlsIYk4e3gvTfdnt3Xf8pxabkR2izxBX4y2j08TenIRZ5AJNMzyP6Oy0zpumpTJjOlRwXAlkdbX4BUUuSG2/LhI66U0YQnL46Kk9Q== feddy@fedora" |
#!/bin/bash | |
# Prompt for the device event number | |
read -p "Enter the device event number: " event_number | |
# Display udev rules | |
udevadm info --attribute-walk --path=$(udevadm info --query=path --name=/dev/input/event${event_number}) | |
read -p "Enter the KERNELS value: " kernels_value | |
read -p "Enter the SUBSYSTEMS value: " subsystems_value |