User:Smay4finger: Difference between revisions

From Attraktor Wiki
Jump to navigation Jump to search
Smay4finger (talk | contribs)
Smay4finger (talk | contribs)
Blanked the page
Line 1: Line 1:


== About me ==
[[File:76001 318186104966806 1026016756 n.jpg|200px]]
MAIL: [mailto:stefan@attraktor.org stefan@attraktor.org]
XMPP: [mailto:stefan@makerspace.hamburg stefan@makerspace.hamburg]
=== X-Application in full screen on Raspberry Pi / BeagleBone Black/White ===
/usr/bin/xinit $PROGRAM -- -dpms -s 0 -nocursor
Options ''-dpms'' and ''-s 0'' turn off screen saver, option ''-nocursor'' hides the mouse cursor.
=== Thinkpad T560 / T460 mit Linux ===
Für Stromsparen die folgenden Pakete installieren:
apt install tlp acpi-call-dkms
In /etc/default/tlp die Variablen START_CHARGE_THRESH_BATx und STOP_CHARGE_THRESH_BATx setzen
=== Powerline Shell Prompt ===
sudo apt -y install powerline
systemctl --user enable powerline-daemon.service
mkdir -p ~/.config/powerline/themes/shell
cat >~/.config/powerline/themes/shell/smay4finger.json <<EOF
{
  "segments": {
    "left": [
      {
        "function": "powerline.segments.common.net.hostname",
        "priority": 10
      },
      {
        "function": "powerline.segments.common.env.user",
        "priority": 30
      },
      {
        "function": "powerline.segments.common.env.virtualenv",
        "priority": 50
      },
      {
        "function": "powerline.segments.shell.cwd",
        "priority": 10
      },
      {
        "function": "powerline.segments.common.vcs.branch",
        "args": { "status_colors": true },
        "priority": 40
      },
      {
        "function": "powerline.segments.shell.jobnum",
        "priority": 20
      }
    ]
  }
}
EOF
cat >~/.config/powerline/config.json <<EOF
{
  "common": {
    "term_truecolor": false
  },
  "ext": {
    "ipython": {
      "colorscheme": "default",
      "theme": "in",
      "local_themes": {
        "rewrite": "rewrite",
        "out": "out",
        "in2": "in2"
      }
    },
    "shell": {
      "colorscheme": "default",
      "theme": "smay4finger",
      "local_themes": {
        "continuation": "continuation",
        "select": "select"
      }
    },
    "tmux": {
      "colorscheme": "default",
      "theme": "default"
    }
  }
}
EOF
cat >>~/.bashrc <<EOF
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
EOF
=== Info-Beamer mit systemd ===
<pre>
[Unit]
Description=Info-Beamer
After=network.target
[Service]
ExecStart=/usr/local/bin/info-beamer /home/pi/info-beamer/active
Restart=on-failure
[Install]
WantedBy=multi-user.target
</pre>
=== SocketCAN ===
Virtueller Bus:
  sudo modprobe vcan
  sudo ip link add dev vcan0 type vcan
  sudo ip link set up vcan0
=== Linksammlung ===
* [http://physicus.free.fr/observatoire/presentation.php Geo-Magnetometer]
* [http://wp.boim.com/?p=94 Calibration tools for Delta 3D printers]
=== Eagle nach G-Code ===
* pcb2gcode
sudo aptitude install build-essential autoconf libtool gerbv libboost-dev libboost-program-options-dev libglibmm-2.4-dev libgtkmm-2.4-dev
git clone https://github.com/pcb2gcode/pcb2gcode.git
cd pcb2gcode
autoreconf
./configure
make
Vorsicht, pcb2gcode rechnet alles in Inches!
==== Script zur Erstellung von GCode aus Eagle-Files [[media:pcbcam.gz]] ====
Das Skript erzeugt aus einem Eagle-Board-File (Endung .brd) mehrere G-Code-Files und Postscript-Files für die Erstellung der Lötstoppmaske. Die erzeugten Dateien sind im Einzelnen:
; back.ngc : Lötseite
; front.ngc : Bestückungsseite
; outline.ngc : Ausfräsung der Platine
; drill.ngc : Bohrungen
; back_stop.ps : Lötstoppmaske Lötseite
; front_stop.ps : Lötstoppmaske Bestückungsseite
= Spielen =
- {{Calendar-iCal}}
= Alles =
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}

Revision as of 09:18, 4 April 2024