Differences between revisions 155 and 156
Revision 155 as of 2013-11-23 20:52:17
Size: 2386
Editor: HolgerLevsen
Comment: First things first.
Revision 156 as of 2013-11-24 07:59:04
Size: 2418
Editor: HolgerLevsen
Comment: add video.d.n
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 * [[http://video.debian.net]]

Contents

example stuff I do or did

usertags

more random stuff

  • :zi in vim: disable folding
  • vim: revert undo / redo: ctrl-r
  • screen: always start with -S name
  • dpkg --compare-versions 0.79-3.2~holger1 lt 0.79-3.2 ; echo $?
  • To put a package on hold: echo pkgname hold | dpkg --set-selections
  • To remove the hold: echo pkgname install | dpkg --set-selections
  • echo 'Acquire::PDiffs "false";' > /etc/apt/apt.conf.d/99pdiff

  • netcat for dummies:
    • on host1: cat file | nc $host2 6666
    • on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c

  • ssh qa.debian.org /org/qa.debian.org/mia/mia-query fubar@email
  • give back a package to rebuild it: <zobel> mail the buildd "retry" in body with the correct subject iin the mail, that usually means, just preply to the build log (and send the mail to buildd@foo)

  • svn propset svn:executable ON $file
  • svn propedit svn:ignore .
  • svn diff -r BASE:HEAD

  • openoffice.org: in menu -> format -> autoformat -> while entering (während der eingabe)

  • reporting kernel bugs: reportbug linux-image-$(uname -r)
  • compare ssh-fingerprint with the one in known_hosts: ssh-keygen -l -f .ssh/known_hosts|grep $HOSTNAME

  • the same but different ssh-keygen -l -f /etc/ssh/ssh_known_hosts | grep 

  • press ~. to interrupt a ssh connection which has died

  • svn, knowing the diff before updating:  svn diff --revision HEAD 

  •  git-import-orig --upstream-branch=master --no-merge --pristine-tar ../piuparts_0.42.tar.gz

  • HolgerLevsen/OldStuff