Have you tried fzf and it’s history integration? Ctrl+R and youre fuzzy finding through your history. I don’t know how I lives without it
Have you tried fzf and it’s history integration? Ctrl+R and youre fuzzy finding through your history. I don’t know how I lives without it
Oh boy, my time to shine:
mkd
- Create directory and immediately cd
into itdei
- docker exec -i
dps
- docker ps
mdocker
- Switch to minikube’s docker contextn
- nvim
n.
- nvim .
Exampes use pnpm
but I have them for yarn
, npm
, and bun
too
pi
- pnpm install
pd
- pnpm run dev
sdh
- Search home directory (directories, recursive)fuckyou
- git push --force
nano
- nvim
createpgdb
- Create a postgres db on the given container with the given name
Usage: createpgdb "postgres container" "db name"
I have similar ones for dropdb
and pg_dump
. Here’s the command:
f() { local __user; if [ -z $3 ]; then __user=postgres; else __user=$3; fi; docker exec -i $1 createdb -U $__user $2; unset -f f; }; f'
Those are the exact words my first boss used when on my first day, I asked if I could use linux mint instead haha. That’s pretty spot on.
For good reason too, it has waaaay more support for your basic workplace apps than anything else (not that other things don’t but it’s easier to find a .deb than a .rpm)
A “Ubuntu LTS” option would be great here, yeah. It’d be next to impossible to support every distro and I get the feeling linux users who have distro preferences are also the type who would prefer to do it themselves.
Source: Me I guess. I’d rather setup Fedora myself
This PR/meme is my spirit animal
I have an init.sh file I run from my dotfiles. Pipe my sudo password to it and leave it alone for about an hour. Gets things 95% of the way to how I like them.
I should migrate to ansible like u/[email protected] but time :(
Fair enough, just saw the “if you’re not an IT worker” comment haha
Ah, my use case right now is almost exclusively streaming stuff from my laptop to a phone with HEVC support over a local network so I can just turn transcoding off and be okay.
I did however have issues with my lack of transcoding (I turned it off myself, not Jellyfin’s fault. Pitchforks down, people) on a tablet without hardware HEVC support though so I may have to experiment with it soon.
FWIW I had to go in and turn the feature off but there’s also a good chance it was using CPU instead of GPU
Oh come on, it’s better to be helpful if you can rather than just saying “for you” and adding nothing else to the conversation.
Seriously I’m sure they’d love to try it again if the issue is resolved. I know I wouldn’t pick Plex over Jellyfin unless I had no choice.
When you say “hardware encoding”, are you talking about using your GPU for stuff like transcoding when streaming to devices?
I ask because I actively disable all transcoding because I run jellyfin off my laptop and don’t wanna overwork it so to speak. I just assumed it was using the GPU.
2024 is gonna be the year of the Linux desktop, I can feel it!
Honestly, dark theme is how they got me with that one. Haven’t used the site aside from search results since the API changes went live but I like to think I’d leave if a new redesign was worse.
Yeah, Vore. That awesome song by the British metalcore band Sleep Token.
On I 100% agree with you here. But here’s my (and I think a lot of people’s) logic:
It’s slightly different in the case of YouTube. The shop isn’t putting Karen (and everyone else) under a microscope the second she walks into the store, and using that data to tailor what she sees in their other branches so she’s more likely to buy. They’re not creating what’s effectively a gigantic influence market out of the data, and I don’t think you are doing that to your clients either (although to be honest, I’d be pretty impressed if you were).
YouTube is free because “we are the product”. They’re harvesting our data whether we block ads, skip ads, watch ads, or pay for premium (as far as I know, please correct me if I’m wrong). It may not be profitable on its own but it sure as hell is bringing value to Google’s other services. All the while, it’s actively getting worse for end users (more and more ads, no more dislikes, not respecting video quality choices as well as it used to, hiding quality settings behind obtuse menus on mobile, no home page without watch history…)
Ultimately, “line no go up big like last year grug mad” is what matters to Google’s shareholders and what ultimately drives their decisions. I firmly believe that we’d still be having this conversation if YouTube somehow making a profit with ad blockers on, so fuck em.
Okay now I feel a little bad for blocking ads on twitch if their ads are reasonable. Maybe I should consider adding it as an exclusion?
It’s been years since I’ve used YouTube without Revanced, SponsorBlock, and uBlock Origin. The vanilla experience when I see it on other people’s devices horrifies me every single time.
Already switched to Firefox for work on linux and I’ll switch on my “entertainment” windows install as well soon… just need to find time to do the sync stuff
I was wondering why my fedora install took ages to shutdown sometimes and the little googling I did got me nothing. Do i hate systemd now?
This was so god damn good!