1,248
reputation
1
13
27

Der Hochstapler

Never forget:

  • :w !sudo tee %
    Save a file in vim when you neglected to open the file with sudo but already made changes you don't want to lose.

  • Ctrl+X,*
    Evaluate globbing on your current input on the bash command line.

  • postfix flush
    Pump out the postfix queue on your backup MX after you've fixed the issue with your primary MX.

  • git tag -l | xargs -n 1 git push --delete origin; git tag | xargs git tag -d
    Delete all tags from a git repo - remotely and locally.

  • sudo apt-get purge $(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c=$(uname -r | cut -d- -f1,2); done)
    Delete old kernels

  • https://signup.microsoft.com/productkeystart
    Register new Office 365 product keys for an existing tenant.

13
answers
5
questions
~55k
people reached
  • Member for 7 years, 10 months
  • 83 profile views
  • Last seen Jun 10 at 23:05

Top tags (6)

Score 33
Posts 3
Posts % 17
Score 32
Posts 11
Score 3
Posts 2
Score 3
Posts 1
Score 1
Posts 1
Score 0
Posts 1

Top posts (18) All Questions Answers | Votes Newest

View all questions and answers

Badges (41)

Gold

1

Rarest

Silver

13

Rarest

Bronze

27

Rarest