Recent submissions

Comment · 1 year ago
Have you tried what you're recommending without an ad block extension recently?
Comment · 1 year ago

  install_firefox() {
      source /etc/os-release
      printf "Package: snapd
  Pin: release a=\*
  Pin-Priority: -10" | sudo tee -a /etc/apt/preferences.d/nosnap.pref
      sudo add-apt-repository -y ppa:mozillateam/ppa
      sudo apt update -y
      sudo apt install -y -t 'o=LP-PPA-mozillateam' firefox
      printf "%s" "Unattended-Upgrade::Allowed-Origins:: \"LP-PPA-mozillateam:${UBUNTU_CODENAME}\";" | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox
      printf "Package: firefox\*
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 501" | sudo tee /etc/apt/preferences.d/mozillateamppa
  }

  remove_snaps() {
      sudo snap remove --purge firefox
      sudo snap remove --purge snap-store
      sudo snap remove --purge gnome-3-38-2004
      sudo snap remove --purge gtk-common-themes
      sudo snap remove --purge snapd-desktop-integration
      sudo snap remove --purge bare
      sudo snap remove --purge core20
      sudo snap remove --purge snapd
      sudo apt remove --autoremove snapd -y
  
      cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref
  # To prevent repository packages from triggering the installation of Snap,
  # this file forbids snapd from being installed by APT.
  # For more information: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html
  
  Package: snapd
  Pin: release a=*
  Pin-Priority: -10
  EOF
      sudo umount /var/snap
  }
Comment · 3 years ago
Perhaps they'll change the acronym
Comment · 3 years ago
How much more often does injury from police happen than kidnapping?
Comment · 3 years ago
It's a book by Chomsky, are you sure you did? His name and face are on page 1
Comment · 3 years ago
Please open the link.
Comment · 3 years ago
Why do that when there is pacstrap?
Comment · 3 years ago
I was surprised to learn the extent of what is a valid local-part (something+else in your example) of an email. Can have two dots in sequence if the local-part is quoted, and support for non alphanumeric characters like !#$%&'*+-/=?^_`{|}~; if the local-part is quoted, comments with parentheses. And it could be case sensitive.
Comment · 3 years ago
In that case, doesn't your password manager support TOTP?
Comment · 3 years ago
Caffeine naps are awesome, you just have to fall asleep before the caffeine wakes you up, but you wake up caffeinated. If I do it too tired though, I can sleep past my alarm, caffeine won't necessarily wake me up from a sleep, but will make me feel very groggy if I don't wake up before it's peak is passed.
Comment · 3 years ago
Source for executing files with cat? That certainly defies my understand of how cat works.
Comment · 3 years ago
Maybe it's anthropomorphic but I like hallucinations because it reminds me of the DeepDream psychedelic generator
Comment · 3 years ago
Supported in what sense? I meant that you could pay Ubuntu for support beyond it being pre-baked into the distro, which seems rare if not exclusive to Ubuntu.
Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton