https://de.wikipedia.org/wiki/Einr%C3%BCckungsstil#Allman_/_BSD
C++ Einrückungsstil
November 18th, 2019Compute Shader Links
November 14th, 2019Doxygen-Format
Oktober 11th, 2019MinGW Home Folder / Windows Umgebungsvariable setzen
Oktober 9th, 2019Raspberry Pi
Oktober 1st, 2019Gehäuse:
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, 2019https://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
APK auf Android-Gerät installieren
Juni 19th, 2019Android 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, 2019LUbuntu: Desktop-Shortcut erzeugen
Juni 4th, 2019lxshortcut -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;
}