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
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
don’t forget to install gti
I 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
A JavaScript VM in the kernel is inevitable.
not by any means modern, but I used to really like pal
More than that, your editor doesn’t run with root permissions, which reduces the risk of accidentally overwriting something you didn’t mean to.
it 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.
I 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
Definitely not what you’re talking about, but still: https://www.destroyallsoftware.com/talks/a-whole-new-world
The 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.
Your 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.