C++ Einrückungsstil

November 18th, 2019


https://de.wikipedia.org/wiki/Einr%C3%BCckungsstil#Allman_/_BSD

Compute Shader Links

November 14th, 2019

http://antongerdelan.net/opengl/compute.html


https://github.com/capnramses/antons_opengl_tutorials_book

Doxygen-Format

Oktober 11th, 2019

https://justcheckingonall.wordpress.com/2008/07/29/simple-doxygen-templates

http://www.doxygen.nl

MinGW Home Folder / Windows Umgebungsvariable setzen

Oktober 9th, 2019

https://superuser.com/questions/1183044/how-can-i-change-my-mingw-msys-mintty-home-directory

Raspberry Pi

Oktober 1st, 2019

Gehäuse:

https://www.conrad.de/de/p/hammond-electronics-boxc-universal-gehaeuse-120-x-65-x-40-abs-lichtgrau-ral-7035-1-st-522615.html

https://www.tme.eu/de/details/hm-1595cbk/pultgehause/hammond/1595cbk/?brutto=1&gclid=EAIaIQobChMI9tnrt8j65AIVFud3Ch2zJAbXEAYYBCABEgJ_efD_BwE

XDO-Library zum Simulieren von Tastendrücken:

https://theembeddedlab.com/tutorials/simulate-keyboard-mouse-events-xdotool-raspberry-pi/

xdotool-Library:

https://gordonlesti.com/c-language-trigger-key-events-in-linux-with-xdo/

Activate Raspberry PI advanced OpenGL driver:

To activate this driver use the raspi-config program of the Raspbian distribution. Under “Advanced Options” -> “GL Driver” you can select the “GL (Full KMS)” option. It’s still somewhat experimental and the behavior might be slightly different compared to the older driver.

Raspberry PI LED Display

Juli 16th, 2019

https://rpi.science.uoit.ca/lab/ssdisplay1
http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_I2C.html

Run sudo raspi-config
Select yes when it asks you to enable I2C.
Also select yes if it asks about automatically loading the kernel module.
reboot

How to use 4-Digit 7-Segment Module on RaspberryPi

APK auf Android-Gerät installieren

Juni 19th, 2019

Android Geräte auflisten:

adb devices

Ausgabe (Beispiel):

List of devices attached
emulator-5554 device
XT011921 device

APK installieren:

adb -s [device] install [path]
adb -s emulator-5554 install appname.apk

INAPP-Kauf testen

  • In der Android-Console anmelden https://play.google.com/console
  • Unter Einrichten/Lizenztest Google-Mailadresse des eigenen Accounts hinzufügen
  • In Android Studio eine signierte APK-Datei erzeugen
  • Die App installieren (siehe oben)

Neural Networks Backpropagation

Juni 19th, 2019


Backpropagation example


How to train neural networks with-backpropagation


Backpropagation in C

LUbuntu: Desktop-Shortcut erzeugen

Juni 4th, 2019
lxshortcut -o ~/Schreibtisch/foo.desktop

GUID erzeugen (MinGW)

Mai 9th, 2019

#define APPGUID "XXXXXXXX-49DC-452D-BD0A-4318719DE9B9"
// mit uuidgen erzeugt

static bool TestAppRunning()
{
  bool r = false;

  #ifdef _WIN32
  CreateMutexA(NULL, TRUE, APPGUID)
  if (GetLastError() == ERROR_ALREADY_EXISTS)
  {
    r = true;
  }
  #endif
  return r;
}