« Previous - Version 12/27 (diff) - Next » - Current version
Neels Hofmeyr, 12/16/2013 10:53 pm


HowTo

Setup gitolite

  • Send your SSH public key to one of the gitolite admins.
  • Setup your SSH config. Example:
    • Leave 'stsp_gitolite' as-is (we're using stsp's IN-Berlin account)
    • Change '/home/alice' to your home directory path
host oophone-gitolite
        user stsp_gitolite
        hostname git.user.in-berlin.de
        port 22
        identityfile /home/alice/.ssh/oophone
  • Test it:
$ ssh oophone-gitolite
PTY allocation request failed on channel 0
hello alice, the gitolite version here is 1.5.4-2+squeeze1 (Debian)
the gitolite config gives you the following access:
    @R @W    testing
    ...
    ...
Connection to git.user.in-berlin.de closed.
  • Clone repos:
$ git clone oophone-gitolite:<repo>

Edit Issue Description

  1. open issue
  2. click on "Update"
  3. search for "Change properties (More):", click on "More"
  4. coolness, you may now edit the description

Cope with Issue Quirks

If I remember this right, some of the https://redmine.user.in-berlin.de/projects/oophone/issues attributes can only be accessed by right-clicking the issue (not the link, but the remainder of the row) in the issue list.
In any case this is a faster way to change most issue attributes.

powers of 10 cheat

notation value symbol word(s) examples
1e0 (1) * 10 ^ (0) = 1 C/Python "e" notation, not to be confused with the base of the natural logarithm e used in RCL (resistor/capacitor/inductor) electronics calculations.
1e-12 0.000 000 000 001 p pico pF = picoFarad (capacitance)
1e-9 0.000 000 001 n nano nF
1e-6 0.000 001 µ micro µA or uA = microAmpere (current)
1e-3 0.001 m milli mA (current), mV = milliVolt (voltage)
...
1k5 1.5 kOhm = 1500 Ohm k = 1000 frequently used resistor value notation 4k7=4700 0k0=zero-Ohm-bridge=short-circuit
u1 0.1 µF = 100nF frequently used capacitor notation u33=330nF 1u=1.0µF
64k * 8 64 * 1024 * 8 bit = 64 kilobytes k = 1024 frequently used EEPROM memory size notation "512k = 64k * 8" actually means 64kb
5 mA 0.005 A current electrons flowing "the module is drawing 2 Ampere"
100 mAh 100 milliAmpereHours capacity 1 mA for 100 hours or 100 mA for one hour or ... "a 1600mAh battery"

kicad

KiCad auf Archlinux ist aus bzr-Revision 4017 gebaut worden. Als ich mit einem viel älteren KiCad schus Dateien öffnen wollte ... gings halt nicht. Deshalb hab ich jetzt KiCad neu gebaut. Und hat lang gebraucht bis ich's gerafft hab.

Deps:

apt-get install bzr bzrtools build-essential checkinstall cmake doxygen zlib1g-dev libglew-dev
apt-get install libgl1-mesa-dev libglu1-mesa-dev libglewmx-dev

wxWidgets selbst bauen (eigentlich sollte 'apt-get install libwxgtk2.8-dev' auch gehen, aber das findets irgendwie nicht oder was auch immer).

  • download wxGTK-2.8.12.tar.gz von sourceforge (z.B.)
    tar xzf Downloads/wxGTK-2.8.12.tar.gz
    cd wxGTK-2.8.12/
    
  • einen bescheuerten Fix einbringen weil auf debian libGL.so jetzt unter /usr/lib/<arch>/ liegt. Schau nach wo unter /usr/lib deine libGL.so installiert worden ist. Bei mir ist das '/usr/lib/x86_64-linux-gnu'. Diesen Pfad musst Du in das configure script schummeln. habs nicht geschafft via configure.in, einfach gleich in 'configure' rein :/
    • finde SEARCH_INCLUDE=
    • füge den obigen Pfad ein, z.B.
      $ cd wxGTK-2.8.12/
      $ vim configure
      [...]
      
      SEARCH_INCLUDE="\
          /usr/local/include        \
          /usr/local/X11/include    \
          /usr/local/include/X11    \
          /usr/local/X11R6/include  \
          /usr/local/include/X11R6  \
                                    \
          /usr/Motif-2.1/include    \
          /usr/Motif-1.2/include    \
          /usr/include/Motif1.2     \
                                    \
          /usr/dt/include           \
          /usr/openwin/include      \
                                    \
          /usr/include/Xm           \
                                    \
          /usr/X11R6/include        \
          /usr/X11R6.4/include      \
                                    \
          /usr/include/X11R6        \
                                    \
          /usr/X11/include          \
          /usr/include/X11          \
                                    \
          /usr/XFree86/include/X11  \
          /usr/pkg/include          \
                                    \
          /usr/local/X1R5/include  \
          /usr/local/include/X11R5  \
          /usr/X11R5/include        \
          /usr/include/X11R5        \
                                    \
          /usr/local/X11R4/include  \
          /usr/local/include/X11R4  \
          /usr/X11R4/include        \
          /usr/include/X11R4        \
                                    \
          /usr/include/x86_64-linux-gnu        \
                                    \
          /usr/openwin/share/include" 
      
  • wx bauen
      cd wxGTK-2.8.12/
    
      cd mkdir b
    
    sources: "1":http://www.kicad-pcb.org/display/DEV/Building+KiCad+on+Linux