both mobile and desktop have the plaintext notes in a sqlite db. they’re “easy enough” to export if you’re bailing on the app, but not to regularly switch between two different apps
- 0 Posts
- 18 Comments
vvv@programming.devto Linux@lemmy.ml•Accidentally typed 'sl' instead of 'ls'? Install this and get a steam locomotive to run across your terminal.7·5 months agodon’t forget to install gti
vvv@programming.devto Linux@lemmy.ml•WhatsApp running through android-translation-layer (no container!) on Linux desktop1·8 months agoI think you can link a second Whatsapp app, similar to the web client. your primary one needs a webcam to read the QR code though
vvv@programming.devto Linux@lemmy.ml•Linus Torvalds muses about maintainer gray hairs and the next 'King of Linux'141·9 months agoA JavaScript VM in the kernel is inevitable.
not by any means modern, but I used to really like pal
vvv@programming.devto Linux@lemmy.ml•I Just Removed Ubuntu for Archcraft and my Linux PC Looks Awesome!11·11 months agoMore than that, your editor doesn’t run with root permissions, which reduces the risk of accidentally overwriting something you didn’t mean to.
vvv@programming.devto Linux@lemmy.ml•Framework looking for unpaid workers to be 'Linux Community Ambassadors'191·11 months agoit feels to me, like they’re less looking for new people to start doing this “work”, but more to connect with people who already happen to be enthusiastically going to events and showing off their laptops.
vvv@programming.devto Linux@lemmy.ml•Thoughts, tips, and customization of fzf for old-school CLI enjoyers?4·1 year agoI use these two vim plugins for the same functionality without leaving $EDITOR:
I’ve also started dabbling with using fzf in scripts for the team to use. Don’t sleep on the
--query
and--select-1
flags!
is that more or less cursed than
cat image.img > /dev/whatever
?
dd if=image.img of=/dev/disk/flashdrive
is usually all you need
vvv@programming.devto Linux@lemmy.ml•Anyone remember this one video of a guy designing a new command line shell?6·1 year agoDefinitely not what you’re talking about, but still: https://www.destroyallsoftware.com/talks/a-whole-new-world
vvv@programming.devto Open Source@lemmy.ml•How is everyone handling the 2FA requirement for GitHub?71·1 year agoThe two factors at an ATM are possession of your bank card + knowledge of your pin. (it also takes your photo, for good measure)
GitHub will happily accept a smart card or whatever, if an extra plastic rectangle jives with you more than an OTP generator.
vvv@programming.devto Open Source@lemmy.ml•How is everyone handling the 2FA requirement for GitHub?7·1 year agoYour two factors shift to possession of your password vault + knowledge of the password to it. You’re okay IMO.
You also still get the anti-replay benefits of the OTPs, though that might be a bit moot with TLS everywhere.
grep -r
exists and is even more faster and doesn’t require passing around file names.grep -r --include='*.txt' 'somename' .
Better than that, git config supports conditional includes, based on a repo URL or path on disk. So you can have a gitconfig per organization or whatever, which specifies an sshCommand and thus an ssh key.
I didn’t like the random blinking and glitchiness the screen did as it changed resolutions. Most OSes, if you notice, do a little fade out and in but I was too lazy to make it gradual.
I have a stupid little script for this:
#!/bin/sh setres() { output=$1 width=$2 height=$3 xrandr --output $output --brightness 0 --auto xrandr --delmode $output better xrandr --rmmode better xrandr --newmode better $(cvt $width $height | tail -n1 | cut -d'"' -f3) xrandr --addmode $output better xrandr --output $output --brightness 1 --mode better } setres "$@"
The
&
is an indicator to most shells to run this command in “the background”. Try and run( sleep 10; echo hi ) &
- you’ll see you get your shell prompt back, where you can run more commands, but 10 second later you’ll see that ‘hi’ come through. ‘blocking’ is the default behavior, if you don’t add the&
you’re still going get the hi in ten seconds, but you don’t get a prompt because your shell’s execution is blocked until your command is done.The doc here is indicating that you havea choice between
autostart_blocking.sh
andautostart.sh
, the latter of which would be run with a&
. They could have expressed this better.As for why your script didn’t work, I’d try executing it in a terminal to see what error message comes up.