Differences between revisions 156 and 157
Revision 156 as of 2013-11-24 07:59:04
Size: 2418
Editor: HolgerLevsen
Comment: add video.d.n
Revision 157 as of 2014-08-02 22:25:50
Size: 2509
Editor: HolgerLevsen
Comment: thanks Gregor for the tipp
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
 * check dep5 copyright files: cme check dpkg-copyright (needs libconfig-model-dpkg-perl)


example stuff I do or did


more random stuff

  • check dep5 copyright files: cme check dpkg-copyright (needs libconfig-model-dpkg-perl)
  • :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