Oliver Salzburg's user avatar
Oliver Salzburg's user avatar
Oliver Salzburg's user avatar
Oliver Salzburg
  • Member for 13 years, 10 months
  • Last seen more than 3 years ago
Stats
87,409
reputation
58k
reached
254
answers
32
questions
Loading…
About

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.

2
gold badges
48
silver badges
84
bronze badges
946
Score
191
Posts
67
Posts %
310
Score
81
Posts
28
Posts %
181
Score
68
Posts
24
Posts %
111
Score
39
Posts
14
Posts %
91
Score
22
Posts
8
Posts %
89
Score
25
Posts
9
Posts %
Top posts
View all questions and answers
question
39
Jun 26, 2014
question
34
Jun 24, 2014
answer
30
Sep 26, 2013
question
27
Oct 10, 2014
question
24
Oct 21, 2014
question
19
Oct 23, 2014