David Vanderhaeghe

  • home
  • Publications
  • Teaching
  • stuff
  • code
  • Creations
  • Links
  • Magic rebase and (re-) format

    2021-03-08

    If you like clean coherent formatted code, you may already use something like clang-format and git hook to ensure format when commit

    [read more]


    Category bash, Programming, script
    Tags bash, clang-format, git, rebase

  • Turning crazy with sound

    2020-10-14

    UPDATE: problem is still preset … still trying to find what is going on. After a recent update on my debian workstation, I had spurious sound volume changes, only with line out, no matter my usb headset either plug in or out (but when I listen with the usb headset, there was no problem). I […]

    [read more]


    Category bash, Computer, script
    Tags acpi, alsa, change, debian, pulseaudio, sound, volume

  • Useful git commands and tips.

    2019-07-11

    Links or onliners that save my git life Split a commit in two : interactive rebase, edit the commit of interest, reset HEAD^, recommit in as many splits as you want, git rebase –continue

    [read more]


    Category Programming, script
    Tags git, links, oneliner

  • Find duplicated files

    2015-11-21

    check md5 between similarly named file (toto.ext and toto 2.ext)

    [read more]


    Category bash, script

  • Cleanup hardlink from a backup with hardlink (rsync like)

    2014-06-29

    Here is a small script to remove hard link of a rsync based backup, by days. I have use it to cleanup my backup and find when different version of file have been created. find . -type d > dir_list0 # my dir list is of the form ./2010/07/22/home cat dir_list0 | cut -f1-5 -d/ […]

    [read more]


    Category bash, script

  • My one line usefull commands

    2013-10-09

    convert png file, keeping full color (either convert will reduce color space to 1bit our colormap) if it do not loose anything Apply convert @ -crop 600×580+100+0 -gravity Center -auto-level -define png:format=png32 output/@ to * Copy a webpage for local viewing, recursive but not the entire www 😉 wget -r -k -Dhost.com http://www.host.com/webpage ubuntu package […]

    [read more]


    Category bash, script
    Tags bash, imageMagick

  • Install non-free latex fonts

    2011-06-06

    sudo getnonfreefonts-sys –all It includes luximono (and luximono.sty) for latex, a nice fixedwidth font with all typeface included (blod, italics) I use this one for listings (lstlistings, algorithmic etc …) And now for something completly different : Install ms font in linux : sudo apt-get install msttcorefonts ttf-ms-fonts sudo fc-cache -f -v

    [read more]


    Category LaTeX, script
    Tags latex

  • bash wildcard

    2011-05-02

    note to me : ls *.{h,cpp} more complete ref http://www.tuxfiles.org/linuxhelp/wildcards.html

    [read more]


    Category bash, script

  • Create a pdf preview (for paper page)

    2011-05-02

    Here is how I create a nice png paper preview from pdf, with ImageMagick 6.6.2  In a small shell script file And here is the result :

    [read more]


    Category gfx, script

Categories

  • bash (8)
  • Computer (2)
  • Computer Graphics (6)
  • gfx (1)
  • LaTeX (4)
  • Life (4)
  • news (1)
  • OpenGL (3)
  • Programming (6)
  • Proposal (jobs, internship, project) (3)
  • Research (3)
  • script (9)
  • Uncategorized (15)
  • Wordpress (1)
  • writing (1)

Tags

acpi alsa animation anr-structures bash c++ change clang-format cmake code computer graphics debian gcc git imageMagick install intership job keyboard latex ld linux macosx maxosx OpenGL pdf programming pulseaudio qt Radium-Engine rebase rendering shortcut sound sujet de stage teaching three.js touch typing ubuntu volume

Archives

  • September 2023
  • May 2023
  • February 2023
  • January 2023
  • February 2022
  • March 2021
  • October 2020
  • July 2019
  • June 2019
  • January 2019
  • December 2017
  • October 2017
  • December 2016
  • November 2016
  • September 2016
  • November 2015
  • September 2014
  • June 2014
  • November 2013
  • October 2013
  • October 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • June 2011
  • May 2011
Next Page

-= last modif [

2023-09-08

], created [

2021-03-08

] =-