[-] [email protected] 57 points 1 month ago

grep -r exists and is even more faster and doesn't require passing around file names.

grep -r --include='*.txt' 'somename' .
[-] [email protected] 5 points 1 month ago

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.

[-] [email protected] 8 points 1 month ago

The password to my password manager: a few randomly chosen words that will definitely just sound like nonsense dementia-talk probably.

[-] [email protected] 11 points 1 month ago

Geocaching is free and usually lots of fun in cities. It's like a big database of dead drops - people hide small containers with pieces of paper to sign, and post their GPS coordinates online. Frequently they're hidden near points if interest, as well so you might find some cool shops or bars as a side effect.

[-] [email protected] 3 points 2 months ago

Once you have your list, check out fdroidcl so you can get it all installed from your laptop via adb

[-] [email protected] 1 points 3 months ago

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.

[-] [email protected] 0 points 3 months ago

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 "$@"

view more: ‹ prev next ›

vvv

joined 1 year ago