Sources: ArchLinux Wiki and Nvidia Developer Fourms
Get Bus ID of audio device
sudo lspci...
[busid] Audio device: NVIDIA Corporation Device 228e (rev a1)
Sources: ArchLinux Wiki and Nvidia Developer Fourms
Get Bus ID of audio device
sudo lspci...
[busid] Audio device: NVIDIA Corporation Device 228e (rev a1)
These commands come AS IS, WITH NO WARRANTY. I AM NOT RESPONSIBLE IF YOU BORK YOUR SYSTEM
Synergy on Linux - It's great when it works, but it's also a pain because most guides are intended for Ubuntu 18, which is absolutely useless now. Here is how I was able to setup Synergy at login on a Pop_OS 22.04, but should ALSO work for ANY distribution using GDM3 as it's login manager (i.e Fedora and/or Ubuntu).
Install synergy. Make sure that synergyc is installed first (included in deb or rpm)
| # This is not a bash script (notice the lack of #!). Please do not run this as a single bash script. | |
| # These commands come AS IS, WITH NO WARRANTY. I AM NOT RESPONSIBLE IF YOU BORK YOUR SYSTEM | |
| # Get these for later | |
| sudo dnf install driverctl | |
| # Install virt manager and friends | |
| sudo dnf group install virtualization | |
| # Get the BUSIDS of the cards |
| import React, { useContext } from 'react'; | |
| import { DocsContext } from '@storybook/addon-docs/blocks'; | |
| import { Source } from '@storybook/components'; | |
| /** | |
| * Adapted from https://github.com/storybookjs/storybook/blob/master/addons/docs/src/blocks/Source.tsx | |
| */ | |
| const extractLines = (source, location) => { | |
| const { startBody: start, endBody: end } = location; | |
| const lines = source.split('\n'); |
| /* | |
| * HAMR Framework | |
| * CORE LAYOUT MODULE -V:[0.5.5] -REV:[02/18/14] | |
| * | |
| * Copyright (c) 2013 - WorkingHands Group - Ronald Buckingham | |
| * Released under the MIT licence | |
| * | |
| * NOTE: If this file size exceeds 8 Kb: it should be minified | |
| * The 960 failsafe system |
| // proper let usage | |
| function properLetExample(){ | |
| let checked = Math.random() * 10; | |
| if (checked > 5){ | |
| let name = 'bob marley'; | |
| console.log('name:', name); // should output 'name: bob marley | |
| } else { |
| var del = require('del'); | |
| var gulp = require('gulp'); | |
| var buildDirectory = './path/to/something'; | |
| // the offical way to delete files (from del docs) | |
| gulp.task('clean', ()=>{ | |
| return del.sync(buildDirectory); | |
| }); |
| body { | |
| color: #eee; | |
| } | |
| .h1, | |
| .h2, | |
| .h3, | |
| .h4, | |
| .h5, | |
| h1, | |
| h2, |